:root {
  --paper: #111016;
  --paper-warm: #1b1921;
  --ink: #f7f4ee;
  --muted: #9b969f;
  --line: rgba(255, 255, 255, .13);
  --text: #bbb6c0;
  --text-soft: #9f9aa4;
  --purple: #af8add;
  --green: #43bd7f;
  --blue: #448ee5;
  --red: #df665f;
  --gold: #d3ae2c;
  --night: #09080d;
  --night-soft: #1b1921;
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { line-height: 1.65; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative;
  width: min(1320px, calc(100% - 48px));
  height: 92px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}

.wordmark { display: flex; align-items: center; gap: 11px; font: 600 18px/1 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.02em; }
.mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; }
.mark i { width: 9px; height: 9px; border-radius: 2.5px; }
.mark i:nth-child(1) { background: var(--green); }
.mark i:nth-child(2) { background: var(--blue); }
.mark i:nth-child(3) { background: var(--gold); }
.mark i:nth-child(4) { background: var(--red); }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a { color: var(--muted); transition: color .2s ease; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
}

.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.studio-hero { padding: 120px 0 140px; }
.studio-hero h1 { max-width: none; margin: 0; font: 500 clamp(56px, 8.2vw, 108px)/.94 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.065em; }
.studio-hero h1 em { color: var(--muted); font-style: normal; font-weight: 400; }
.lede { max-width: 540px; margin: 44px 0 0 auto; color: var(--text); font-size: clamp(18px, 2vw, 23px); }

