/* What If Stories: Style Kit landing page. No build step, no external requests. */

:root {
  --bg: #0b0e1c;
  --bg-2: #121732;
  --panel: #171d3d;
  --panel-2: #1e2650;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f1ea;
  --muted: #b7b9cf;
  --orange: #e8702a;      /* the PH hoodie */
  --orange-2: #ff9a4d;
  --navy: #2d3e6b;        /* the PH jeans */
  --pink: #ff5fa2;
  --sun: #ffc25c;
  --radius: 22px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .65);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Arial Black", "Segoe UI Black", "Helvetica Neue", var(--font);
  --gutter: 16px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--orange-2); }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font: 900 clamp(30px, 6.6vw, 54px)/1.04 var(--font-display); letter-spacing: -.02em; }
h3 { font-size: 20px; font-weight: 800; }
.accent { color: var(--orange); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 14px 22px; border-radius: 14px;
  background: var(--b); color: #1a0d03;
  font-weight: 800; text-decoration: none; letter-spacing: .01em;
  border: 0; cursor: pointer;
  box-shadow: 0 6px 0 #9c4512, 0 14px 30px -10px rgba(232, 112, 42, .7);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 8px 0 #9c4512, 0 18px 34px -10px rgba(232, 112, 42, .8); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #9c4512; }
.btn--big { font-size: 19px; padding: 17px 28px; border-radius: 16px; }
.btn--small { padding: 9px 14px; font-size: 14px; border-radius: 11px; box-shadow: 0 4px 0 #9c4512; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(11, 14, 28, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  background: var(--orange); color: #fff; font: 900 14px/1 var(--font-display); letter-spacing: .02em;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2);
}
.brand__name { font-size: 17px; }
.nav__links { display: none; gap: 26px; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 34px;
  padding: 36px var(--gutter) 56px;
  background:
    radial-gradient(120% 60% at 80% 0%, rgba(255, 95, 162, .32), transparent 60%),
    radial-gradient(90% 60% at 10% 100%, rgba(232, 112, 42, .38), transparent 60%),
    linear-gradient(180deg, #1a1f48 0%, #2a2459 45%, #4b2a55 75%, #0b0e1c 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.snow, .snow--2 {
  position: absolute; inset: -100px 0 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 140px 80px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 260px 160px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 80px 220px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 200px 280px, #fff 50%, transparent 51%);
  background-size: 300px 300px;
  opacity: .55;
  animation: snow 18s linear infinite;
}
.snow--2 { background-size: 220px 220px; opacity: .3; animation-duration: 28s; }
@keyframes snow { to { transform: translateY(300px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: #ffd9bf;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232, 112, 42, .25); }

.hero__title { font: 900 clamp(42px, 12vw, 88px)/.95 var(--font-display); letter-spacing: -.03em; margin: 0 0 18px; }
.hero__title .line { display: block; }
.hero__title .accent {
  color: var(--orange);
  text-shadow: 0 4px 0 #8f3c0d, 0 20px 40px rgba(232, 112, 42, .35);
}
.hero__lead { color: #dcdbe9; font-size: 18px; max-width: 34em; margin: 0 0 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__facts li::before { content: "✓"; color: var(--orange); font-weight: 900; margin-right: 6px; }

.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stats .stat { margin: 0; flex: 1 1 200px; }
.stats__note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.stat {
  display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 0;
  padding: 10px 16px 10px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 194, 92, .35);
}
.stat b { font: 900 30px/1 var(--font-display); color: var(--sun); letter-spacing: -.02em; }
.stat span { font-size: 14px; font-weight: 600; color: #e6e3f0; line-height: 1.3; max-width: 17em; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone {
  position: relative; z-index: 2;
  width: min(272px, 68vw); aspect-ratio: 9 / 19.5;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(145deg, #2b2f45, #0c0e18);
  box-shadow: 0 0 0 2px #3a3f5c, var(--shadow), 0 40px 120px -30px rgba(232, 112, 42, .55);
  transform: rotate(-3deg);
}
.phone__video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 31px; background: #000;
}
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 76px; height: 20px; border-radius: 12px; background: #05060b; z-index: 3; }
.phone__ui { position: absolute; inset: 10px; border-radius: 31px; pointer-events: none; display: flex; align-items: flex-end; padding: 14px; }
.phone__tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }

.float {
  position: absolute; margin: 0; z-index: 1;
  width: min(150px, 36vw); aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--a { left: 2%; top: 6%; transform: rotate(-11deg); animation: bob 7s ease-in-out infinite; }
.float--b { right: 2%; bottom: 6%; transform: rotate(9deg); animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }

.price-badge {
  position: absolute; z-index: 3; right: 6%; top: 4%;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--sun); color: #2a1500;
  box-shadow: 0 6px 0 #b9821f, var(--shadow);
  transform: rotate(12deg);
  animation: wobble 5s ease-in-out infinite;
}
.price-badge span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-badge b { font: 900 30px/1 var(--font-display); }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.05); } }

/* ---------- strip (marquee) ---------- */
.strip { overflow: hidden; padding: 18px 0; background: var(--bg); border-block: 1px solid var(--line); }
.strip__track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.strip__track img { width: 118px; height: auto; max-width: none; flex: none; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 72px var(--gutter); max-width: var(--max); margin: 0 auto; }
.section--dark { max-width: none; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section--dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 34px; max-width: 760px; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-2); }
.lead { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

/* cards */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; grid-auto-flow: row dense; }
.card {
  position: relative; padding: 22px;
  background: linear-gradient(180deg, var(--panel), #141a37);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card p { margin: 10px 0 0; color: var(--muted); }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 12px; font-size: 24px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.card--hot {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(232, 112, 42, .28), transparent 55%),
    linear-gradient(180deg, #24204a, #161b3a);
  border-color: rgba(232, 112, 42, .45);
}
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: #d9d9e6; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231a0d03' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ticks--info li::before { background-color: var(--navy); background-image: none; content: "i"; color: #fff; font: 800 12px/18px var(--font); text-align: center; }

.note {
  margin: 22px 0 0; padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 194, 92, .08); border: 1px dashed rgba(255, 194, 92, .4); color: #f2e3c4;
}

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 12px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.step__img { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 16; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.step:hover .step__img img { transform: scale(1.06); }
.step__num { font: 900 13px/1 var(--font-display); color: var(--orange); letter-spacing: .1em; }
.step h3 { margin: 6px 0 6px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* beats */
.beats { display: flex; flex-direction: column; gap: 6px; }
.beat {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(90deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.beat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--w) * 5%); background: var(--orange); opacity: .7; }
.beat b { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: rgba(255, 255, 255, .08); font: 900 14px/1 var(--font-display); }
.beat span { font-weight: 700; }
.beat--hot { background: linear-gradient(90deg, #c4561a, var(--orange)); color: #1a0d03; border-color: transparent; }
.beat--hot b { background: rgba(0, 0, 0, .15); }
.beats__axis { display: none; }

/* need */
.need { display: grid; gap: 14px; }
.need__col { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.need__col--paid { background: linear-gradient(180deg, #1c2a52, #151d3d); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 54px 18px 20px; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); font: 800 20px/1 var(--font); color: var(--orange-2);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* buy */
.buy {
  padding: 72px var(--gutter) 90px;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(232, 112, 42, .35), transparent 70%),
    linear-gradient(180deg, var(--bg), #241a3f);
}
.buy__card {
  max-width: 980px; margin: 0 auto;
  display: grid; overflow: hidden;
  border-radius: 28px; background: var(--panel);
  border: 1px solid rgba(232, 112, 42, .45);
  box-shadow: var(--shadow), 0 0 0 6px rgba(232, 112, 42, .08);
}
.buy__media { height: 230px; overflow: hidden; }
.buy__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.buy__body { padding: 26px 22px 28px; }
.buy__body h2 { font-size: clamp(28px, 7vw, 44px); }
.buy__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 16px; }
.buy__price b { font: 900 54px/1 var(--font-display); color: var(--text); }
.buy__price span { color: var(--muted); font-weight: 600; }
.buy__fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* footer */
.footer { padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom)); background: #070913; border-top: 1px solid var(--line); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer nav a:hover { color: var(--text); }
.footer__small { margin: 0; font-size: 13px; color: #8a8ca6; max-width: 60em; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 99;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
  background: #fff; color: #111; font-weight: 700; box-shadow: var(--shadow);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--wide, .card--full { grid-column: 1 / -1; }
  .card--hot .ticks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:last-child { grid-column: span 2; }
  .need { grid-template-columns: 1fr 1fr; }
  .need__col--paid { grid-column: span 2; }
  .strip__track img { width: 150px; }
  .buy__card { grid-template-columns: 300px 1fr; }
  .buy__media { height: auto; }
  .buy__body { padding: 36px; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  .nav { padding-inline: max(28px, calc((100% - var(--max)) / 2)); }
  .nav__links { display: flex; }
  .hero {
    grid-template-columns: 1.1fr .9fr; align-items: center;
    padding: 70px max(28px, calc((100% - var(--max)) / 2)) 90px;
    min-height: calc(100vh - 57px);
  }
  .hero__stage { min-height: 640px; }
  .phone { width: 300px; }
  .float { width: 170px; }
  .float--a { left: -2%; }
  .float--b { right: -2%; }
  .price-badge { width: 108px; height: 108px; right: 2%; }
  .price-badge b { font-size: 36px; }
  .section { padding-block: 110px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card--wide { grid-column: span 2; }
  .card--hot, .card--full { grid-column: 1 / -1; }
  .card--hot .ticks { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step, .step:last-child { grid-column: auto; grid-template-columns: 1fr; align-items: start; padding: 12px 12px 20px; }
  .step__body { padding: 4px 6px 0; }
  .beats { flex-direction: row; gap: 4px; }
  .beat { flex: var(--w) 1 0; min-width: 104px;flex-direction: column; align-items: flex-start; padding: 16px 12px 22px; min-height: 120px; }
  .beat::after { width: 100%; }
  .beat span { font-size: 15px; line-height: 1.2; }
  .beats__axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; font-weight: 700; margin: 10px 0 0; }
  .need { grid-template-columns: repeat(3, 1fr); }
  .need__col--paid { grid-column: auto; }
  .buy__card { grid-template-columns: 380px 1fr; }
  .buy__body { padding: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.legal h1 { font: 900 clamp(32px, 8vw, 48px)/1.05 var(--font-display); margin-bottom: 10px; }
.legal h2 { font: 800 22px/1.2 var(--font); margin: 34px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: #d9d9e6; }
.legal address { font-style: normal; color: #d9d9e6; }
.legal .back { display: inline-block; margin-bottom: 26px; font-weight: 700; text-decoration: none; }
.todo { background: rgba(255, 95, 162, .14); border: 1px dashed var(--pink); color: #ffd0e4; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.todo-box { padding: 14px 18px; border-radius: 14px; background: rgba(255, 95, 162, .08); border: 1px dashed rgba(255, 95, 162, .55); color: #ffd0e4; margin: 18px 0; }
@media (min-width: 960px) { .card--full.card--last { grid-column: auto; } }

.lang-switch { display: flex; gap: 10px; margin: 0 0 18px; }
.lang-switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); text-decoration: none; font-weight: 700; font-size: 14px; }
.legal-split { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 56px 0 40px; }
.legal section { scroll-margin-top: 90px; }

/* ---------- contact form ---------- */
.form { margin: 26px 0 18px; padding: 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid rgba(255,255,255,.08); }
.form__row { margin: 0 0 16px; }
.form__row label { display: block; font-weight: 700; margin: 0 0 6px; }
.form input, .form select, .form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: #0a0d1a; color: #fff; font: 400 16px/1.4 var(--font);
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.form__req { color: var(--pink); }
.form__opt { color: var(--muted); font-weight: 400; font-size: 14px; }
.form__note { font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; }
.form__status.is-err { background: rgba(255,95,162,.1); border: 1px solid rgba(255,95,162,.45); color: #ffd0e4; }
.form__status.is-ok { background: rgba(80,200,120,.1); border: 1px solid rgba(80,200,120,.45); }
.form__alt { color: var(--muted); font-size: 15px; }
@media (max-width: 480px) { .form { padding: 18px; } }
