/*
  Brand tokens — change these to restyle the site.
  Green (--check) and fonts (--font-heading, --font-body) are the main swap points.
*/

@font-face {
  font-family: Montserrat;
  src: url("assets/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0F1B3D;
  --cobalt: #2F5BFF;
  --paper: #F6F7FB;
  --slate: #5B6478;
  --check: #0E8A62;
  --white: #ffffff;
  --line: #E3E6EF;
  --chip: #E8EEFF;
  --font-heading: Montserrat, system-ui, sans-serif;
  --font-body: Montserrat, system-ui, sans-serif;
  --wrap: 40rem;
  --radius: 8px;
  --header-h: 4.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 0.55em;
}

h1 { font-size: 2.15rem; letter-spacing: -0.045em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.08rem; }

p { margin: 0 0 1em; color: var(--slate); }
p:last-child { margin-bottom: 0; }

a { color: var(--cobalt); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  min-height: 44px;
  z-index: 20;
}
.skip:focus { left: 8px; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}
.wrap.narrow { width: min(40rem, calc(100% - 32px)); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  min-height: 44px;
}
.brand img { width: 32px; height: auto; }

.nav-box { position: relative; }
.nav-box:not([open]) .nav-mobile { display: none; }
.nav-box[open] { z-index: 6; }
.nav-box summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.nav-box summary::-webkit-details-marker { display: none; }

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  min-width: 12rem;
  box-shadow: 0 12px 32px rgba(15, 27, 61, 0.1);
}
.nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav a:hover { background: var(--chip); color: var(--cobalt); }

.nav-desktop { display: none; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--paper);
  padding: 2.75rem 0 3.25rem;
  overflow: hidden;
}
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero-time {
  color: var(--paper);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.price-line {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--white);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
.price-line del,
.cta-final del,
.sticky-price del {
  color: rgba(246, 247, 251, 0.68);
  text-decoration: line-through;
  font-weight: 600;
  margin-right: 0.2em;
}
.price-then { white-space: nowrap; }
.price-line ins,
.cta-final ins,
.sticky-price ins {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
}
.hero .lede { color: rgba(246, 247, 251, 0.82); }
.hero .btn-secondary {
  background: var(--white);
  color: var(--cobalt);
  border-color: var(--white);
}
.hero .cta-micro { color: rgba(246, 247, 251, 0.9); }

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 1.6rem 0 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 22px;
  border-radius: var(--radius);
  line-height: 1.2;
  min-height: 48px;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cobalt);
  color: var(--white);
}
.btn-primary:hover { color: var(--white); filter: brightness(1.06); }

.btn-secondary {
  background: var(--white);
  color: var(--cobalt);
  border: 2px solid var(--cobalt);
  padding: 14px 20px;
}

.btn-wide { width: 100%; }

.promise-aside {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}
.hero .promise-aside { color: var(--paper); }

.trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust li,
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--navy);
  font-weight: 600;
}
.hero .trust li { color: var(--white); font-weight: 600; }
.check-list li { font-weight: 400; padding-top: 4px; padding-bottom: 4px; }

.trust li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% 60% no-repeat;
}

.check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

/* Device mockup */
.devices {
  position: relative;
  margin: 2.5rem auto 0.5rem;
  width: min(100%, 26rem);
}
.laptop-bezel {
  background: #161d33;
  border-radius: 12px 12px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}
