/* Fondo -- site-wide design system.
   Sections are owned separately so builders can work in parallel:
   [BASE] [NAV] [HERO] [WALL] [PACKS] [SCREENS] [ACCESS] [FREE] [FOOT] [MOBILE] */

/* ============================ [BASE] ============================ */
:root {
  --ink: #0B0B0C;
  --ink-2: #4A4A4F;
  --ink-3: #86868B;
  --line: #E6E6E8;
  --paper: #FFFFFF;
  --paper-2: #F5F5F7;
  --radius: 14px;
  --shell: min(1280px, 92vw);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Previews are already too small to be usable wallpaper. This just removes the
   easy drag-to-desktop path -- it is deterrence, not protection. */
.hero-frame, .tile img, .pack-layer, .access-art img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; }

/* Anchored sections must clear the fixed nav, or the heading lands under it. */
section[id] { scroll-margin-top: 84px; }

.section-head { width: var(--shell); margin: 0 auto 48px; max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-head p {
  margin: 18px 0 0; font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink-2); max-width: 56ch;
}

.eyebrow {
  margin: 0 0 20px; font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow.light { color: rgba(255,255,255,.62); }
/* On the hero the default grey lands on dark photography and disappears --
   taking the only scale claim ("190+ wallpapers") with it. */
.hero .eyebrow { color: rgba(255,255,255,.78); text-shadow: 0 1px 10px rgba(0,0,0,.45); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #26262A; }
.btn-glass {
  background: rgba(255,255,255,.10); color: #fff;
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255,255,255,.20); }

/* ============================ [NAV] ============================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px max(24px, calc((100vw - var(--shell)) / 2));
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
/* Over a pale hero frame the white nav links vanish. This band travels with the
   nav in its transparent state and is dropped once it flips to the light one. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6,6,8,.55), rgba(6,6,8,0));
  transition: opacity .4s var(--ease);
}
.nav.is-stuck::before { opacity: 0; }

.nav.is-stuck {
  background: rgba(255,255,255,.82); color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.125rem; letter-spacing: -.03em; }
.brand-mark { flex: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .9375rem; font-weight: 500; }
.nav-links a { opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.cart-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 600; opacity: .85;
}
.cart-link[hidden] { display: none; }
.nav-cta {
  font-size: .9375rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid currentColor; opacity: .9;
  transition: background .25s, color .25s;
}
.nav.is-stuck .nav-cta:hover { background: var(--ink); color: #fff; }

/* ============================ [HERO] ============================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  /* Tuned so the headline lands around 40% of the viewport: high enough that the
     lower frame stays open, low enough that the sky above it is not dead space.
     Re-measure if the copy block gains or loses a row. */
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2)) 88px;
  overflow: hidden; background: #0B0B0C;
}
.hero-media { position: absolute; inset: 0; }
.hero-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease);
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.hero-frame.is-on { opacity: 1; }
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1.4%, 0); }
}
/* Two gradients, not one. Measured against the rendered page, a bottom-only
   scrim left four of the five frames below 3:1 for white type on their worst
   5% of pixels -- the pale Splatter frame bottomed out at 1.5:1. The copy sits
   bottom-left and every frame is anchored to keep its subject right of centre,
   so a left-side wash buys the contrast where the text actually is and leaves
   the subject untouched. Re-measure if the copy ever moves. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6,6,8,.86) 0%, rgba(6,6,8,.66) 30%,
                              rgba(6,6,8,.22) 55%, rgba(6,6,8,0) 78%),
    linear-gradient(to top, rgba(6,6,8,.60) 0%, rgba(6,6,8,.24) 30%,
                            rgba(6,6,8,.02) 58%, rgba(6,6,8,.30) 100%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
/* The headline is deliberately smaller than it wants to be: at 6rem it covered
   the dune ridge and the best of the sky, and the photograph is the argument. */
