/* habibti's website: the app's own look. Pearl and ink on paper, the planet characters, Geist,
   and blue only where messages are (as in the app). */

:root {
  --paper: #F7F7F5;
  --white: #FFFFFF;
  --ink: #0B0B0B;
  --ink-2: #3A3A38;
  --mute: #8A8A86;
  --line: #E4E4E0;
  --pearl: #ECECEA;
  --bubble: #3B82F6;
  --bubble-in: #ECECEA;
  --green: #34C759;
  --red: #FF3B30;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; font-weight: 600; }
h1 { font-size: clamp(56px, 11vw, 148px); }
h1 em, h2 em { font-size: 1.08em; }
h2 { font-size: clamp(38px, 6vw, 76px); }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }

/* Planets (main.js draws them into [data-planet]). */
[data-planet] { display: inline-block; line-height: 0; }
[data-planet] svg { width: 100%; height: 100%; overflow: visible; }

/* Buttons. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  border: 0;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; margin-top: -2px; }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 30px -12px rgba(0,0,0,.6); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 18px 40px -14px rgba(0,0,0,.6); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 64px; padding: 0 34px; font-size: 18px; }

/* Nav. */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 56px; padding: 0 10px 0 16px; border-radius: 999px;
  background: rgba(247,247,245,.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 30px -18px rgba(0,0,0,.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.03em; text-decoration: none; }
.logo { width: 30px; height: 30px; }
.links { display: flex; gap: 26px; font-size: 14px; color: var(--ink-2); }
.links a { text-decoration: none; transition: color .2s; }
.links a:hover { color: var(--ink); }
@media (max-width: 760px) { .links { display: none; } }

/* Hero. */
.hero {
  position: relative; min-height: 100svh; padding: 120px var(--gutter) 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(1200px 700px at 50% 30%, #FFFFFF 0%, var(--paper) 60%);
  overflow: hidden;
}
.hero-planet { width: clamp(160px, 24vw, 260px); height: clamp(160px, 24vw, 260px); margin-bottom: 18px; filter: drop-shadow(0 40px 40px rgba(0,0,0,.14)); cursor: pointer; transition: transform .4s var(--ease); }
.hero-planet:hover { transform: scale(1.04) rotate(-3deg); }
.hero-planet.boop { animation: boop .6s var(--ease); }
@keyframes boop { 30% { transform: scale(.9, 1.08); } 60% { transform: scale(1.06, .95); } }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.eyebrow.light { color: rgba(255,255,255,.55); }
.lede { max-width: 620px; margin: 26px auto 0; font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); line-height: 1.45; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--mute); }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.moon { position: absolute; width: 56px; height: 56px; opacity: .9; animation: drift 14s ease-in-out infinite; }
.moon:nth-child(1) { left: 9%; top: 24%; width: 64px; height: 64px; animation-delay: -2s; }
.moon:nth-child(2) { right: 11%; top: 19%; animation-delay: -6s; }
.moon:nth-child(3) { left: 15%; bottom: 17%; width: 46px; height: 46px; animation-delay: -9s; }
.moon:nth-child(4) { right: 15%; bottom: 22%; width: 70px; height: 70px; animation-delay: -4s; }
.moon:nth-child(5) { left: 47%; top: 11%; width: 34px; height: 34px; animation-delay: -11s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(10px, -16px) rotate(4deg); } 66% { transform: translate(-8px, 10px) rotate(-3deg); } }
@media (max-width: 700px) { .moon:nth-child(2), .moon:nth-child(5) { display: none; } .moon { width: 40px !important; height: 40px !important; } }
.scroll-cue { position: absolute; bottom: 28px; width: 26px; height: 42px; border-radius: 20px; box-shadow: 0 0 0 1.5px var(--line) inset; display: flex; justify-content: center; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--ink-2); margin-top: 8px; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Sections. */
section { scroll-margin-top: 90px; }
.block {
  max-width: 1180px; margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center;
}
.block.flip .copy { order: 2; }
@media (max-width: 880px) { .block { grid-template-columns: 1fr; } .block.flip .copy { order: 0; } }
.copy h2 { margin-bottom: 22px; }
.copy p { color: var(--ink-2); font-size: 19px; max-width: 520px; }
.copy p + p { margin-top: 14px; }
.copy .small { font-size: 15px; color: var(--mute); }
.copy.center { text-align: center; margin: 0 auto; }
.copy.center p { margin-left: auto; margin-right: auto; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9'/%3E%3C/svg%3E"); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Reveal on scroll. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* The phone with the chat demo. */
.phone {
  width: min(400px, 100%); margin: 0 auto; height: 560px; border-radius: 44px; background: var(--white);
  box-shadow: 0 0 0 10px #111, 0 0 0 11px #2a2a2a, 0 50px 90px -30px rgba(0,0,0,.45);
  display: flex; flex-direction: column; overflow: hidden;
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 26px 20px 14px; border-bottom: 1px solid #F0F0EE; }
.phone-top .avatar { width: 38px; height: 38px; }
.phone-top b { display: block; font-size: 15px; }
.phone-top small { color: var(--mute); font-size: 12px; }
.msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 78%; padding: 9px 14px; border-radius: 20px; font-size: 15px; line-height: 1.35; animation: pop .45s var(--ease) both; }
.msg.me { align-self: flex-end; background: var(--bubble); color: white; border-bottom-right-radius: 6px; transform-origin: right bottom; }
.msg.bot { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 6px; transform-origin: left bottom; }
.msg.sys { align-self: center; background: none; color: var(--mute); font-size: 12px; padding: 4px; display: flex; align-items: center; gap: 6px; }
.msg.sys .mini { width: 18px; height: 18px; }
.msg.typing { display: flex; gap: 4px; padding: 13px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #A5A5A1; animation: dot 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }
.phone-input { margin: 10px 14px 18px; height: 40px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line) inset; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; color: #B5B5B1; font-size: 15px; }
.phone-input i { width: 28px; height: 28px; border-radius: 50%; background: var(--bubble); }

/* The team row. */
.team { padding: 20px var(--gutter) 40px; text-align: center; }
.team-row { display: flex; justify-content: center; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; }
.team figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.team figure > span { width: 86px; height: 86px; filter: drop-shadow(0 16px 18px rgba(0,0,0,.12)); }
.team figcaption { font-weight: 600; font-size: 15px; display: grid; }
.team figcaption small { font-weight: 400; color: var(--mute); font-size: 13px; }
.team .joining { opacity: 0; transform: scale(.3) translateY(30px); transition: all .9s cubic-bezier(.34, 1.56, .64, 1); }
.team .joining.joined { opacity: 1; transform: none; }
.team-note { margin-top: 28px; color: var(--mute); font-size: 15px; }

/* The call card. */
.call {
  width: min(380px, 100%); margin: 0 auto; padding: 44px 28px 32px; border-radius: 40px; text-align: center;
  background: linear-gradient(170deg, #1C1C1C, #050505); color: white;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.55);
}
.call-face span { width: 150px; height: 150px; }
.call-face { animation: breathe 3s ease-in-out infinite; }
.call.talking .call-face { animation-duration: 1.1s; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.call-who { margin-top: 16px; font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.call-who small { display: block; font: 400 14px var(--mono); color: rgba(255,255,255,.5); margin-top: 4px; }
.wave { display: flex; justify-content: center; align-items: center; gap: 5px; height: 48px; margin: 22px 0 10px; }
.wave i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.85); transition: height .12s; }
.call-line { min-height: 48px; font-size: 16px; color: rgba(255,255,255,.75); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.2; }
.call-buttons { display: flex; justify-content: center; gap: 22px; margin-top: 26px; }
.cb { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cb.end { background: var(--red); }

/* Computers. */
.computers { padding: clamp(80px, 12vw, 150px) var(--gutter); background: var(--white); border-top: 1px solid #EFEFEC; border-bottom: 1px solid #EFEFEC; }
.computers .copy { max-width: 760px; }
.monitor { max-width: 900px; margin: 60px auto 0; }
.screen { aspect-ratio: 16 / 10; border-radius: 22px; padding: 14px; background: #0B0B0B; box-shadow: 0 50px 100px -40px rgba(0,0,0,.5); }
.grid { height: 100%; border-radius: 10px; background: linear-gradient(160deg, #F7F7F5 0%, #DCDCD8 45%, #A9A9A5 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
.win { position: relative; border-radius: 8px; background: rgba(255,255,255,.9); padding: 28px 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); }
.win::before { content: ""; position: absolute; top: 10px; left: 12px; width: 32px; height: 8px; background: radial-gradient(circle at 4px 4px, #FF5F57 3.5px, transparent 4px), radial-gradient(circle at 16px 4px, #FEBC2E 3.5px, transparent 4px), radial-gradient(circle at 28px 4px, #28C840 3.5px, transparent 4px); }
.win b { font-size: clamp(10px, 1.4vw, 14px); font-weight: 600; letter-spacing: -.01em; }
.win i { display: block; height: 7px; border-radius: 4px; background: #E7E7E3; animation: load 3s ease-in-out infinite; transform-origin: left; }
.win:nth-child(2) i { animation-delay: .7s; } .win:nth-child(3) i { animation-delay: 1.4s; } .win:nth-child(4) i { animation-delay: 2.1s; }
@keyframes load { 0% { transform: scaleX(.2); } 50% { transform: scaleX(1); } 100% { transform: scaleX(.2); } }
.cursor { position: absolute; width: 14px; height: 20px; left: 30%; top: 55%; background: var(--ink); clip-path: polygon(0 0, 100% 70%, 45% 70%, 30% 100%); animation: roam 6s ease-in-out infinite; }
@keyframes roam { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(70px, -20px); } 60% { transform: translate(20px, 18px); } }
.stand { width: 18%; height: 60px; margin: 0 auto; background: linear-gradient(#D8D8D4, #BDBDB8); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.trio { max-width: 1100px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .trio { grid-template-columns: 1fr; } }
.card { padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px #ECECE8 inset; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* Your plan. */
.plan { padding: clamp(40px, 6vw, 80px) var(--gutter); }
.plan-inner {
  max-width: 1180px; margin: 0 auto; padding: clamp(50px, 8vw, 110px) clamp(28px, 7vw, 100px); border-radius: 40px;
  background: radial-gradient(900px 500px at 85% 0%, #2A2A2A 0%, #0B0B0B 60%); color: white; position: relative; overflow: hidden;
}
.plan-inner h2 { max-width: 900px; }
.plan-inner > p { max-width: 640px; margin-top: 24px; font-size: 19px; color: rgba(255,255,255,.72); }
.plan-rows { margin-top: 44px; display: grid; gap: 0; max-width: 700px; }
.plan-rows div { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.plan-rows b { width: 120px; flex: none; font: 500 13px/1.8 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.plan-rows span { font-size: 17px; }
.tm { margin-top: 34px; font-size: 13px; color: rgba(255,255,255,.4); max-width: 680px; }

/* Memory. */
.memory { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fact {
  padding: 14px 20px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px #ECECE8 inset, 0 14px 30px -20px rgba(0,0,0,.3);
  font-size: 16px; animation: float 6s ease-in-out infinite;
}
.fact:nth-child(2) { animation-delay: -1.5s; } .fact:nth-child(3) { animation-delay: -3s; } .fact:nth-child(4) { animation-delay: -4.5s; } .fact:nth-child(5) { animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* The pet section's desk. */
.desk { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; background: linear-gradient(160deg, #EDEDEA, #CFCFCB); box-shadow: 0 0 0 1px #E2E2DE inset; overflow: hidden; }
.desk-pet { position: absolute; right: 9%; bottom: 12%; width: 74px; height: 74px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.2)); animation: hop 4s ease-in-out infinite; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-14px); } 90% { transform: translateY(0) scale(1.05, .95); } }
.desk-card { position: absolute; right: 7%; bottom: 36%; width: min(270px, 70%); padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); display: grid; gap: 4px; font-size: 14px; }
.desk-card b { font-size: 13px; }
.desk-card span { color: var(--ink-2); }

/* Trust and FAQ. */
.trust { padding: clamp(80px, 12vw, 150px) var(--gutter); }
.faq { padding: 0 var(--gutter) clamp(80px, 12vw, 150px); }
.qs { max-width: 780px; margin: 50px auto 0; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 28px; transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 680px; }

/* Download. */
.download { padding: clamp(80px, 12vw, 150px) var(--gutter); text-align: center; background: radial-gradient(900px 500px at 50% 100%, #FFFFFF, var(--paper)); }
.gather { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 22px); margin-bottom: 40px; }
.gather span { width: 64px; height: 64px; animation: hop 3.2s ease-in-out infinite; }
.gather span:nth-child(2) { animation-delay: .2s; } .gather span:nth-child(4) { animation-delay: .4s; } .gather span:nth-child(5) { animation-delay: .6s; }
.gather .gather-main { width: 120px; height: 120px; animation-delay: .1s; }
.download h2 { margin-bottom: 36px; }
.steps { list-style: none; padding: 0; margin: 64px auto 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; text-align: left; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding: 22px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px #ECECE8 inset; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font: 500 13px var(--mono); color: var(--mute); }
.steps b { font-size: 17px; }
.steps span { color: var(--ink-2); font-size: 15px; }

/* Footer. */
.foot { padding: 40px var(--gutter) 50px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand small { color: var(--mute); margin-left: 6px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.copy-r { width: 100%; color: var(--mute); font-size: 13px; }

/* The pet that walks the page. */
.pet {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 68px; height: 68px; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,.22)); transition: transform .35s var(--ease);
}
.pet span { width: 100%; height: 100%; }
.pet:hover { transform: translateY(-4px) scale(1.06); }
.pet.boop { animation: boop .6s var(--ease); }
.pet.hidden { transform: translateY(200%); opacity: 0; pointer-events: none; }
.pet-say {
  position: fixed; right: 26px; bottom: 102px; z-index: 60; max-width: 250px; padding: 12px 16px; border-radius: 18px 18px 6px 18px;
  background: var(--ink); color: white; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.96); transform-origin: right bottom;
  transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none;
}
.pet-say.on { opacity: 1; transform: none; }

/* Plain pages (privacy, terms, brand). */
.doc { max-width: 760px; margin: 0 auto; padding: 140px var(--gutter) 100px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); margin-bottom: 14px; }
.doc .meta { color: var(--mute); font: 400 14px var(--mono); margin-bottom: 40px; }
.doc h2 { font-size: 28px; margin: 48px 0 14px; letter-spacing: -.025em; }
.doc h3 { margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc .note { padding: 16px 20px; border-radius: 14px; background: #FFF8E6; box-shadow: 0 0 0 1px #F2E3B8 inset; color: #6B5310; font-size: 15px; margin-bottom: 30px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.swatch { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px #E6E6E2; background: var(--white); }
.swatch i { display: block; height: 90px; }
.swatch div { padding: 10px 12px; font-size: 13px; display: grid; }
.swatch small { font-family: var(--mono); color: var(--mute); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.logos a { display: grid; place-items: center; gap: 12px; padding: 28px; border-radius: 18px; text-decoration: none; font-size: 13px; box-shadow: 0 0 0 1px #E6E6E2; background: var(--white); }
.logos a.dark { background: var(--ink); color: white; }
.logos img { width: 96px; height: 96px; }

/* The film (index.html #film). */
.film { padding: clamp(70px, 10vw, 130px) var(--gutter) 0; }
.film .copy { margin-bottom: 36px; }
.film-frame { width: min(1080px, 100%); margin: 0 auto; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .55), 0 0 0 1px #ECECE8; aspect-ratio: 16 / 9; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* Pricing (index.html #pricing; plans-live.js fills it in). */
.pricing { padding: clamp(80px, 12vw, 150px) var(--gutter); }
.pricing .copy { margin-bottom: 40px; }
.pricing .copy .small { margin: 0 auto 26px; max-width: 560px; }
.pricing .period { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.pricing .period button { border: 0; background: none; font: 500 15px/1 var(--sans); color: var(--ink-2); padding: 11px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pricing .period button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.pricing .period button span { font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 4px 7px; border-radius: 999px; background: #E7F6EC; color: #22693A; }
.pricing .plan-cards { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pricing .plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px #ECECE8; text-align: left; }
.pricing .plan-card .face { width: 52px; height: 52px; margin-bottom: 16px; }
.pricing .plan-card h3 { font-size: 30px; letter-spacing: -.02em; }
.pricing .plan-card .for { color: var(--ink-2); font-size: 15px; margin: 6px 0 20px; }
.pricing .plan-card .price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.pricing .plan-card .price b { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.pricing .plan-card .price span { color: var(--mute); font-size: 15px; }
.pricing .plan-card .billed { color: var(--mute); font-size: 13px; margin: 8px 0 20px; min-height: 1em; }
.pricing .plan-card .btn { width: 100%; justify-content: center; }
.pricing .plan-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; }
.pricing .plan-card li { display: flex; gap: 10px; align-items: flex-start; }
.pricing .plan-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pricing .plan-card.best { background: var(--ink); color: var(--white); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.pricing .plan-card.best .for, .pricing .plan-card.best .price span, .pricing .plan-card.best .billed { color: rgba(255, 255, 255, .6); }
.pricing .plan-card.best .btn-ink { background: var(--white); color: var(--ink); }
.pricing .plan-card.best li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.pricing .badge { position: absolute; top: 24px; right: 24px; margin: 0; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pricing-fine { text-align: center; color: var(--mute); font-size: 13px; margin: 28px auto 0; }
@media (max-width: 860px) {
  .pricing .plan-cards { grid-template-columns: 1fr; max-width: 440px; }
  .pricing .plan-card.best { order: -1; }
  .film-frame { border-radius: 18px; }
}
