:root {
  --navy: #0a2742;
  --navy-deep: #061827;
  --green: #08783f;
  --green-dark: #045e31;
  --gold: #d9af45;
  --red: #d84435;
  --blue: #2878c7;
  --ink: #14202a;
  --muted: #5a6873;
  --surface: #f4f6f7;
  --line: #d8e0e5;
  --white: #ffffff;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.preview-bar {
  min-height: 30px;
  padding: 7px 16px;
  color: var(--white);
  background: var(--red);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.preview-bar[hidden] {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  color: var(--white);
  background: rgba(6, 24, 39, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  width: max-content;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 0.9;
}

.brand span,
.footer-brand span {
  font-size: 11px;
  font-weight: 600;
}

.brand strong,
.footer-brand strong {
  font-size: 18px;
}

.site-header nav {
  display: flex;
  gap: 30px;
}

.site-header nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover {
  color: #9fd3b4;
}

.cart-button {
  justify-self: end;
  min-width: 78px;
  height: 40px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  color: var(--navy-deep);
  background: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 27, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 92vw);
  padding: 0 0 8vh 6vw;
}

.eyebrow {
  margin: 0 0 14px;
  color: #bde4cb;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-price strong {
  font-size: 30px;
}

.hero-price span {
  color: #d7e4eb;
  font-size: 14px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-button {
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}

.primary-button:hover {
  background: var(--green-dark);
}

.secondary-link {
  color: var(--white);
  font-weight: 750;
  text-underline-offset: 5px;
}

.independent-note {
  margin-top: 18px;
  color: #d2dce3;
  font-size: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.25);
}

.trust-strip div {
  min-height: 92px;
  padding: 22px 4vw;
  background: var(--navy);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
}

.trust-strip span {
  color: #cbd8e0;
  font-size: 13px;
}

.product-story {
  padding: 100px 5vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.section-heading > p:last-child,
.purchase-heading > p:last-child,
.auth-copy > p,
.feature-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: 6px;
}

.product-gallery .gallery-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.product-gallery figure:not(.gallery-main) {
  aspect-ratio: 1 / 1;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 720px;
  color: var(--white);
  background: var(--navy-deep);
}

.feature-copy {
  align-self: center;
  padding: 8vw;
}

.feature-copy h2 {
  max-width: 520px;
}

.feature-copy ul {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-copy li span {
  color: #cbd8e0;
  line-height: 1.5;
}

.feature-image {
  min-height: 600px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authenticity {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  background: var(--surface);
}

.auth-image {
  min-height: 680px;
}

.auth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-copy {
  padding: 7vw;
}

.auth-copy ol {
  margin: 34px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.auth-copy li {
  margin-bottom: 16px;
  padding-left: 8px;
  line-height: 1.5;
}

.purchase-section {
  padding: 100px 5vw;
  text-align: center;
}

.purchase-heading {
  max-width: 760px;
  margin: 0 auto 40px;
}

.offer-grid {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 22px;
}

.offer {
  min-height: 158px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
}

.offer.selected {
  border: 2px solid var(--green);
  background: #f1faf5;
}

.offer span,
.offer strong {
  display: block;
}

.offer-label {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer strong {
  margin-bottom: 6px;
  font-size: 32px;
}

.offer span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.purchase-button {
  width: min(400px, 100%);
}

.micro-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.shipping-section {
  padding: 90px 5vw;
  background: #edf3f6;
}

.shipping-section > div:first-child {
  max-width: 660px;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.shipping-grid article {
  padding-top: 20px;
  border-top: 3px solid var(--blue);
}

.shipping-grid article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.shipping-grid h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.shipping-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.faq-section {
  padding: 100px 5vw;
}

.faq-list {
  max-width: 900px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 19px;
  font-size: 26px;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 720px;
  padding-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 64px 5vw 90px;
  color: var(--white);
  background: var(--navy-deep);
}

footer h3 {
  margin-bottom: 16px;
  font-size: 13px;
  text-transform: uppercase;
}

footer a {
  display: block;
  margin: 10px 0;
  color: #cbd8e0;
  font-size: 14px;
  text-decoration: none;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  margin-bottom: 20px;
}

.footer-brand p,
.footer-company {
  color: #aebdc7;
  font-size: 13px;
  line-height: 1.6;
}

.mobile-buybar {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(2, 11, 19, 0.58);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(440px, 100vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
  font-size: 26px;
}

.close-button {
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 30px;
}

.cart-items {
  flex: 1;
  padding: 22px 0;
  overflow-y: auto;
}

.cart-empty {
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-line h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-line-info {
  min-width: 0;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 36px 40px 36px;
  width: 112px;
  height: 36px;
  border: 1px solid var(--line);
}

.quantity-stepper button,
.quantity-stepper span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 34px;
}

.quantity-stepper button {
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  font-size: 19px;
}

.quantity-stepper button:not(:disabled):hover {
  background: var(--soft-blue);
}

.quantity-stepper button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.42;
}

.quantity-stepper span {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.remove-line {
  color: var(--red);
  background: transparent;
  border: 0;
  font-size: 13px;
  text-decoration: underline;
}

.drawer-summary {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.drawer-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.checkout-button {
  width: 100%;
  margin-top: 12px;
}

.drawer-summary p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 38px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 26px 80px rgba(4, 20, 32, 0.28);
}

dialog::backdrop {
  background: rgba(2, 11, 19, 0.66);
}

dialog h2 {
  font-size: 30px;
}

dialog p {
  color: var(--muted);
  line-height: 1.6;
}

.dialog-close.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
}

dialog .primary-button {
  position: static;
  width: 100%;
  margin-top: 12px;
}

code {
  color: var(--navy);
  background: #edf3f6;
  padding: 2px 5px;
  border-radius: 3px;
}

.policy-page {
  background: var(--surface);
}

.policy-header {
  position: static;
}

.policy-main {
  width: min(900px, 90vw);
  margin: 0 auto;
  padding: 80px 0 120px;
}

.policy-main section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.policy-main h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 62px);
}

.policy-main h2 {
  font-size: 30px;
}

.policy-main p,
.policy-main li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-video {
    object-position: 52% 50%;
  }

  .hero-content {
    width: 100%;
    padding: 0 22px 42px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-price {
    display: block;
  }

  .hero-price span {
    display: block;
    margin-top: 5px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 74px;
  }

  .product-story,
  .purchase-section,
  .faq-section {
    padding: 72px 20px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery .gallery-main {
    grid-column: auto;
    aspect-ratio: 1 / 1;
  }

  .feature-band,
  .authenticity {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding: 72px 22px;
  }

  .feature-copy li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feature-image,
  .auth-image {
    min-height: auto;
  }

  .auth-copy {
    padding: 72px 22px;
  }

  .offer-grid,
  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .shipping-section {
    padding: 72px 22px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 54px 22px 120px;
  }

  .footer-brand,
  .footer-company {
    grid-column: 1 / -1;
  }

  .mobile-buybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
  }

  .mobile-buybar div span,
  .mobile-buybar div strong {
    display: block;
  }

  .mobile-buybar div span {
    max-width: 190px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-buybar div strong {
    margin-top: 3px;
  }

  .mobile-buybar .primary-button {
    min-height: 46px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 34px;
  }

  .preview-bar {
    font-size: 11px;
  }

  .hero {
    min-height: 78svh;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > * {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cart-drawer {
    transition: none;
  }
}
