/* Pip Living, v5 "daybreak". Shared styles for the company pages.
   Product pages (/products/*, /streamshare/*) and legal pages keep styles.css. */

:root {
  --night: #120f26;
  --night-2: #1e1a40;
  --paper: #f6f1e8;
  --paper-2: #ece3d3;
  --white: #fff;
  --sun: #ffc24a;
  --coral: #ff6b3d;
  --dusk: #8c6cf2;
  --muted: #5b5668;
  --pip: #397067;
  --rota: #5a43c9;
  --rota-fill: #9780f5;
  --stream: #b0285a;
  --stream-fill: #e0457b;
  --g-sun: linear-gradient(90deg, #ffd66b 0%, #ff8a3d 50%, #f0508c 100%);
  --g-sun-deep: linear-gradient(90deg, #e5532a 0%, #c02a5e 100%);
  --g-band: linear-gradient(90deg, #ffd66b 0%, #ffb547 55%, #ff8a3d 100%);
  --g-pip: linear-gradient(135deg, #3a7669 0%, #224b45 100%);
  --g-rota: linear-gradient(135deg, #6e58de 0%, #4532a8 100%);
  --g-stream: linear-gradient(135deg, #c3346a 0%, #8c1d4a 100%);
  --g-coral: linear-gradient(135deg, #ffa36b 0%, #ff7a7a 100%);
  --g-cta: linear-gradient(160deg, #ffd66b 0%, #ff8a3d 45%, #ef5a86 100%);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1312px;
  --r-xl: clamp(28px, 3vw, 40px);
  --r-l: clamp(22px, 2.4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font: 400 17px/1.55 var(--text);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--sun); color: var(--night); padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.on-paper :focus-visible, .paper :focus-visible { outline-color: var(--night); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ─────────────────────────────────────────────── */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; }
.h-xl { font-size: clamp(38px, 10vw, 144px); }
.h-l { font-size: clamp(48px, 7.8vw, 112px); }
.h-m { font-size: clamp(40px, 5.8vw, 84px); line-height: 0.95; letter-spacing: -0.04em; }
.h-s { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.035em; }
.h-xs { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -0.03em; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.16em; }
.grad { background: var(--g-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-deep { background: var(--g-sun-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.body-l { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.on-dark .muted, .night .muted { color: rgba(255, 255, 255, 0.74); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase;
}
.label .mark { width: 20px; height: 20px; }

/* ── Mark ─────────────────────────────────────────────── */
.mark { display: inline-block; flex: none; width: 30px; height: 30px; }
.mark svg { width: 100%; height: 100%; display: block; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none; border: 1.5px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { font-size: 1.05em; }
.btn-sun { background: var(--sun); color: var(--night); }
.btn-white { background: var(--white); color: var(--night); }
.btn-night { background: var(--night); color: var(--white); }
.btn-ghost-light { color: var(--white); border-color: rgba(255, 255, 255, 0.34); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); }
.btn-ghost { color: var(--night); border-color: rgba(18, 15, 38, 0.3); }
.btn-ghost:hover { background: rgba(18, 15, 38, 0.06); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Header ───────────────────────────────────────────── */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: clamp(16px, 2vw, 28px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.logo .word { font: 800 26px/1 var(--display); letter-spacing: -0.03em; }
.nav-links {
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82); text-decoration: none; font: 500 15px/1 var(--text);
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.head-cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; color: var(--white); background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18); font: 600 15px/1 var(--text); cursor: pointer;
}
.menu-btn .bars { display: grid; gap: 4px; }
.menu-btn .bars i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }

@media (max-width: 900px) {
  .logo .word { font-size: 22px; }
  .logo .mark { width: 24px; height: 24px; }
  .head-cta { display: none; }
  .js .menu-btn { display: inline-flex; }
  .nav-links { order: 3; flex-wrap: wrap; }
  .js .nav-links {
    display: none; position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px;
    background: rgba(30, 26, 64, 0.96);
  }
  .js .nav-open .nav-links { display: flex; }
  .js .nav-links a { min-height: 52px; padding: 0 18px; font-size: 17px; }
  .site-head .wrap { position: relative; flex-wrap: wrap; }
  .nav-links .nav-cta-m { display: block; background: var(--sun); color: var(--night); text-align: center; font-weight: 600; margin-top: 6px; }
}
@media (min-width: 901px) { .nav-links .nav-cta-m { display: none; } }

/* ── Sections ─────────────────────────────────────────── */
.night { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.sect { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sect-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: clamp(36px, 4.4vw, 64px); }
.sect-head .stack { display: grid; gap: 20px; }
.sect-head > p { max-width: 420px; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.glow-dusk { background: rgba(140, 108, 242, 0.45); }
.glow-coral { background: rgba(255, 107, 61, 0.55); }

/* ── Hero (home) ──────────────────────────────────────── */
.hero { --stage: clamp(300px, 34vw, 470px); text-align: center; isolation: isolate; padding-bottom: calc(var(--stage) + clamp(56px, 9vw, 150px)); }
.hero .glow-dusk { width: 1200px; height: 560px; left: 50%; top: -300px; transform: translateX(-50%); }
.hero-copy { position: relative; z-index: 3; padding-top: clamp(110px, 10.4vw, 150px); display: grid; justify-items: center; gap: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  font: 500 14px/1.2 var(--text); color: rgba(255, 255, 255, 0.86);
}
.pill .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--g-sun); flex: none; }
.pill .dot.sm { width: 10px; height: 10px; background: var(--sun); }
.hero h1 { max-width: 1300px; }
.hero .lede { max-width: 660px; color: rgba(255, 255, 255, 0.76); }
.hero .btns { justify-content: center; }

.horizon { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; z-index: 1; }
.sun {
  position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a 0%, #ffb547 35%, #ff6b3d 70%, #e2467f 100%);
}
.halo { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 61, 0.75), rgba(226, 70, 127, 0.45) 45%, rgba(107, 69, 201, 0) 100%); filter: blur(60px); }
.ring { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.09); }

.hero .halo { width: 1700px; height: 1000px; bottom: -880px; }
.hero .sun { width: min(1200px, 150vw); aspect-ratio: 1; bottom: calc(-1 * min(1200px, 150vw) + clamp(250px, 26vw, 380px)); }
.hero .ring.r1 { width: 1500px; height: 1500px; bottom: -1240px; }
.hero .ring.r2 { width: 1820px; height: 1820px; bottom: -1400px; }
.hero .ring.r3 { width: 2160px; height: 2160px; bottom: -1570px; }

.stage { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1000px, 100%); height: var(--stage); z-index: 2; }
.stage .phone { position: absolute; bottom: auto; }
.stage .p-left { left: 4%; top: 18%; transform: rotate(-7deg); }
.stage .p-mid { left: 50%; top: 0; transform: translateX(-50%); }
.stage .p-right { right: 4%; top: 12%; transform: rotate(7deg); }
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px; color: var(--white); font: 500 15px/1.2 var(--text);
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sun); color: var(--night); font: 700 13px/1 var(--text); flex: none; }
.hero .fc-1 { left: max(3%, calc(50% - 670px)); bottom: calc(var(--stage) - 20px); }
.hero .fc-2 { right: max(3%, calc(50% - 670px)); bottom: calc(var(--stage) - 60px); }
@media (max-width: 1100px) { .float-chip { display: none; } }
@media (max-width: 600px) { .hero .btns { width: 100%; } .hero .btns .btn { flex: 1 1 100%; } }

/* ── Phones ───────────────────────────────────────────── */
.phone {
  --w: 290px;
  width: var(--w); aspect-ratio: 290 / 600; border-radius: calc(var(--w) * 0.186);
  background: var(--night-2); padding: calc(var(--w) * 0.031);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 80px rgba(8, 5, 26, 0.5);
}
.phone .screen {
  width: 100%; height: 100%; border-radius: calc(var(--w) * 0.152); overflow: hidden; position: relative;
  background: var(--white);
}
.phone .screen img { width: 100%; height: auto; }
.phone .island { position: absolute; top: calc(var(--w) * 0.04); left: 50%; transform: translateX(-50%); width: 32%; height: calc(var(--w) * 0.09); border-radius: 99px; background: #000; }
.splash { padding: calc(var(--w) * 0.29) calc(var(--w) * 0.083) 0; color: var(--white); text-align: left; height: 100%; }
.splash .k { font: 600 calc(var(--w) * 0.041)/1 var(--text); letter-spacing: 0.12em; opacity: 0.85; }
.splash .t { font: 800 calc(var(--w) * 0.138)/0.95 var(--display); letter-spacing: -0.03em; margin-top: calc(var(--w) * 0.05); }
.splash .rows { display: grid; gap: calc(var(--w) * 0.028); margin-top: calc(var(--w) * 0.1); }
.splash .row { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--w) * 0.045) calc(var(--w) * 0.05); border-radius: calc(var(--w) * 0.062); background: rgba(255, 255, 255, 0.16); font: 600 calc(var(--w) * 0.052)/1 var(--text); }
.splash .row.on { background: rgba(255, 255, 255, 0.95); color: var(--night); }
.splash .bars { display: flex; gap: 3px; }
.splash .bars i { width: calc(var(--w) * 0.021); height: calc(var(--w) * 0.055); border-radius: 3px; background: rgba(255, 255, 255, 0.95); }
.splash .bars i.off { background: rgba(255, 255, 255, 0.25); }
.splash .note { font: 400 calc(var(--w) * 0.048)/1.4 var(--text); margin-top: calc(var(--w) * 0.08); opacity: 0.9; }
.phone .splash-stream { background: linear-gradient(120deg, #e8558c, #a8245a); }
.phone .splash-rota { background: linear-gradient(120deg, #8f79f2, #4c37b8); }

/* ── Ticker ───────────────────────────────────────────── */
.ticker { position: relative; z-index: 5; height: 70px; overflow-x: clip; overflow-y: visible; }
.ticker .band {
  position: absolute; left: -5%; right: -5%; top: -64px; transform: rotate(-2.2deg);
  background: var(--g-band); overflow: hidden; padding: 22px 0;
}
.ticker .track { display: flex; width: max-content; }
.ticker ul { display: flex; align-items: center; gap: 34px; padding: 0 17px; margin: 0; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 34px; font: 800 clamp(22px, 2.4vw, 34px)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.ticker li .mark { width: 30px; height: 30px; }

/* ── Manifesto ────────────────────────────────────────── */
.manifesto { display: grid; grid-template-columns: 200px 1fr; gap: 64px; }
.manifesto .side { display: grid; gap: 14px; align-content: start; }
.manifesto .num { font: 500 14px/1 var(--display); color: var(--muted); }
.statement { font: 500 clamp(36px, 5.3vw, 76px)/1.12 var(--display); letter-spacing: -0.035em; }
.statement .soft { color: #6f6a78; }
.statement .it { font-size: 1.2em; line-height: 1; }
.chip {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5em; vertical-align: middle;
  padding: 0.12em 0.9em 0.12em 0.14em; border-radius: 999px; color: var(--white);
  font: 600 clamp(15px, 1.65vw, 24px)/1 var(--text); letter-spacing: 0; transform: translateY(-0.12em);
}
.chip .dotmark { display: inline-grid; place-items: center; width: 2.05em; height: 2.05em; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.chip .dotmark .mark { width: 1em; height: 1em; }
.chip-pip { background: var(--pip); }
.chip-rota { background: var(--rota); }
.chip-stream { background: var(--stream); }
.manifesto .foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; margin-top: 48px; }
.manifesto .foot p { max-width: 520px; color: var(--muted); }

@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; gap: 24px; }
}

/* ── App cards ────────────────────────────────────────── */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: var(--white);
  min-height: 840px; padding: 32px; display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; isolation: isolate;
}
.app-card.pip { background: var(--g-pip); }
.app-card.rota { background: var(--g-rota); }
.app-card.stream { background: var(--g-stream); }
.app-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.moment { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font: 600 14px/1 var(--text); }
.moment .mark { width: 16px; height: 16px; }
.round-arr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--night); font: 600 18px/1 var(--text); transition: transform .2s ease; }
.app-card:hover .round-arr { transform: rotate(-12deg) scale(1.06); }
.app-card h3 { font: 800 clamp(44px, 4vw, 58px)/0.95 var(--display); letter-spacing: -0.035em; }
.app-card p { color: var(--white); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.3 var(--text); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; }
.app-card .fine { font: 500 13px/1.45 var(--text); color: var(--white); }
.app-card .go { font: 600 15px/1 var(--text); text-decoration: underline; text-underline-offset: 4px; }
.app-card .phone { --w: 290px; position: absolute; left: 50%; bottom: -190px; margin-left: -145px; z-index: -1; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.app-card.pip .phone { transform: rotate(-6deg); }
.app-card.stream .phone { transform: rotate(6deg); }
.app-card:hover .phone { transform: translateY(-14px) rotate(0deg); }
.app-card .light { background: linear-gradient(180deg, #f1edfe, #dcd3fd); padding: calc(var(--w) * 0.2) calc(var(--w) * 0.055) 0; height: 100%; }
.app-card .light.st { background: linear-gradient(180deg, #fdecf2, #f9d3e1); }
.app-card .light .q { font: 800 calc(var(--w) * 0.083)/1 var(--display); letter-spacing: -0.02em; margin-bottom: 12px; }
.app-card .light .r { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 13px 14px; border-radius: 16px; background: var(--white); font: 600 15px/1 var(--text); }
.app-card .light.rt { color: var(--rota); }
.app-card .light.st { color: var(--stream); }
.app-card .light .r.on { background: var(--stream); color: var(--white); }
.app-card .light .r small { font: 500 12px/1 var(--text); opacity: .75; }
.app-card .light .bars { display: flex; gap: 3px; }
.app-card .light .bars i { width: 6px; height: 16px; border-radius: 3px; background: var(--rota-fill); }
.app-card .light .bars i.off { background: rgba(151, 128, 245, 0.25); }

@media (max-width: 1100px) { .apps-grid { grid-template-columns: 1fr; } .app-card { min-height: 0; padding-bottom: 300px; } .app-card .phone { bottom: -330px; } }
@media (max-width: 600px) { .app-card { padding: 24px 24px 260px; } .app-card .phone { --w: 240px; margin-left: -120px; bottom: -250px; } }

/* ── Bento (promises) ─────────────────────────────────── */
.bento { display: grid; grid-template-columns: 764fr 524fr; gap: 24px; }
.bento .row2 { grid-column: 1 / -1; display: grid; grid-template-columns: 524fr 764fr; gap: 24px; }
.tile { position: relative; overflow: hidden; border-radius: 36px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 400px; isolation: isolate; }
.tile h3 { font: 800 clamp(40px, 4.4vw, 64px)/0.95 var(--display); letter-spacing: -0.04em; }
.tile.big h3 { font-size: clamp(64px, 10.4vw, 150px); line-height: 0.9; }
.tile p { max-width: 460px; }
.tile-sun { background: linear-gradient(135deg, #ffd66b 0%, #ffa23d 60%, #ff7a45 100%); color: var(--night); }
.tile-night { background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.tile-coral { background: var(--g-coral); color: var(--night); }
.tile-night p, .tile .on-dark { color: rgba(255, 255, 255, 0.8); }
.tile .deco { position: absolute; z-index: -1; border-radius: 50%; }
.tile-sun .deco { width: 360px; height: 360px; right: -60px; top: -120px; background: rgba(255, 255, 255, 0.28); }
.orbit { position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(140, 108, 242, 0.55); }
.toggle { position: absolute; top: 40px; right: 40px; width: 96px; height: 56px; border-radius: 28px; background: var(--white); }
.toggle::after { content: ""; position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--night); }
.quote-chip { position: absolute; top: 40px; left: 40px; right: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; width: fit-content; max-width: calc(100% - 80px); padding: 12px 20px; border-radius: 28px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.quote-chip q { font: italic 400 20px/1.25 var(--serif); quotes: "“" "”"; }
.quote-chip span { font: 500 13px/1 var(--text); color: rgba(255, 255, 255, 0.7); }
.ico-line { display: flex; align-items: center; gap: 12px; margin-top: 56px; color: rgba(255, 255, 255, 0.74); font: 500 15px/1.4 var(--text); }
.ico-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

@media (max-width: 1000px) {
  .bento, .bento .row2 { grid-template-columns: 1fr; }
  .tile { min-height: 300px; padding: 28px; }
  .tile.big { min-height: 380px; }
  .toggle { top: 28px; right: 28px; }
  .quote-chip { position: static; margin-bottom: auto; max-width: 100%; }
}

/* ── Research split ───────────────────────────────────── */
.split { display: grid; grid-template-columns: var(--cols, 560fr 672fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.art { position: relative; aspect-ratio: 1; border-radius: 44px; overflow: hidden; background: linear-gradient(180deg, #2a2257 0%, #120f26 100%); }
.art .ring { border-color: rgba(255, 255, 255, 0.1); }
.art .semi { position: absolute; left: 12.5%; right: 12.5%; top: 41%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #ffe08a 0%, #ff9a3d 50%, #f0508c 100%); }
.art .line { position: absolute; left: 0; right: 0; top: calc(41% + 37.5% - 1px); height: 4px; background: rgba(255, 255, 255, 0.6); }
.art .tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--white); font: 600 14px/1 var(--text); color: var(--night); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.art .tag i { width: 18px; height: 18px; border-radius: 50%; }
.art .cap { position: absolute; left: 7%; bottom: 7%; color: rgba(255, 255, 255, 0.74); font: 500 14px/1.3 var(--text); }
.stand { background: var(--white); border-radius: 24px; padding: 22px 24px; display: grid; gap: 10px; max-width: 600px; }
.stand .k { font: 600 13px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stand p { font-weight: 500; }
.split .stack { display: grid; gap: 24px; justify-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .art { max-width: 560px; width: 100%; } }

/* ── CTA ──────────────────────────────────────────────── */
.cta { background: var(--g-cta); color: var(--night); position: relative; overflow: hidden; padding: clamp(96px, 10vw, 140px) 0; }
.cta .stack { display: grid; gap: 28px; position: relative; z-index: 2; }
.cta .lede { max-width: 620px; color: rgba(18, 15, 38, 0.82); }
.cta .ring { border: 1.5px solid rgba(255, 255, 255, 0.4); left: auto; transform: none; }
.cta .disc { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }

/* ── Footer ───────────────────────────────────────────── */
.site-foot { background: var(--night); color: var(--white); padding-top: clamp(64px, 7vw, 100px); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: grid; gap: 18px; max-width: 360px; justify-items: start; }
.foot-brand p { color: rgba(255, 255, 255, 0.74); }
.foot-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.foot-cols h2 { font: 600 13px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 500 17px/1.3 var(--text); }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 24px 40px; margin-top: 72px; color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 1.5; }
.wordmark { margin-top: 24px; height: clamp(96px, 23vw, 330px); overflow: hidden; }
.wordmark span { display: block; font: 800 clamp(104px, 26.8vw, 386px)/1 var(--display); letter-spacing: -0.06em; text-align: center; white-space: nowrap; }
@media (max-width: 800px) { .foot-legal { grid-template-columns: 1fr; } }

/* ── Inner page hero ──────────────────────────────────── */
.page-hero { min-height: clamp(640px, 60vw, 900px); isolation: isolate; }
.page-hero .glow-dusk { width: 1000px; height: 520px; left: -200px; top: -280px; }
.page-hero .copy { position: relative; z-index: 3; padding: clamp(130px, 12vw, 180px) 0 clamp(80px, 8vw, 120px); display: grid; gap: 28px; justify-items: start; max-width: 900px; }
.page-hero .copy .lede { color: rgba(255, 255, 255, 0.76); max-width: 640px; }
.page-hero.center .copy { margin: 0 auto; justify-items: center; text-align: center; max-width: 1100px; }
.page-hero .art-r { position: absolute; z-index: 1; right: 0; bottom: 0; width: min(46%, 640px); height: 100%; pointer-events: none; }

/* ── Generic cards ────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.card { border-radius: 36px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.card.tall { min-height: 400px; justify-content: space-between; }
.card .stack { display: grid; gap: 12px; }
.card-white { background: var(--white); }
.card-night { background: var(--night); color: var(--white); }
.card-night p { color: rgba(255, 255, 255, 0.78); }
.card-sun { background: linear-gradient(135deg, #ffd66b, #ff8a3d); }
.card-coral { background: var(--g-coral); }
.card-pip { background: var(--g-pip); color: var(--white); }
.card-rota { background: var(--g-rota); color: var(--white); }
.card-stream { background: var(--g-stream); color: var(--white); }
.card-pip p, .card-rota p, .card-stream p { color: var(--white); }
.card-glass { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--white); }
.card-glass p { color: rgba(255, 255, 255, 0.74); }
.big-num { font: 800 clamp(48px, 5vw, 72px)/1 var(--display); letter-spacing: -0.05em; }
.roman { font: italic 400 64px/1 var(--serif); opacity: 0.55; }
.tag-chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font: 600 13px/1 var(--text); }
.card-sun .tag-chip { background: rgba(18, 15, 38, 0.1); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { border-radius: 28px; padding: 28px 24px 32px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 16px; align-content: start; }
.step .n { font: 800 72px/1 var(--display); letter-spacing: -0.05em; }
.step .bar { width: 40px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); }
.step h3 { font: 800 24px/1.1 var(--display); letter-spacing: -0.03em; }
.step p { color: rgba(255, 255, 255, 0.74); font-size: 15px; }
.step.last { background: linear-gradient(135deg, #ffd66b, #ff8a3d); color: var(--night); border-color: transparent; }
.step.last p { color: rgba(18, 15, 38, 0.82); }
.step.last .bar { background: var(--night); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* checklist */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(18, 15, 38, 0.12); font: 500 18px/1.4 var(--text); }
.checks li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: var(--sun); font: 700 14px/1 var(--text); }

/* form */
.form-card { background: var(--white); border-radius: 36px; padding: clamp(28px, 3.4vw, 44px); box-shadow: 0 24px 60px rgba(18, 15, 38, 0.08); display: grid; gap: 20px; }
.form-card .head { display: flex; align-items: center; gap: 14px; }
.form-card .head .badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--night); }
.form-card .head .badge .mark { width: 26px; height: 26px; }
.field { display: grid; gap: 8px; }
.field label { font: 600 14px/1.2 var(--text); }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid rgba(18, 15, 38, 0.2);
  background: var(--paper); font: 400 16px/1.4 var(--text); color: var(--night);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--night); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .fields-2 { grid-template-columns: 1fr; } }
.form-status { min-height: 1.4em; font-weight: 500; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 28px; position: relative; padding-bottom: 40px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; background: rgba(255, 255, 255, 0.18); }
.timeline .n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); font: 800 22px/1 var(--display); }
.timeline li:first-child .n { background: linear-gradient(135deg, #ffd66b, #ff8a3d); color: var(--night); border: 0; }
.timeline h3 { font: 800 clamp(24px, 2.4vw, 32px)/1.05 var(--display); letter-spacing: -0.03em; margin: 10px 0 10px; }
.timeline p { color: rgba(255, 255, 255, 0.74); max-width: 600px; }

/* principle rows */
.principle { display: flex; gap: 28px; align-items: flex-start; }
.principle .ic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; }
.principle .ic .mark { width: 30px; height: 30px; }

/* details strip */
.details { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding: 56px 0; }
.details dt { font: 600 13px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.details dd { margin: 0; font: 800 26px/1.1 var(--display); letter-spacing: -0.02em; }

.empty { border: 2px dashed rgba(18, 15, 38, 0.28); border-radius: 36px; padding: 56px 48px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.empty .badge { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper-2); }
.empty .badge .mark { width: 34px; height: 34px; }

.band-strip { background: var(--g-band); padding: 56px 0; }
.band-strip .wrap { display: flex; gap: 24px 40px; align-items: center; flex-wrap: wrap; }
.band-strip .k { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--night); color: var(--white); font: 600 14px/1 var(--text); }
.band-strip .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.band-strip p { font: 500 clamp(22px, 2.2vw, 30px)/1.3 var(--display); letter-spacing: -0.015em; max-width: 1000px; flex: 1 1 520px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 24px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 clamp(18px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 26px/1 var(--text); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 760px; }

/* ── Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .4s; } .rise.d5 { animation-delay: .55s; }
  .sunrise { animation: sunrise 1.6s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } }
  @keyframes sunrise { from { opacity: 0; translate: 0 120px; } }
  .stage .phone { animation: phoneIn 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  .stage .p-mid { animation-delay: .5s; } .stage .p-left { animation-delay: .65s; } .stage .p-right { animation-delay: .75s; }
  @keyframes phoneIn { from { opacity: 0; translate: 0 120px; } }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* about hero tags */
.art-tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--white); color: var(--night); font: 600 16px/1 var(--text); transform: rotate(var(--r, 0deg)); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); z-index: 2; }
.art-tag i { width: 24px; height: 24px; border-radius: 50%; }
@media (max-width: 900px) { .page-hero .art-r { opacity: .35; width: 100%; } .art-tag { display: none; } }
.page-hero.center .copy { padding-bottom: clamp(200px, 20vw, 260px); }

/* number blocks: the one way we number things (steps, cards, reasons) */
.nb-wrap { display: grid; gap: 14px; justify-items: start; }
.nb { font: 800 clamp(56px, 5vw, 72px)/1 var(--display); letter-spacing: -0.05em; }
.nb-ink { color: var(--night); }
.card-white .nb.grad { background: var(--g-sun-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nb-bar { display: block; width: 40px; height: 3px; border-radius: 2px; background: currentColor; opacity: 0.3; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }

/* trust chips (static, always visible) */
.trust-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; color: var(--white); font: 500 15px/1.2 var(--text); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }

/* form hints */
.field .opt { font-weight: 500; color: var(--muted); margin-left: 6px; }

/* home: card without a site yet */
.app-card .go.soon { text-decoration: none; opacity: 0.9; font-weight: 500; }
.app-card .light p.q { color: inherit; }

/* short page hero (support) */
.page-hero.short { min-height: clamp(460px, 40vw, 600px); }

/* urgent help band */
.urgent { background: var(--g-coral); padding: 28px 0; }
.urgent .wrap { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.urgent .k { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--white); font: 600 14px/1 var(--text); }
.urgent p { font: 800 clamp(22px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -0.025em; }

/* support cards */
.support-card { min-height: 340px; }
@media (max-width: 1000px) { .support-card { min-height: 0; gap: 40px; } }

/* forced line breaks are for wide screens only */
@media (max-width: 600px) { .display br { display: none; } }
@media (max-width: 700px) { .page-hero.short { min-height: 0; } .page-hero.short .sun, .page-hero.short .halo { display: none; } }

/* icons, portrait, founder quote */
.ico { width: 30px; height: 30px; display: block; }
.portrait { margin: 0; position: relative; aspect-ratio: 480 / 580; border-radius: 44px; overflow: hidden; background: linear-gradient(160deg, #ffd66b, #ff8a3d 50%, #e2467f); }
.portrait::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.portrait img { position: absolute; left: 50%; bottom: 0; width: 112%; max-width: none; transform: translateX(-50%); }
.founder { margin: 0; display: grid; gap: 16px; }
.founder p { font: italic 400 clamp(24px, 2.4vw, 32px)/1.3 var(--serif); letter-spacing: -0.01em; }
.founder footer { font: 600 15px/1.3 var(--text); color: var(--muted); }
@media (max-width: 900px) { .portrait { max-width: 420px; width: 100%; } }

/* Pip Living logo (from Figma "logos", 28 Oct 2026) */
.logo img { display: block; height: 34px; width: auto; }
@media (max-width: 900px) { .logo img { height: 28px; } }
.wordmark { height: auto; padding: 8px 0 0; }
.wordmark img { display: block; width: calc(100% - 2 * var(--gutter)); max-width: 1312px; height: auto; margin: 0 auto -4%; }

/* ── Footer legal links (Privacy notice, Cookie policy, Terms of use, Cookie settings) ── */
.foot-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; }
.foot-links a, .foot-links .plc-set { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.86); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.foot-links a:hover, .foot-links .plc-set:hover { color: var(--white); }

/* ── Legal pages (/legal/*) ───────────────────────────── */
.legal-meta { margin-top: 20px; font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.legal-sect { padding-top: clamp(56px, 7vw, 96px); }
.legal { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: 24px; }
.legal-toc .k { font: 600 13px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; }
.legal-toc a { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 500; color: var(--night); border-left: 2px solid var(--paper-2); padding-left: 14px; }
.legal-toc a:hover { border-left-color: var(--coral); }
.prose { font-size: 17px; line-height: 1.65; color: var(--night); }
.prose h2 { font: 700 clamp(24px, 2.4vw, 30px)/1.15 var(--display); letter-spacing: -0.02em; margin: 56px 0 16px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #b8361a; text-underline-offset: 3px; }
.prose a:hover { color: var(--night); }
.prose code { font-size: 0.92em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose .tbl { overflow-x: auto; margin: 0 0 20px; border-radius: 16px; border: 1px solid var(--paper-2); background: var(--white); }
.prose .tbl:focus-visible { outline: 3px solid var(--dusk); outline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 620px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--paper-2); }
.prose th { font-weight: 600; background: var(--paper-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose .btn[disabled] { opacity: 0.5; cursor: default; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}