.laptop-cam {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a4460;
  margin: 0 auto 8px;
}
.laptop-screen {
  background: #000;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.laptop-base {
  height: 10px;
  background: linear-gradient(180deg, #1c243c, #12182a);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.laptop-base::after {
  content: "";
  display: block;
  width: 28%;
  height: 5px;
  margin: 0 auto;
  background: #0b1020;
  border-radius: 0 0 6px 6px;
}
.phone {
  position: absolute;
  right: 5%;
  bottom: -6%;
  width: 31%;
  background: #0a0f1c;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid #2a3350;
}
.phone-screen {
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: #000;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-intro { margin-bottom: 1.5rem; }

/* Founder work grid */
.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 1.5rem 0 1.25rem;
}
.shot-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.shot-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}
.shot-grid img.pos-guide { object-position: right top; }
.shot-grid img.shot-guide {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.shot-grid figcaption {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 16px 14px;
  color: var(--navy);
}
.work-caption {
  max-width: 40rem;
  font-size: 0.98rem;
}

/* Devoteewear homepage video banner (portfolio) */
.dw-banner {
  margin: 1.75rem 0 2.25rem;
}
.dw-banner-frame {
  position: relative;
  background: #111 url("assets/showcase/dw-banner-poster.jpg") center bottom / cover no-repeat;
  aspect-ratio: 3.3 / 1;
  min-height: 16rem;
  overflow: hidden;
}
.dw-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
.dw-banner-video--mobile { display: none; }
.dw-banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  padding: 0 16px;
}
.dw-banner-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  margin: 0;
  color: #fff;
}
.dw-banner-sub {
  margin: 0.4rem 0 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: #fff;
}
.dw-banner-caption {
  margin: 0.8rem auto 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--slate);
  padding: 0 20px;
}
@media (max-width: 719px) {
  .dw-banner-frame {
    aspect-ratio: 3 / 4;
    min-height: 22rem;
    background-image: url("assets/showcase/dw-banner-poster-mobile.jpg");
  }
  .dw-banner-video--desktop { display: none; }
  .dw-banner-video--mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .dw-banner-video { display: none !important; }
}


.shot-featured .shot-frame {
  position: relative;
  background: #fff;
}
.shot-featured img {
  display: block;
}
.callouts {
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.callout {
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout span {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 6px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(15, 27, 61, 0.08);
  white-space: nowrap;
}
.callout::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.18);
}
@media (max-width: 719px) {
  .callouts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 16px 2px;
  }
}
@media (min-width: 720px) {
  .shot-featured {
    grid-column: 1 / -1;
  }
  .shot-featured .shot-frame,
  .shot-featured img {
    aspect-ratio: 16 / 9;
  }
  .shot-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .callouts {
    position: absolute;
    inset: 0;
  }
  .callout {
    position: absolute;
  }
  .shot-collection {
    grid-column: 1 / -1;
  }
  .shot-collection img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--paper);
  }
  /* Colour + size: just left of the colour row and S–XXL buttons (dot on the right). */
  .callout-size {
    right: 33.5%;
    top: 35%;
    flex-direction: row-reverse;
  }
  /* Size guide: label floats above the real SIZE GUIDE link, dot on the link. */
  .callout-guide {
    left: 88%;
    top: auto;
    bottom: 60.4%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 18px;
  }
  /* Bundle picker: just left of the Single / Week / Full Rotation boxes (dot on the right). */
  .callout-bundle {
    right: 33.5%;
    top: 52%;
    flex-direction: row-reverse;
  }
}


/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.steps li { padding-top: 0; }
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--cobalt);
  margin-bottom: 0.75rem;
}
.step-icon svg { width: 22px; height: 22px; }
.steps h3 { margin-bottom: 0.3em; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 8px 24px rgba(15, 27, 61, 0.05);
  display: flex;
  flex-direction: column;
}
.section-white .card { background: var(--paper); border-color: transparent; }

.card-highlight {
  border: 2px solid var(--cobalt);
  background: var(--white);
}

.price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.045em;
  color: var(--navy);
  line-height: 1;
  margin: 8px 0 10px;
}
.price span {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 600;
}

.chip {
  display: inline-block;
  background: var(--chip);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 6px;
  margin: 0 0 8px;
}

.meta {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card .btn { margin-top: auto; width: 100%; }
.care-line { margin-top: 1.5rem; }

/* Checklist + FAQ */
.checklist details,
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.checklist details:last-child,
.faq details:last-child { border-bottom: 1px solid var(--line); }

.checklist summary,
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  padding: 12px 0;
  min-height: 44px;
}

.checklist ul {
  margin: 0 0 12px;
  padding: 0 0 0 1.2rem;
  color: var(--slate);
}
.checklist li { margin: 0 0 6px; }
.faq details p { margin: 0 0 12px; }

/* Final CTA — navy band */
.cta-final {
  background: var(--navy);
  padding: 4rem 0;
}
.cta-final h2 { color: var(--white); }
.cta-final p { color: var(--paper); }
.cta-final a { color: var(--paper); }
.cta-final p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.cta-final .btn-primary { color: var(--white); }
.cta-final .promise-aside { color: var(--paper); }
.cta-final .hero-action { margin-bottom: 1.1rem; }
.cta-final a:focus-visible { outline-color: var(--paper); }

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 24px 0 32px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(246, 247, 251, 0.12);
}
.site-footer p { color: var(--paper); margin: 0; }