.product-feature {
  min-height: 730px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border-radius: 32px;
  background: var(--night);
  color: #f8f5ef;
}
.product-copy { z-index: 2; padding: clamp(48px, 7vw, 86px); align-self: center; }
.product-label { display: flex; align-items: center; gap: 15px; color: #9b969f; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.product-label img { border-radius: 14px; }
.product-copy h2 { margin: 46px 0 8px; font: 600 clamp(43px, 5vw, 68px)/1 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.05em; }
.product-tagline { margin: 0 0 32px; color: #af8add; font-size: clamp(22px, 2.5vw, 31px); }
.product-copy > p:not(.product-tagline) { max-width: 470px; color: #bbb6c0; font-size: 17px; }
.text-link { display: inline-block; margin-top: 26px; color: #f8f5ef; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.phone-stage { position: relative; min-height: 730px; overflow: hidden; }
.phone-frame { display: block; overflow: hidden; border: 9px solid #27242c; border-radius: 52px; background: var(--night); box-shadow: 0 38px 90px rgba(0,0,0,.45); }
.phone-frame img { width: 100%; }
.phone-stage .phone-frame { position: absolute; width: 370px; left: 50%; top: 100px; transform: translateX(-45%) rotate(3deg); }
.color-orbit { position: absolute; border-radius: 38%; filter: blur(1px); opacity: .75; }
.orbit-green { width: 380px; height: 380px; left: -60px; top: 40px; background: var(--green); transform: rotate(24deg); }
.orbit-blue { width: 430px; height: 430px; right: -140px; bottom: -80px; background: var(--blue); transform: rotate(-17deg); }
.orbit-gold { width: 170px; height: 170px; right: 18px; top: 80px; background: var(--gold); transform: rotate(15deg); }


.site-footer { min-height: 220px; padding: 48px 0; display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; line-height: 1.6; }
.site-footer p span { color: var(--text-soft); }
.site-footer div { display: flex; gap: 26px; }
.site-footer a:hover { color: var(--ink); }

/* Product page */
.product-page { background: var(--night); color: #f7f4ee; }
.dark-header { position: relative; z-index: 10; border-color: rgba(255,255,255,.12); }
.dark-header nav a { color: #99949e; }
.dark-header nav a:hover, .dark-header nav a[aria-current="page"] { color: white; }
.board-hero { min-height: 838px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--night); }
.board-hero-copy { z-index: 2; align-self: center; padding: 64px max(48px, calc((100vw - 1180px) / 2)); padding-right: 30px; }
.hero-icon { border-radius: 22px; margin-bottom: 36px; }
.board-hero-copy .eyebrow { color: #9b969f; }
.board-hero-copy h1 { margin: 0; font: 500 clamp(46px, 4.4vw, 76px)/.98 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.065em; }
.board-hero-copy > p:not(.eyebrow) { max-width: 500px; margin: 34px 0; color: #bbb6c0; font-size: 21px; }
.status-pill { display: inline-block; padding: 10px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #d8d3dc; font-size: 13px; }
.board-hero-art { position: relative; min-width: 0; }
.hero-phone { position: absolute; z-index: 3; width: 390px; left: 42%; top: 80px; transform: translateX(-50%) rotate(2deg); }
.hero-wash { position: absolute; display: block; border-radius: 35%; opacity: .85; }
.hero-wash-green { width: 440px; height: 440px; left: -90px; top: 32px; background: var(--green); transform: rotate(24deg); }
.hero-wash-blue { width: 520px; height: 520px; right: -210px; bottom: -80px; background: var(--blue); transform: rotate(-19deg); }
.hero-wash-red { width: 180px; height: 180px; right: 2vw; top: 42px; background: var(--red); transform: rotate(18deg); }

.sense-section { padding: 150px 0; }
.sense-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.sense-grid h2 { margin: 0; font: 500 clamp(42px, 5.5vw, 70px)/1.02 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.055em; }
.sense-copy { color: #bbb6c0; font-size: 20px; }
.sense-copy p:first-child { margin-top: 0; color: #f5f1e9; }
.sense-board { margin: 96px 0 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.sense-board img { display: block; width: 100%; height: auto; border-radius: 18px; }
.callouts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.callouts li { display: flex; gap: 18px; align-items: flex-start; color: #bbb6c0; font-size: 17px; line-height: 1.45; }
.callouts li span { flex: none; width: 18px; height: 18px; margin-top: 5px; border-radius: 5px; }
.callouts li strong { display: block; margin-bottom: 4px; color: #f5f1e9; font-size: 15px; letter-spacing: .04em; }
.callouts li.green span { background: var(--green); }.callouts li.red span { background: var(--red); }
.callouts li.contested span { background: linear-gradient(135deg, var(--green), #3ea8b6, var(--blue)); }
.callouts li.tension span { background: linear-gradient(135deg, var(--red), #db8c4d, var(--gold)); }
.sense-board figcaption { grid-column: 1 / -1; margin-top: -24px; color: #918c96; font-size: 14px; }
.legend { margin-top: 100px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.legend-card { min-height: 175px; padding: 22px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; }
.legend-card span { width: 100%; height: 64px; margin-bottom: 22px; border-radius: 10px; }
.legend-card strong { font-size: 15px; }
.legend-card small { margin-top: 6px; color: #918c96; }
.legend-card.green span { background: var(--green); }.legend-card.blue span { background: var(--blue); }.legend-card.red span { background: var(--red); }.legend-card.gold span { background: var(--gold); }
.legend-card.contested span { background: linear-gradient(90deg, var(--green), #3ea8b6, var(--blue)); }
.legend-card.tension span { background: linear-gradient(90deg, var(--red), #db8c4d, var(--gold)); }

.feature-section { padding: 100px 0 160px; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; }
.feature-shot { min-height: 800px; position: relative; border-radius: 32px; overflow: hidden; background: linear-gradient(150deg, #6d4c96, #25202d 68%); }
.secondary-phone { position: absolute; width: 340px; left: 50%; top: 90px; transform: translateX(-50%) rotate(-2deg); }
.feature-list article { position: relative; padding: 30px 0 38px 52px; border-top: 1px solid rgba(255,255,255,.14); }
.feature-list article > span { position: absolute; left: 0; top: 36px; color: #77727d; font-size: 12px; }
.feature-list h3 { margin: 0 0 12px; font: 500 28px/1.2 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.035em; }
.feature-list p { max-width: 510px; margin: 0; color: #a9a4ae; font-size: 16px; }
.beat-section { padding: 30px 0 170px; }
.board-beat { margin: 88px 0 0; }
.board-beat img { display: block; width: 100%; height: auto; border-radius: 14px; }
.beat-caption { margin: 18px 0 0; color: #918c96; font-size: 13.5px; font-variant-numeric: tabular-nums; min-height: 1.5em; }

.closing-cta { padding: 160px 0 180px; text-align: center; border-top: 1px solid rgba(255,255,255,.13); }
.closing-cta img { margin: 0 auto 30px; border-radius: 18px; }
.closing-cta h2 { margin: 0; font: 500 clamp(45px, 6vw, 76px)/1.05 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.06em; }
.closing-cta > p:last-child { color: #9f9aa4; font-size: 18px; }
.product-footer { border-color: rgba(255,255,255,.13); color: #8d8892; }
.product-footer a:hover { color: white; }

/* Support and privacy */
.text-page, .policy-page { padding-top: 110px; padding-bottom: 150px; }
.text-page { max-width: 900px; }
.text-page h1, .policy-page h1 { margin: 0; max-width: 960px; font: 500 clamp(52px, 7vw, 88px)/.98 "Avenir Next", -apple-system, sans-serif; letter-spacing: -.06em; }
.text-page-intro, .policy-intro { max-width: 720px; margin: 34px 0 64px; color: var(--text); font-size: 21px; }
.contact-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 70px 34px 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--night-soft); color: var(--ink); }
.contact-card span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { font: 500 clamp(20px, 3vw, 30px)/1.3 "Avenir Next", -apple-system, sans-serif; }
.contact-card i { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 28px; }
.support-notes { max-width: 680px; padding: 70px 0; }
.support-notes h2 { margin: 40px 0 8px; font: 600 20px/1.3 "Avenir Next", -apple-system, sans-serif; }
.support-notes p { color: var(--text); }
.support-notes a, .policy-body a, .legal-contact a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.7; }
.policy-page h1 { max-width: 900px; }
.policy-intro { max-width: 760px; }
.updated { margin: -38px 0 90px; color: var(--text-soft); font-size: 13px; }
.policy-body { max-width: 800px; margin-left: auto; }
.policy-body section { display: grid; grid-template-columns: 220px 1fr; gap: 46px; padding: 38px 0; border-top: 1px solid var(--line); }
.policy-body h2 { margin: 0; font: 600 17px/1.4 "Avenir Next", -apple-system, sans-serif; }
.policy-body p, .policy-body address { margin: 0 0 16px; color: var(--text); font-style: normal; line-height: 1.7; }

@media (max-width: 800px) {
  .page-shell, .site-header { width: min(100% - 32px, 1180px); }
  .site-header { height: 74px; }
  .site-header nav { gap: 16px; }
  .site-header nav a:first-child { display: none; }
  .studio-hero { padding: 80px 0 100px; }
  .studio-hero h1 { font-size: clamp(49px, 15vw, 74px); }
  .lede { margin: 34px 0 0; }
  .product-feature { grid-template-columns: 1fr; min-height: 0; }
  .product-copy { padding: 44px 28px 30px; }
  .phone-stage { min-height: 560px; }
  .phone-stage .phone-frame { width: 300px; top: 42px; }
  .sense-grid, .feature-section { grid-template-columns: 1fr; gap: 44px; }
  .site-footer { min-height: 200px; flex-direction: column; gap: 42px; }
  .site-footer div { flex-wrap: wrap; }
  .board-hero { min-height: 976px; grid-template-columns: 1fr; }
  .board-hero-copy { align-self: start; padding: 56px 24px 20px; }
  .board-hero-copy h1 { font-size: clamp(44px, 13.5vw, 64px); }
  .board-hero-art { min-height: 510px; }
  .hero-phone { width: 300px; top: 40px; }
  .hero-wash-green { width: 300px; height: 300px; top: 25px; }
  .hero-wash-blue { width: 340px; height: 340px; }
  .sense-section { padding: 100px 0; }
  .sense-board { margin-top: 64px; grid-template-columns: 1fr; gap: 36px; }
  .sense-board figcaption { margin-top: 0; }
  .legend { margin-top: 60px; grid-template-columns: 1fr 1fr; }
  .legend-card { min-height: 160px; padding: 18px; }
  .feature-section { padding-top: 20px; gap: 60px; }
  .feature-shot { min-height: 690px; }
  .secondary-phone { width: 300px; top: 70px; }
  .feature-list article { padding-left: 42px; }
  .beat-section { padding-bottom: 110px; }
  .board-beat { margin-top: 56px; }
  .text-page, .policy-page { padding-top: 75px; }
  .policy-body { margin-left: 0; }
  .policy-body section { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