.hero-copy { position: relative; max-width: 680px; color: #fff; }
.hero-h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.0;
  text-wrap: balance;
}
/* Desktop keeps the eyebrow, so the phone-only lead sentence is suppressed. */
.sub-lead { display: none; }
.hero-sub {
  margin: 26px 0 0; max-width: 46ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
/* The hero sits on a dark image, so the primary CTA inverts to white --
   the site-wide black fill disappears into the photograph. */
.hero .btn-solid { background: #fff; color: var(--ink); }
.hero .btn-solid:hover { background: #E9E9EC; }

/* Chips prove the range on the first screen; dots only promised it. At 108px
   they were too small to read as photographs and undersold five of six packs. */
.hero-foot { position: relative; width: 100%; margin-top: 34px; }
.hero-chips { display: flex; gap: 12px; }
.hero-chips button {
  width: 180px; height: 104px; padding: 0; border-radius: 12px; cursor: pointer;
  overflow: hidden; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  opacity: .6;
  transition: opacity .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease);
}
.hero-chips button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-chips button:hover { opacity: .92; transform: translateY(-2px); }
.hero-chips button[aria-selected="true"] {
  opacity: 1; border-color: #fff; box-shadow: 0 0 0 1px #fff;
}
.hero-now {
  margin: 14px 0 0; font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7);
}

/* ============================ [WALL] ============================ */
.wall-section { padding: 120px 0 130px; }
.wall {
  width: var(--shell); margin: 0 auto;
  /* Uniform 3x3. No spans, so placement is exactly what the markup says and the
     row/column de-duplication cannot be undone by auto-flow. */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.wall .tile { aspect-ratio: 16 / 10; }
.tile {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2);
}
/* The anchor fills the tile so the whole image is the hit area. The <img> keeps
   pointer-events:none for the anti-drag rule, which means clicks fall straight
   through to this link rather than being swallowed by the image. */
.tile a, .phone a { display: block; width: 100%; height: 100%; }
.tile a:focus-visible, .phone a:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .5s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.tile:hover::after, .tile:hover figcaption { opacity: 1; transform: none; }

.phone-strip {
  width: var(--shell); margin: 14px auto 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
.phone { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.phone img {
  width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover;
  transition: transform 1.1s var(--ease);
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.phone:hover img { transform: scale(1.05); }
.wall-note {
  width: var(--shell); margin: 22px auto 0;
  font-size: .875rem; color: var(--ink-3);
}
.wall-note em { font-style: normal; color: var(--ink); font-weight: 600; }

/* ============================ [PACKS] ============================ */
.packs-section { padding: 20px 0 130px; }
.pack-grid {
  width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px;
}
.pack-art {
  display: block; position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
}
.pack-stack { position: absolute; inset: 0; display: block; }
.pack-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease), transform 1.1s var(--ease);
}
.pack-layer.is-on { opacity: 1; }
.pack:hover .pack-layer { transform: scale(1.05); }
.pack-body { padding: 18px 2px 0; }
.pack-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pack-line h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
.pack-price { font-size: 1rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
/* app.js hides this when it cannot resolve the anchor in the visitor's
   currency, so "£11 was $19" can never appear. */
.pack-price .was {
  font-size: .875rem; font-weight: 500;
  color: var(--ink-3); text-decoration: line-through;
}
.pack-price .was[hidden] { display: none; }
.pack-body p { margin: 8px 0 16px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.add-btn {
  width: 100%; height: 44px; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-size: .9375rem; font-weight: 600;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  transition: background .25s, color .25s, border-color .25s;
}
.add-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* app.js toggles .is-in-cart -- keep this selector in step with it. */
.add-btn.is-in-cart { background: var(--paper-2); color: var(--ink-3); border-color: var(--line); }

/* ============================ [SCREENS] ============================ */
.screens { padding: 0 0 130px; }
.screens-row {
  width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.shot img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* ============================ [ACCESS] ============================ */
.access { background: var(--ink); color: #fff; }
.access-inner {
  width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px; align-items: center; padding: 120px 0;
}
.access-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.access-copy > p { margin: 20px 0 0; max-width: 44ch; font-size: 1.0625rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.access-price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.035em; margin: 26px 0 22px !important; color: #fff !important; }
.access-price .was { font-size: 1.125rem; font-weight: 500; color: rgba(255,255,255,.4); text-decoration: line-through; margin-left: 8px; }
.access .btn-solid { background: #fff; color: var(--ink); }
.access .btn-solid:hover { background: #E9E9EC; }
.reassure { font-size: .8125rem !important; color: rgba(255,255,255,.45) !important; margin-top: 18px !important; }
.access-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.access-art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.access-art img:nth-child(2) { transform: translateY(24px); }
.access-art img:nth-child(4) { transform: translateY(24px); }

/* ============================ [FREE] ============================ */
.free { width: var(--shell); margin: 0 auto; padding: 120px 0; text-align: center; }
.free h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.free > p { margin: 16px auto 32px; max-width: 46ch; color: var(--ink-2); line-height: 1.6; }
.email-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.email-form input {
  height: 50px; width: min(340px, 74vw); padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--font); font-size: .9375rem; background: var(--paper-2);
}
.email-form input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.form-note { margin-top: 16px; font-size: .875rem; color: var(--ink-3); }

/* ============================ [FOOT] ============================ */
.foot {
  width: var(--shell); margin: 0 auto; padding: 34px 0 56px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  align-items: center; justify-content: space-between;
  font-size: .8125rem; color: var(--ink-3);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a:hover { color: var(--ink); }

/* ============================ [MOBILE] ============================ */
@media (max-width: 900px) {
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 88px 0; }
  .screens-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav { padding: 14px 20px; gap: 14px; }
  .nav-links { display: none; }

  /* Give the photograph the screen back: shorter copy, one button, a lighter
     scrim over less of the frame, and the text block lifted clear of it.
     The eyebrow folds into the subhead rather than costing its own line. */
  .hero { padding: 0 20px 96px; }
  .sub-extra { display: none; }
  .hero .eyebrow { display: none; }
  .sub-lead { display: inline; font-weight: 600; color: #fff; }
  .hero-sub { margin-top: 16px; font-size: 1rem; }
  .hero-actions { margin-top: 24px; }
  .hero .btn-glass { display: none; }
  .hero-scrim {
    background: linear-gradient(to top,
      rgba(6,6,8,.84) 0%, rgba(6,6,8,.52) 22%, rgba(6,6,8,.04) 46%, rgba(6,6,8,.34) 100%);
  }
  /* Chips scroll horizontally at phone width; each stays a 64px tap target. */
  .hero-foot { margin-top: 24px; }
  .hero-chips { gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .hero-chips::-webkit-scrollbar { display: none; }
  .hero-chips button { width: 112px; height: 64px; flex: none; }
  .hero-now { margin-top: 12px; }

  /* Let the headline wrap on its own. The desktop break overflows 390px and
     .hero clips it rather than wrapping, so the last word simply disappears. */
  .h1-break { display: none; }
  .hero-h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .hero-copy, .hero-sub { max-width: 100%; }
  .wall-section, .packs-section, .screens { padding-left: 0; padding-right: 0; }
  .wall, .pack-grid, .screens-row, .section-head, .free, .foot, .access-inner { width: min(100% - 40px, 640px); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pack-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .wall-section { padding: 84px 0 92px; }
  .packs-section, .screens { padding-bottom: 92px; }
  .free { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-frame { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ======================================================================
   SITE-WIDE COMPONENTS
   Everything above this line came from the home page. Everything below is
   shared by the inner pages so the whole site reads as one thing.
   [NAV-SOLID] [PAGE-HEAD] [PACK-HERO] [SET] [LIFE] [SPECS] [BUY] [CART]
   [PROSE] [FREEPAGE] [MOBILE-2]
   ====================================================================== */

/* ============================ [NAV-SOLID] ============================ */
/* Pages with no full-bleed hero have nothing dark behind the nav, so it must
   start in its light state rather than waiting for a scroll that never comes. */
.nav--solid {
  position: sticky;
  background: rgba(255,255,255,.86); color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav--solid::before { opacity: 0; }
.nav--solid .nav-cta:hover { background: var(--ink); color: #fff; }

/* Pages that start solid have no hero to sit under, so main needs the offset. */
.page-body main { padding-top: 0; }

/* ============================ [PAGE-HEAD] ============================ */
.page-head {
  width: var(--shell); margin: 0 auto; padding: 72px 0 56px;
  max-width: 780px;
}
.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.04em;
}
.page-head p {
  margin: 20px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2);
  max-width: 58ch;
}
.crumb {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8125rem; font-weight: 600; color: var(--ink-3);
  margin-bottom: 22px;
}
.crumb:hover { color: var(--ink); }

/* ============================ [PACK-HERO] ============================ */
/* Same full-bleed language as the home hero, but a single frame: a pack page
   is about one set, so rotating through others would sell against itself. */
.pack-hero {
  position: relative; min-height: 88svh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2)) 88px;
  overflow: hidden; background: #0B0B0C;
}
.pack-hero .hero-media { position: absolute; inset: 0; }
.pack-hero-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.pack-hero-copy { position: relative; max-width: 680px; color: #fff; }
.pack-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 900;
  letter-spacing: -.04em; line-height: 1.0; text-wrap: balance;
}
.pack-hero-sub {
  margin: 22px 0 0; max-width: 46ch; line-height: 1.55;
  font-size: clamp(1rem, 1.4vw, 1.1875rem); color: rgba(255,255,255,.82);
}
.pack-price-row {
  display: flex; align-items: baseline; gap: 12px; margin: 30px 0 22px;
}
.pack-price-now { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; }
.pack-price-row .was {
  font-size: 1.0625rem; font-weight: 500; color: rgba(255,255,255,.45);
  text-decoration: line-through;
}
.pack-price-row .was[hidden] { display: none; }
.pack-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Inverted like the home hero: the site-wide black fill vanishes into a photo. */
.pack-hero .btn-solid { background: #fff; color: var(--ink); }
.pack-hero .btn-solid:hover { background: #E9E9EC; }
.pack-hero .add-btn {
  width: auto; height: 50px; padding: 0 26px; border-radius: 999px;
  background: rgba(255,255,255,.10); color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.pack-hero .add-btn:hover { background: rgba(255,255,255,.20); color: #fff; border-color: rgba(255,255,255,.5); }
.pack-hero .add-btn.is-in-cart { background: rgba(255,255,255,.2); color: #fff; }
.pack-bundle-line {
  margin: 22px 0 0; font-size: .9375rem; color: rgba(255,255,255,.72);
}
.pack-bundle-line a { text-decoration: underline; text-underline-offset: 3px; }
.pack-bundle-line a:hover { color: #fff; }

/* ============================ [SET] ============================ */
/* The set itself. The old pack pages only ever showed device mockups, so a
   buyer could not actually see what they were buying. */
.set-section { padding: 110px 0 40px; }
.set-grid {
  width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.set-grid figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2); aspect-ratio: 16 / 10;
}
.set-grid a { display: block; width: 100%; height: 100%; }
.set-grid a:focus-visible {
  outline: 3px solid var(--ink); outline-offset: -3px;
}
.set-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.set-grid figure:hover img { transform: scale(1.05); }

.set-phones {
  width: var(--shell); margin: 14px auto 0;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px;
}
.set-phones figure {
  margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2);
}
.set-phones img {
  width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.set-note { width: var(--shell); margin: 22px auto 0; font-size: .875rem; color: var(--ink-3); }
.set-note em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ============================ [LIFE] ============================ */
/* Real setup shots convert; they keep a full section rather than a footnote. */
.life-section { padding: 100px 0 110px; }
.life-grid {
  width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.life-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.life-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ============================ [SPECS] ============================ */
.specs-section { background: var(--paper-2); padding: 96px 0; }
.specs {
  width: var(--shell); margin: 40px auto 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.specs li { display: flex; flex-direction: column; gap: 8px; }
.specs strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; }
.specs span { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }

/* ============================ [BUY] ============================ */
.buy-section { padding: 110px 0; }
.buy-cards {
  width: var(--shell); margin: 0 auto; max-width: 900px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.buy-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.buy-card.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.buy-card h3 { font-size: 1.375rem; font-weight: 700; }
.buy-card .price { margin: 0; font-size: 2.25rem; font-weight: 800; letter-spacing: -.035em; }
.buy-card .price .was {
  font-size: 1.0625rem; font-weight: 500; margin-left: 8px;
  color: var(--ink-3); text-decoration: line-through;
}
.buy-card.is-featured .price .was { color: rgba(255,255,255,.4); }
.buy-card .price .was[hidden] { display: none; }
.buy-card p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.buy-card.is-featured p { color: rgba(255,255,255,.7); }
.buy-card .tag {
  align-self: flex-start; font-size: .6875rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: #fff;
}
.buy-card .btn, .buy-card .add-btn { margin-top: auto; }
.buy-card.is-featured .btn-solid { background: #fff; color: var(--ink); }
.buy-card.is-featured .btn-solid:hover { background: #E9E9EC; }
.reassure-line {
  width: var(--shell); margin: 26px auto 0; max-width: 900px;
  font-size: .8125rem; color: var(--ink-3);
}

/* ============================ [CART] ============================ */
.cart-wrap { width: var(--shell); margin: 0 auto 110px; max-width: 780px; }
.cart-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-row img { width: 92px; height: 58px; object-fit: cover; border-radius: 8px; }
.cart-row-body h3 { font-size: 1.0625rem; font-weight: 700; }
.cart-row-price { margin: 4px 0 0; font-size: .9375rem; color: var(--ink-2); }
.cart-remove {
  border: 0; background: none; cursor: pointer; padding: 6px;
  font-family: var(--font); font-size: .8125rem; font-weight: 600; color: var(--ink-3);
}
.cart-remove:hover { color: var(--ink); }
.cart-summary { margin-top: 28px; display: grid; gap: 10px; }
.cart-line { display: flex; justify-content: space-between; font-size: .9375rem; color: var(--ink-2); }
.cart-line.is-total { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--ink-2); }
.cart-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.cart-swap {
  margin-top: 22px; padding: 18px; border-radius: 14px;
  background: var(--paper-2); font-size: .9375rem; color: var(--ink-2);
}
.cart-swap a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============================ [PROSE] ============================ */
.prose { width: var(--shell); margin: 0 auto 110px; max-width: 720px; }
.prose h2 {
  font-size: 1.375rem; font-weight: 700; letter-spacing: -.025em;
  margin: 44px 0 12px;
}
.prose p, .prose li { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* ============================ [FREEPAGE] ============================ */
.free-grid {
  width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.free-card {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.free-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.free-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.free-card-body h3 { font-size: 1.0625rem; font-weight: 700; }
.free-card-body p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--ink-2); }
.free-card .btn { margin-top: 6px; height: 44px; font-size: .875rem; }

/* ============================ [MOBILE-2] ============================ */
@media (max-width: 900px) {
  .set-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .set-phones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .page-head, .cart-wrap, .prose, .set-grid, .set-phones, .set-note,
  .life-grid, .specs, .buy-cards, .reassure-line, .free-grid {
    width: min(100% - 40px, 640px);
  }
  .page-head { padding: 40px 0 36px; }
  .pack-hero { min-height: 78svh; padding: 0 20px 64px; }
  .pack-hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .set-section { padding: 76px 0 30px; }
  .set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .set-phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .life-section { padding: 70px 0 78px; }
  .life-grid { gap: 10px; }
  .specs-section { padding: 68px 0; }
  .specs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .buy-section { padding: 76px 0; }
  .buy-cards { grid-template-columns: minmax(0, 1fr); }
  .free-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .cart-row img { width: 72px; height: 46px; }
}