@media (min-width: 800px) {
  :root { --wrap: 70rem; }

  h1 { font-size: 3.15rem; }
  h2 { font-size: 1.85rem; }

  .nav-box { display: none; }
  .nav.nav-desktop {
    display: flex;
    flex-direction: row;
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: 0;
    gap: 2px 4px;
  }
  .nav-desktop a { min-height: 44px; padding: 10px 12px; }

  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
  }
  .devices {
    margin: 0;
    width: 100%;
    max-width: none;
  }

  .hero-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .btn-wide { width: 100%; }
  .card .btn { width: 100%; }

  .trust {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .section { padding: 4.75rem 0; }
  .cta-final { padding: 5rem 0; }
}

@media (min-width: 1100px) {
  h1 { font-size: 3.4rem; }
  .hero-grid { gap: 4rem; }
}

@media (max-width: 799px) {
  .hero { padding-top: 2.25rem; padding-bottom: 0; }
  .hero-copy { padding-bottom: 1.75rem; }
  .devices { margin-top: 0; padding: 1.75rem 0 2.5rem; }
}

/* Section CTAs */
.section-cta {
  margin-top: 2rem;
}
.section-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-cta-actions .btn { width: 100%; }
.cta-micro {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
}
.section-cta-band {
  background: var(--white);
  padding: 0 0 3.5rem;
}
.card .cta-micro { margin-top: 10px; text-align: center; }

/* Pain and dream */
.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pain-list li {
  padding: 0.9rem 0 0.9rem 1.1rem;
  border-left: 3px solid var(--cobalt);
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.05rem;
}
.dream-line {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 1.75rem 0 0;
}

/* Who this is for */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 1.5rem 0 0.5rem;
}
.who-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 24px 22px 8px;
}
.section-white .who-card { background: var(--paper); }
.not-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.not-list li {
  position: relative;
  padding: 4px 0 4px 32px;
  color: var(--navy);
}
.not-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E8EBF2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%230F1B3D' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% 70% no-repeat;
}

/* Scarcity and comparison */
.scarcity {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
.card .scarcity { margin: 0 0 0.6rem; }
.compare-line {
  margin-top: 1rem;
  color: var(--slate);
}

/* Our promise — bold navy block */
.section-promise {
  background: var(--navy);
  color: var(--paper);
}
.section-promise h2 { color: var(--white); }
.section-promise .check-list li { color: var(--white); }
.section-promise p { color: rgba(246, 247, 251, 0.86); }
.section-promise .cta-micro { color: rgba(246, 247, 251, 0.9); }
.section-promise .btn-secondary {
  background: var(--white);
  color: var(--cobalt);
  border-color: var(--white);
}
.section-promise a:focus-visible { outline-color: var(--paper); }

/* Final CTA extras */
.cta-final .scarcity { color: var(--white); }
.cta-final .cta-micro { color: rgba(246, 247, 251, 0.9); }
.cta-final .btn-secondary {
  background: var(--white);
  color: var(--cobalt);
  border-color: var(--white);
}
.cta-final del, .cta-final ins { font-weight: 700; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
.sticky-price {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sticky-cta .btn {
  flex: 0 0 auto;
  min-width: 10.5rem;
  padding: 12px 16px;
}

@media (min-width: 800px) {
  .section-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .section-cta-actions .btn { width: auto; min-width: 12.5rem; }
  .who-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .dream-line { font-size: 1.55rem; }
  .section-cta-band { padding-bottom: 4.75rem; }
}

@media (max-width: 799px) {
  :root {
    --sticky-cta-h: calc(4.85rem + env(safe-area-inset-bottom, 0px));
  }
  html {
    scroll-padding-bottom: var(--sticky-cta-h);
  }
  body {
    padding-bottom: var(--sticky-cta-h);
  }
  body.sticky-cta-off {
    padding-bottom: 0;
  }
  html:has(body.sticky-cta-off) {
    scroll-padding-bottom: 0;
  }
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    background: var(--navy);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(246, 247, 251, 0.12);
    box-shadow: 0 -10px 28px rgba(15, 27, 61, 0.22);
  }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta .btn:focus-visible { outline-color: var(--paper); }
}
