/* Luuma home page. Deliberately separate from styles.css, which the legal
   pages share: the home layout is a full redesign and must not drag those
   pages with it. */

@font-face {
  font-family: Manrope;
  src: url("./assets/fonts/Manrope-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Newsreader;
  src: url("./assets/fonts/Newsreader-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --canvas: #f6f2f1;
  --surface: #ffffff;
  --soft: #fbf7f8;
  --sand: #f4efe8;
  --ink: #301b45;
  --muted: #6c5a7c;
  --line: #e8dee3;
  --plum: #421e4b;
  --berry: #823d6a;
  --orchid: #ba5a8e;
  --pearl: linear-gradient(135deg, #efd7d0, #dcb7c3 52%, #ad80a4);
  --grad: linear-gradient(100deg, var(--plum), var(--berry) 52%, var(--orchid));
  --shadow: 0 28px 70px -46px rgba(48, 27, 69, 0.62);
  --soft-shadow: 0 18px 46px -34px rgba(48, 27, 69, 0.48);
  --display: Newsreader, Georgia, serif;
  --ui: Manrope, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[id] {
  scroll-margin-top: 96px;
}

html {
  background: var(--canvas);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--ui);
  line-height: 1.55;
  background:
    radial-gradient(circle at 86% 3%, rgba(186, 90, 142, 0.16), transparent 30rem),
    radial-gradient(circle at 8% 16%, rgba(130, 61, 106, 0.09), transparent 26rem),
    linear-gradient(180deg, #faf5f5 0, var(--canvas) 46rem, #f2ecee 100%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 0 0 12px 12px;
  color: #fff;
  background: var(--grad);
  font-size: 14px;
  font-weight: 800;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 0;
}

.wrap {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 3.9vw, 52px);
  line-height: 1;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.kick {
  margin: 0;
  color: var(--berry);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Screens carry their own transparent corners. A border, radius or box-shadow
   here would trace the bounding box instead of the corner arc and read as a
   second, mismatched outline. */
.shot {
  filter: drop-shadow(0 22px 30px rgba(48, 27, 69, 0.26));
}

/* ---------------- header ---------------- */
.bar {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 72px));
  min-height: 62px;
  margin: 10px auto 0;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(66, 30, 75, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 38px -34px rgba(48, 27, 69, 0.5);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: auto;
  height: 44px;
  max-width: 150px;
  border-radius: 14px;
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 750;
}

.bar nav a {
  padding: 12px 0;
}

.bar nav a:hover {
  color: var(--plum);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 18px 30px -24px rgba(66, 30, 75, 0.75);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--plum);
}

/* ---------------- hero ---------------- */
.hero {
  padding: 58px 0 26px;
}

.hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 4vw, 60px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
  margin: 11px 0 0;
}

.hero h1 span {
  display: block;
}

.hero h1 .two {
  color: var(--berry);
}

.hero .lede {
  margin-top: 18px;
  font-size: 18px;
  max-width: 50ch;
}

.hero .lede b {
  color: var(--ink);
  font-weight: 700;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.store-badge {
  height: 52px;
  line-height: 0;
  filter: drop-shadow(0 16px 28px rgba(48, 27, 69, 0.18));
}

.store-badge img {
  width: auto;
  height: 100%;
}

/* The app is in private testing, so the badges are not links yet. Pull them
   back a touch so they read as "where it will be" rather than "tap here". */
.stores.pending .store-badge {
  opacity: 0.66;
  filter: saturate(0.7) drop-shadow(0 12px 24px rgba(48, 27, 69, 0.16));
}

.hero .free {
  margin-top: 12px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 800;
}

.hero .proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero .proof span {
  padding: 7px 12px;
  border: 1px solid rgba(130, 61, 106, 0.2);
  border-radius: 999px;
  background: #fff9fc;
  color: var(--plum);
  font-size: 12px;
  font-weight: 800;
}

/* three finished looks, and the wardrobe they came out of */
.looksrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lookcard {
  position: relative;
  margin: 0;
}

.lookcard .pic {
  border-radius: 18px;
  overflow: hidden;
  background: #f0e8dd;
  box-shadow: var(--soft-shadow);
}

.lookcard img {
  width: 100%;
  height: 264px;
  object-fit: cover;
  object-position: 50% 20%;
}

.lookcard .chip {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  /* 11px is the floor: nothing on the page goes below it */
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lookcard h3 {
  margin-top: 10px;
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 800;
}

.lookcard p {
  margin-top: 1px;
  font-size: 12.5px;
  line-height: 1.38;
}

.fromstrip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.fromstrip .tiny {
  display: flex;
  gap: 7px;
  overflow: hidden;
}

.fromstrip .tiny div {
  flex: 1 1 0;
  min-width: 0;
  height: 52px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fromstrip .tiny img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.fromstrip .cap {
  margin-top: 11px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

/* ---------------- bands ---------------- */
.band {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.head {
  max-width: 66ch;
  margin-bottom: 34px;
}

.head h2 {
  margin-top: 11px;
}

.head p {
  margin-top: 13px;
  font-size: 17px;
}

/* ---------------- how it works ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  display: grid;
  align-content: start;
}

.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 7px;
}

.step p {
  font-size: 15px;
}

.step .media {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.step .media img.shot {
  width: 78%;
  max-width: 214px;
}

/* height matched to the phone shots beside it so the row bottoms line up */
.step .media img.photo {
  width: 100%;
  height: 464px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

/* ---------------- the scan ---------------- */
.scanband {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  border-top: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(234, 210, 221, 0.8), transparent 26rem),
    var(--pearl);
}

.scanband .head h2,
.scanband .kick {
  color: var(--plum);
}

.scanband .head p {
  color: #5c4460;
}

.ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.ba .side {
  text-align: center;
}

.ba .cap {
  margin-bottom: 11px;
  color: #6b4f6c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ba .photo {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.ba .arrow {
  align-self: center;
  color: var(--plum);
  font-size: 28px;
}

.ba .side img.shot {
  width: 64%;
  max-width: 218px;
  margin: 0 auto;
}

.notes3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.notes3 div {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.notes3 b {
  display: block;
  margin-bottom: 4px;
  color: var(--plum);
  font-family: var(--display);
  font-size: 17px;
}

.notes3 p {
  color: #5c4460;
  font-size: 14px;
}

.tierpill {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ---------------- wardrobe into outfits ---------------- */
.twopanel {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--soft);
}

.panel.win {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel .stamp {
  color: #9c8ea6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel h3 {
  margin: 3px 0 4px;
  font-size: 24px;
}

.panel .note {
  margin-bottom: 16px;
  font-size: 14px;
}

.allgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.allgrid div {
  height: 64px;
  padding: 5px;
  border-radius: 10px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.allgrid img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.allfoot {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.panel .lookcard img {
  height: 214px;
}

.cta2 {
  display: flex;
  gap: 11px;
  margin-top: 18px;
}

.cta2 span {
  flex: 1;
  padding: 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
}

.cta2 .p {
  color: #fff;
  background: var(--grad);
}

.cta2 .s {
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ---------------- feature rows ---------------- */
.rows {
  display: grid;
  gap: clamp(64px, 8vw, 104px);
}

.row {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(320px, 1fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: center;
}

.row:nth-child(even) .copy {
  order: 2;
}

.row .copy h2 {
  margin: 11px 0 12px;
  font-size: clamp(28px, 3.3vw, 44px);
}

.row .media {
  display: grid;
  place-items: center;
}

.row .media img.shot {
  width: min(100%, 300px);
}

/* must out-specify `.row .media { display:grid }`, or the pair stacks */
.row .media.pairshots {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: flex-start;
}

.row .media.pairshots img.shot {
  width: min(48%, 232px);
}

.row .media.pairshots img.shot:first-child {
  transform: translateY(26px);
}

/* the twin, in every skin tone the app ships */
.twinrow {
  width: 100%;
}

.twinrow .figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.twinrow .figures img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--sand);
  box-shadow: var(--soft-shadow);
}

.twinrow .cap {
  margin-top: 13px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* the buying check */
.check {
  width: min(100%, 372px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 13px;
}

.check .lab {
  color: var(--berry);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check .item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.check .item .ph {
  flex: none;
  width: 62px;
  height: 76px;
  padding: 6px;
  border-radius: 12px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check .item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.check .nm {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.check .sb {
  margin-top: 2px;
  font-size: 13px;
}

.check .verdict {
  margin-top: 3px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

/* ---------------- numbers, quotes ---------------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.numbers div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.numbers b {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.35;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 15px;
  align-content: start;
}

.quote blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.42;
}

.quote figcaption {
  color: var(--berry);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------- plans ---------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.plan {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  display: grid;
  gap: 10px;
}

.plan.hi {
  border-color: transparent;
  background: var(--grad);
  box-shadow: var(--shadow);
}

.plan.hi h3,
.plan.hi li {
  color: #fff;
}

.plan.hi .tag {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.plan .tag {
  justify-self: start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--berry);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan ul {
  margin: 4px 0 0;
  padding-left: 19px;
}

.plan li {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14.5px;
}

.plans .foot {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: 14px;
}

/* ---------------- faq ---------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--berry);
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 74ch;
  padding: 0 0 20px;
  font-size: 15.5px;
}

.faq details a {
  color: var(--berry);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------- get, footer ---------------- */
.get {
  text-align: center;
}

.get h2 {
  margin-bottom: 13px;
}

.get p {
  margin: 0 auto;
  max-width: 54ch;
}

.get .stores {
  justify-content: center;
}

.foot {
  padding: 52px 0 44px;
  border-top: 1px solid var(--line);
}

.footgrid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto auto auto;
  gap: 46px;
  align-items: start;
}

.footgrid h3 {
  margin-bottom: 12px;
  color: var(--berry);
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footcol {
  display: grid;
  gap: 9px;
}

.footcol a,
.footbrand p {
  color: var(--muted);
  font-size: 14px;
}

/* Comfortably past the 24px minimum target size at every width; phones get a
   full 44px in the narrow media query below. */
.footcol a {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.footbrand img {
  height: 58px;
  width: auto;
  border-radius: 14px;
}

.footbrand p {
  margin-top: 12px;
}

.baseline {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .hero .grid,
  .row,
  .twopanel {
    grid-template-columns: 1fr;
  }

  .row:nth-child(even) .copy {
    order: 0;
  }
}

@media (max-width: 860px) {
  .wrap,
  .bar {
    width: min(100% - 32px, 1180px);
  }

  .menu-btn {
    display: flex;
  }

  .bar nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(18px);
  }

  .bar.nav-open nav {
    display: grid;
  }

  .bar nav a {
    padding: 12px 8px;
    border-radius: 12px;
    font-size: 16px;
  }

  .band {
    padding: 60px 0;
  }

  .steps,
  .notes3,
  .numbers,
  .quotes,
  .plans,
  .footgrid {
    grid-template-columns: 1fr;
  }

  .ba {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Stacked, the connector points down and needs to be visible against the
     pearl band rather than reading as an empty gap. */
  .ba .arrow {
    justify-self: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transform: rotate(90deg);
  }

  .allgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fromstrip .tiny div:nth-child(n + 7) {
    display: none;
  }

  .step .media img.photo {
    height: 340px;
  }

  .ba .photo {
    height: 360px;
  }
}

@media (max-width: 860px) {
  /* Footer and menu links are the only text-sized tap targets on the page.
     Give them a real 44px touch height on phones. */
  .footcol a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .footcol {
    gap: 0;
  }

  .baseline {
    margin-top: 26px;
  }
}

@media (max-width: 620px) {
  .brand img {
    height: 40px;
    max-width: 116px;
  }

  .hero {
    padding: 30px 0 20px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.4vw, 46px);
  }

  .store-badge {
    height: 44px;
  }

  .lookcard img {
    height: 176px;
  }

  .lookcard p {
    font-size: 11.5px;
  }

  .twinrow .figures {
    gap: 7px;
  }
}
