.home-redesign {
  --navy: #112447;
  --red: #ba2940;
  --blue: #2859dc;
  --muted: #52617a;
  color: var(--navy);
  background: white;
  overflow: clip;
}
.home-redesign .icon {
  width: 18px;
  height: 18px;
}
.patriot-hero {
  background: linear-gradient(180deg, #fff 0%, #fff 60%, #eef2f9 100%);
  padding-bottom: 24px;
}
.hero-rule {
  height: 5px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  margin: 0 4%;
}
.hero-rule span:nth-child(1) {
  background: var(--navy);
}
.hero-rule span:nth-child(2) {
  background: #eee;
}
.hero-rule span:nth-child(3) {
  background: var(--red);
}
.hero-copy {
  padding-top: 66px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0 0 28px;
}
.flag-mark {
  width: 29px;
  height: 21px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  position: relative;
}
.flag-mark i {
  background: var(--red);
}
.flag-mark i:nth-child(2) {
  background: white;
}
.flag-mark:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 13px;
  background: var(--navy);
}
.vc .home-redesign h1 {
  font-size: clamp(48px, 6.7vw, 98px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.04;
  max-width: 1100px;
  margin: 0;
  color: var(--navy);
}
.title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 8px;
}
.title-mask > span {
  display: block;
  animation: title-arrive 1000ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.title-mask:nth-child(2) > span {
  animation-delay: 110ms;
}
.home-redesign h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 25px;
}
.hero-bottom > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 470px;
  color: var(--muted);
}
.hero-bottom .cta-row {
  flex-wrap: wrap;
  margin: 0;
  gap: 18px;
}
.home-redesign .btn.primary {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow:
    0 2px 3px #11244718,
    0 7px 18px #11244712;
  color: #fff;
}
.home-redesign .btn.primary:hover {
  background: #203e72;
  border-color: #203e72;
}
.home-redesign .btn {
  transition:
    transform 160ms cubic-bezier(0.16, 1, 0.3, 1),
    background 300ms cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 49px;
}
.hero-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.hero-demo-link .icon,
.story-copy a .icon,
.brief-story a .icon {
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-demo-link:hover .icon,
.story-copy a:hover .icon,
.brief-story a:hover .icon {
  transform: translateX(5px);
}
.hero-footnote {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}
.product-scene {
  margin-top: 55px;
  perspective: 1800px;
}
.scene-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.09em;
  gap: 15px;
  color: var(--muted);
  margin-bottom: 14px;
}
.scene-heading p {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  font-weight: 700;
  color: var(--navy);
}
.red-marker {
  width: 6px;
  height: 6px;
  background: var(--red);
}
.product-stage {
  border: 1px solid #cbd5e6;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 2px 3px #11244708,
    0 15px 36px #11244715,
    0 45px 80px -40px #11244744;
  transform: rotateX(var(--stage-tilt, 0deg));
  transform-origin: 50% 0;
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  gap: 16px;
  border-bottom: 1px solid #dce2ee;
  background: #fff;
}
.preview-brand {
  font-size: 25px;
  font-weight: 750;
  display: flex;
  align-items: center;
}
.preview-brand > span {
  color: var(--red);
}
.preview-brand small {
  font-size: 9px;
  letter-spacing: 0.12em;
  border-left: 1px solid #ddd;
  margin-left: 20px;
  padding-left: 20px;
  font-weight: 600;
}
.preview-tabs {
  display: flex;
  gap: 5px;
}
.preview-tabs button {
  display: flex;
  gap: 8px;
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 11px 15px;
  border-radius: 6px;
  font:
    600 12px "DM Sans",
    sans-serif;
  cursor: pointer;
  /* Keep text/background contrast stable during selection; animate the preview instead. */
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}
.preview-tabs button:not([aria-selected="true"]):hover {
  background: #eef2f9;
}
#product-panel {
  background: #f5f7fa;
  overflow: hidden;
}
#product-image {
  width: 100%;
  height: auto;
  display: block;
}
.preview-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 24px;
  border-top: 1px solid #dce2ee;
  gap: 20px;
}
.preview-bottom p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.preview-bottom a {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  white-space: nowrap;
  color: var(--navy);
  text-decoration: none;
}
.scene-caption {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 12px;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.purpose-band {
  background: var(--navy);
  color: white;
  padding: 76px 0;
  position: relative;
  border-bottom: 6px solid var(--red);
}
.purpose-band:before {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--red);
  display: block;
  margin: 0 0 27px max(4%, calc((100% - 1280px) / 2));
}
.purpose-band .kicker {
  color: #bac9e5;
}
.vc .purpose-band h2 {
  font-size: clamp(28px, 3.6vw, 49px);
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 21px 0;
}
.purpose-band h2 span {
  color: #b4c8f2;
}
.purpose-band p:last-child {
  color: #c3cee1;
  line-height: 1.85;
  font-size: 14px;
}
.preparation-story {
  padding-top: 110px;
  padding-bottom: 90px;
}
.story-heading .kicker {
  color: var(--red);
}
.vc .story-heading h2 {
  font-size: clamp(34px, 4.3vw, 62px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 20px 0 30px;
}
.story-heading h2 span {
  color: var(--blue);
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 65px 0;
  border-bottom: 1px solid #dae0eb;
}
.story-row.reverse .story-copy {
  order: 2;
}
.chapter {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 24px;
}
.vc .story-copy h3,
.vc .brief-story h3 {
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.16;
  color: var(--navy);
  margin: 0 0 24px;
}
.story-copy > p,
.brief-story > div > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.story-copy p.story-caveat,
.brief-story p.story-caveat {
  font-size: 12px;
  color: #5d6880;
  line-height: 1.7;
}
.story-copy a,
.brief-story a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 8px;
  margin-top: 15px;
}
.evidence-visual {
  background: #edf1f8;
  padding: 44px 44px 23px;
  border-radius: 10px;
  overflow: hidden;
}
.paper-tab {
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 14px 19px;
  background: var(--navy);
  color: #fff;
  width: 90%;
  border-radius: 8px 8px 0 0;
}
.paper-card {
  position: relative;
  transform: rotate(-2deg);
  padding: 30px;
  background: #fff;
  box-shadow:
    0 2px 5px #1425490b,
    0 20px 35px #14254919;
  border: 1px solid #dfe5ef;
  border-radius: 3px;
}
.paper-number {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  margin: 0 0 17px;
}
.paper-card h4 {
  font-size: 23px;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 15px;
}
.paper-card > p:not(.paper-number) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.paper-divider {
  height: 1px;
  background: #dfe5ef;
  margin: 22px 0;
}
.note-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #93223a;
  background: #fbeef1;
  border: 1px solid #f1d2da;
  border-radius: 4px;
  padding: 6px 9px;
}
.paper-card .hand-note {
  font-size: 11px;
  margin-top: 22px;
}
.hand-note strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
  color: var(--navy);
}
.visual-caption {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.02em;
  margin-top: 27px;
  color: var(--muted);
}
.calendar-visual {
  border: 1px solid #d9e0eb;
  border-radius: 10px;
  padding: 35px 40px;
  background: #fff;
  box-shadow:
    0 3px 7px #12254807,
    0 25px 45px -22px #12254824;
  position: relative;
  overflow: hidden;
}
.calendar-visual:before {
  content: "";
  height: 5px;
  background: var(--red);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.calendar-date {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 25px 0;
}
.calendar-date strong {
  font-size: 112px;
  line-height: 1;
  font-weight: 450;
  letter-spacing: -0.09em;
}
.calendar-date > span {
  font-size: 17px;
  line-height: 1.6;
  color: var(--red);
  font-weight: 600;
}
.calendar-line {
  height: 1px;
  background: #dce2ee;
  transform-origin: left;
}
.calendar-visual h4 {
  font-size: 24px;
  margin: 25px 0 10px;
  letter-spacing: -0.04em;
}
.calendar-visual p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.calendar-bottom {
  border-top: 1px solid #dce2ee;
  padding-top: 20px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.brief-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  padding: 70px 0 0;
  align-items: center;
  overflow: hidden;
}
.brief-window {
  border: 1px solid #d7dfec;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px -18px #11244725;
  transform: rotate(2deg);
  margin: 15px;
}
.brief-window-label {
  padding: 15px 20px;
  background: var(--navy);
  color: white;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.brief-window img {
  display: block;
  width: 100%;
  height: auto;
}
.home-redesign .checker-section {
  border-top: 1px solid #dce2ee;
}
.home-redesign .v2-close {
  border-top: 4px solid var(--red);
  background: #f1f4fa;
}
.home-redesign [data-reveal].motion-ready .paper-card {
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotate(4deg) translateX(16px);
}
.home-redesign [data-reveal].in-view .paper-card {
  transform: rotate(-2deg) translateX(0);
}
.home-redesign [data-reveal].motion-ready .calendar-line {
  transform: scaleX(0.15);
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}
.home-redesign [data-reveal].in-view .calendar-line {
  transform: scaleX(1);
}
.home-redesign [data-reveal].motion-ready .brief-window {
  transform: rotate(5deg) translateX(25px);
  transition: transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}
.home-redesign [data-reveal].in-view .brief-window {
  transform: rotate(2deg) translateX(0);
}
@keyframes title-arrive {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}
.vc .home-redesign .product-scene {
  margin-top: 50px;
}
.vc .home-redesign .hero-footnote {
  margin-top: 14px;
  margin-bottom: 0;
}
.purpose-band .container {
  position: relative;
}
.purpose-band .container:after {
  content: "";
  display: block;
  width: 130px;
  height: 2px;
  background: #b4c8f2;
  margin-top: 28px;
  transform-origin: left;
  transform: scaleX(0.2);
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}
.purpose-band.in-view .container:after {
  transform: scaleX(1);
}
@media (min-width: 1500px) {
  .hero-copy {
    padding-top: 85px;
  }
}
@media (max-width: 1000px) {
  .hero-bottom {
    gap: 30px;
  }
  .preview-brand small {
    display: none;
  }
  .story-row {
    gap: 45px;
  }
  .evidence-visual {
    padding: 28px;
  }
  .brief-story {
    gap: 25px;
  }
  .hero-bottom .cta-row {
    gap: 13px;
  }
  .hero-demo-link {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .hero-copy {
    padding-top: 42px;
  }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .vc .home-redesign h1 {
    font-size: clamp(40px, 8.6vw, 60px);
    letter-spacing: -0.05em;
  }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 17px;
  }
  .hero-bottom > p {
    font-size: 15px;
    line-height: 1.8;
  }
  .hero-bottom .cta-row {
    gap: 18px;
  }
  .hero-footnote {
    font-size: 10px;
  }
  .product-scene {
    margin-top: 35px;
  }
  .scene-heading {
    font-size: 8px;
    align-items: flex-start;
  }
  .scene-heading > span {
    max-width: 104px;
    line-height: 1.7;
    text-align: right;
  }
  .preview-toolbar {
    padding: 12px 10px;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
  .preview-brand {
    font-size: 20px;
  }
  .preview-brand small {
    display: block;
    font-size: 7px;
    margin-left: 12px;
    padding-left: 12px;
  }
  .preview-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }
  .preview-tabs button {
    padding: 10px 8px;
    font-size: 11px;
    gap: 5px;
    min-height: 44px;
  }
  .preview-tabs .icon {
    width: 14px;
    height: 14px;
  }
  .preview-bottom {
    padding: 13px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .preview-bottom p {
    font-size: 11px;
    line-height: 1.6;
  }
  .preview-bottom a {
    font-size: 11px;
    min-height: 30px;
  }
  .scene-caption {
    font-size: 7px;
    letter-spacing: 0.05em;
    padding-top: 20px;
  }
  .purpose-band {
    padding: 50px 0;
  }
  .purpose-band .kicker {
    font-size: 9px;
  }
  .purpose-band h2 {
    font-size: 30px;
  }
  .preparation-story {
    padding-top: 60px;
    padding-bottom: 50px;
  }
  .story-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .story-row.reverse .story-copy {
    order: 0;
  }
  .story-copy > p {
    font-size: 15px;
  }
  .evidence-visual {
    padding: 28px 28px 18px;
  }
  .paper-card {
    padding: 25px;
  }
  .calendar-visual {
    padding: 28px;
  }
  .brief-story {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 40px;
  }
  .brief-window {
    margin: 8px;
  }
  .home-redesign .checker-section {
    padding-top: 55px;
  }
  .home-redesign .v2-close {
    padding: 38px 25px;
  }
  .home-redesign .v2-close h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-redesign *,
  .home-redesign *:before,
  .home-redesign *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .home-redesign .title-mask > span,
  .home-redesign .product-stage,
  .home-redesign .paper-card,
  .home-redesign .brief-window,
  .home-redesign .calendar-line {
    transform: none !important;
  }
}

/* Keep the current product preview crisp, calm, and usable at every width. */
.home-redesign .product-stage { transform: none; border-radius: 18px; }
.home-redesign .preview-toolbar { background: #f8faff; }
.home-redesign .preview-tabs { padding: 4px; background: #eaf0f8; border-radius: 10px; }
.home-redesign .preview-tabs button { border-radius: 7px; min-height: 44px; }
.home-redesign #product-panel picture { display: block; }
@media (max-width: 700px) {
  .home-redesign .preview-tabs { box-sizing: border-box; flex-wrap: wrap; }
  .home-redesign .preview-tabs button { justify-content: center; flex: 1 1 40%; }
  .home-redesign .preview-toolbar { padding: 14px; gap: 12px; }
}
