:root {
  --bg: #141414;
  --panel: #1c1c1c;
  --text: #ece8e1;
  --muted: #9a958c;
  --soft: #b8b2a8;
  --gold: #d4a94f;
  --line: #2c2a27;
  --accent: var(--gold);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 18%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); }
  50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); }
  100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); transition: color .15s; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- top bar ---------- */
.top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1040px; width: 100%; margin: 0 auto;
  padding: 22px 20px;
}
.mark {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  letter-spacing: 0.12em; border: 0; line-height: 1;
}
.mark .deo, .wordmark .deo { color: var(--gold); font-weight: 600; }
.mark:hover { color: var(--text); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  border: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

main { flex: 1; position: relative; z-index: 1; width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 64px 20px 20px; }
.wordmark {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(56px, 13vw, 128px);
  letter-spacing: 0.1em; padding-left: 0.1em; line-height: 1;
}
.say {
  margin-top: 14px; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.say b { color: var(--text); font-weight: 500; }
.meaning {
  margin: 26px auto 0; max-width: 540px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 3.2vw, 24px); line-height: 1.45;
}
.lede { margin: 22px auto 0; max-width: 560px; color: var(--soft); font-size: 17px; }
.rule { width: 48px; height: 1px; background: var(--accent); opacity: .7; margin: 56px auto; }

/* ---------- sections ---------- */
.section { padding: 8px 0 72px; scroll-margin-top: 24px; }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section > .wrap > h2, .h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin-bottom: 12px;
}
.intro { color: var(--soft); max-width: 600px; margin-bottom: 32px; }

/* ---------- app cards ---------- */
.apps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.app {
  background: var(--panel); padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  border: 0; position: relative; transition: background .2s;
}
.app::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--card, var(--gold)); transition: width .3s ease;
}
.app:hover { background: #212120; color: var(--text); }
.app:hover::before, .app:focus-visible::before { width: 100%; }
.app-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.app h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }
.app .kind { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.app p { color: var(--muted); font-size: 15px; flex: 1; }
.app .go { font-size: 14px; color: var(--text); }
.app .go span { color: var(--card, var(--gold)); }
.tag {
  flex: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

/* ---------- post-production ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.split > div { background: var(--panel); padding: 30px 28px; }
.split h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 8px; }
.split p { color: var(--muted); font-size: 15px; }
.split ul { list-style: none; margin-top: 14px; }
.split li { color: var(--soft); font-size: 15px; padding: 7px 0; border-top: 1px solid var(--line); }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .h2 { margin-bottom: 14px; }
.contact p { color: var(--soft); }
.big-link { font-family: var(--serif); font-size: clamp(24px, 4.5vw, 34px); display: inline-block; margin-top: 10px; }

/* ---------- app page ---------- */
.app-hero { padding: 56px 0 8px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumb a { border-color: var(--line); color: var(--muted); }
.crumb a:hover { color: var(--text); }
.app-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(48px, 10vw, 92px); line-height: 1; letter-spacing: -0.01em;
}
.app-tagline {
  font-family: var(--serif); font-style: italic; color: var(--accent);
  font-size: clamp(22px, 4vw, 30px); margin-top: 12px;
}
.app-hero .lede { margin: 20px 0 0; text-align: left; }
.status { margin-top: 26px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.status .tag { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.features {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.features > div { background: var(--panel); padding: 26px 26px 24px; }
.features h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.features p { color: var(--muted); font-size: 15px; }
.subnav { margin-top: 40px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.subnav a { color: var(--soft); }

/* ---------- long-form (privacy, terms, support) ---------- */
.doc { max-width: 700px; padding: 48px 0 72px; }
.doc h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 7vw, 56px); line-height: 1.05; }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.doc .summary {
  margin-top: 28px; padding: 20px 22px; background: var(--panel);
  border-left: 2px solid var(--accent); color: var(--soft);
}
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--soft); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0 20px; }
.doc li { padding: 3px 0; }
.doc address { font-style: normal; color: var(--soft); margin-top: 10px; }
.faq { margin-top: 12px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; }

/* ---------- footer ---------- */
footer {
  position: relative; z-index: 1; text-align: center;
  padding: 36px 20px 36px; font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--line); margin-top: 24px;
}
footer .verse { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--soft); margin-bottom: 12px; }
footer .links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
footer .links a { border: 0; color: var(--muted); }
footer .links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .apps, .split, .features { grid-template-columns: 1fr; }
  .top { padding: 18px 16px; }
  .nav { gap: 14px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  br.wide { display: none; }
  .app { padding: 26px 22px 22px; }
}
@media (max-width: 420px) {
  .nav a { letter-spacing: 0.1em; font-size: 11px; }
  .mark { font-size: 20px; }
}

.avail { margin-top: 22px; color: var(--soft); font-size: 15px; }

/* ---------- post-production services ---------- */
.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.services > div { background: var(--panel); padding: 26px 24px 24px; }
.services h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.services p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps-title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.5vw, 36px); margin: 56px 0 18px; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 16px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 28px; color: var(--accent); display: block; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- app groups ---------- */
.group { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.apps + .group { margin-top: 40px; }
.apps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .apps.three { grid-template-columns: 1fr; } }
.app-head { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }

/* ---------- app icons ---------- */
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.app-icon { width: 56px; height: 56px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.app h3 { margin-top: 4px; }
.hero-icon { width: 96px; height: 96px; display: block; margin-bottom: 22px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
@media (max-width: 720px) { .hero-icon { width: 76px; height: 76px; } }

.gold { color: var(--gold); }

/* ---------- each app's own name style ---------- */
.nm-rr { font-family: 'Tilt Neon', 'Chakra Petch', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
.nm-rr .a { color: #FFF1D6; text-shadow: 0 0 1px #fff, 0 0 5px #FFB23E, 0 0 12px #FFB23E, 0 0 22px rgba(255,178,62,.5); }
.nm-rr .c { color: #E4FEFF; text-shadow: 0 0 1px #fff, 0 0 5px #3DF5FF, 0 0 12px #3DF5FF, 0 0 22px rgba(61,245,255,.5); }
.nm-ck { font-family: Fredoka, 'Nunito', sans-serif; font-weight: 700; }
.nm-ck b { color: #FFC23D; font-weight: 700; }
.nm-idk { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-weight: 400; letter-spacing: -.01em; color: #e9f1ea; }
.nm-idk span { background: #f2b705; color: #18261d; padding: 0 .2em; }
.app h3 .nm-idk { font-size: .9em; }
.app-title .nm-idk { font-size: .82em; }
