/* Omcely site - Bold / Aurora, mirrored from the app's design tokens.
   Dark-aurora locked (every app screen is dark aurora; the brand's
   signature marketing surface). Privacy-first: system fonts only (no CDN / no
   Google-Fonts request), no third-party scripts, no trackers. The only script
   is a tiny inline IntersectionObserver for scroll-reveal (no network). */

:root {
  --bg: #15140f; /* warm near-black, app base */
  --surface: rgba(38, 34, 27, 0.55);
  --surface-line: rgba(212, 171, 106, 0.14);
  --ink: #efe9dd;
  --ink-2: #b8af9d;
  --ink-3: #847c6c;
  --ochre: #c49a5a; /* app dark-mode accent */
  --ochre-soft: #d4ab6a;
  --ochre-ink: #1a160e; /* text on the ochre button */
  --max: 1080px;
  --radius-card: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Ambient aurora (fixed, covers the whole page like the app) ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(78% 52% at 20% 4%, rgba(102, 78, 128, 0.5) 0%, transparent 60%),
    radial-gradient(70% 48% at 84% 16%, rgba(66, 54, 100, 0.42) 0%, transparent 58%),
    radial-gradient(95% 58% at 62% 102%, rgba(196, 154, 90, 0.14) 0%, transparent 60%),
    radial-gradient(120% 90% at 50% 46%, rgba(21, 20, 15, 0) 38%, rgba(12, 11, 8, 0.62) 100%),
    var(--bg);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: var(--ochre-soft);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-color: var(--ochre);
}

/* ---- Scroll-reveal (IntersectionObserver toggles .in; reduced-motion safe) ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(7px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
[data-reveal].d1 {
  transition-delay: 0.08s;
}
[data-reveal].d2 {
  transition-delay: 0.16s;
}
[data-reveal].d3 {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .hero .mark,
  body::before {
    animation: none;
  }
}

/* ---- Calm, on-brand motion (breath + living aurora). Motion-gated so it
   never runs under prefers-reduced-motion. ---- */
@media (prefers-reduced-motion: no-preference) {
  /* The ambient field drifts and swells almost imperceptibly, like a slow
     breath behind the whole page. */
  body::before {
    animation: aurora-drift 26s ease-in-out infinite alternate;
    will-change: transform;
  }
  /* The ensō settles in, then breathes. Transform-only (GPU-cheap). */
  .hero .mark {
    animation:
      mark-in 1s var(--ease) both,
      breathe 7s ease-in-out 1s infinite;
    will-change: transform;
  }
}
@keyframes aurora-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -2.2%, 0) scale(1.07);
  }
}
@keyframes mark-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.055);
  }
}

/* ---- Top bar ---- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 26px;
  height: 26px;
}
.brand span {
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.04em;
}
.topbar nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
}
.topbar nav a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar nav a:hover {
  color: var(--ink);
}
@media (max-width: 640px) {
  .topbar nav {
    display: none;
  }
}

/* ---- Device (full mockup with its black bezel; shadow + glow hug the
   rounded device shape via drop-shadow, no extra frame around it) ---- */
.device {
  display: inline-block;
  line-height: 0;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 34px rgba(120, 96, 156, 0.18));
  transition: transform 0.4s var(--ease);
}
.device img {
  display: block;
  width: 100%;
}
.device:hover {
  transform: translateY(-6px);
}

/* ---- Hero (balanced centered manifesto) ---- */
.hero {
  position: relative;
  text-align: center;
  padding: 54px 28px 30px;
  max-width: 860px;
  margin: 0 auto;
}
.hero .mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 30px;
  display: block;
  filter: drop-shadow(0 0 22px rgba(196, 154, 90, 0.45));
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 auto 18px;
  max-width: 15ch;
}
.hero .sub {
  color: var(--ink-2);
  font-size: 19px;
  max-width: 44ch;
  margin: 0 auto 30px;
}

/* ---- Buttons (full-pill, like the app) ---- */
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(180deg, var(--ochre-soft), var(--ochre));
  color: var(--ochre-ink);
  box-shadow: 0 10px 34px rgba(196, 154, 90, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 12px 42px rgba(196, 154, 90, 0.42);
}
.btn-ghost {
  color: var(--ink);
  border-color: rgba(212, 171, 106, 0.32);
}
.btn-ghost:hover {
  border-color: var(--ochre);
}
.btn[aria-disabled='true'] {
  cursor: default;
}
.badge-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---- Sections ---- */
.section-pad {
  padding: 56px 0;
}
h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  line-height: 1.14;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}
.tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ochre);
  margin-bottom: 12px;
}

/* ---- Split row (intro + features) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.split.flip .copy {
  order: 2;
}
.split .copy p {
  color: var(--ink-2);
  font-size: 16.5px;
  margin: 0 0 18px;
  max-width: 42ch;
}
.split .copy .lede-text {
  color: var(--ink);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 300;
  line-height: 1.4;
  max-width: 20ch;
}
.split .shot {
  display: flex;
  justify-content: center;
}
.split .shot .device {
  width: min(300px, 70vw);
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 30px 0;
  }
  .split.flip .copy {
    order: 0;
  }
  .split .copy p,
  .split .copy .lede-text {
    margin-inline: auto;
  }
}

/* ---- Supporting copy lines ---- */
.split .copy .lede-sub {
  margin: 16px 0 0;
  color: var(--ochre);
  font-size: 15px;
  max-width: none;
  letter-spacing: 0.01em;
}
.pricing-lede {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 56ch;
  margin: 0 0 26px;
}
.centered .device-caption {
  margin: 0 0 18px;
  color: var(--ochre);
  font-size: 14px;
  max-width: none;
  letter-spacing: 0.02em;
}

/* ---- Centered feature / privacy moment ---- */
.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.centered .device {
  width: min(250px, 62vw);
  margin-bottom: 30px;
}
.centered h2 {
  max-width: 18ch;
}
.centered p {
  color: var(--ink-2);
  max-width: 52ch;
}

/* ---- Free vs paid ---- */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 600px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}
.tier {
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-card);
  padding: 26px;
  background: var(--surface);
  backdrop-filter: blur(6px);
}
.tier h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 17px;
}
.tier .price {
  font-weight: 600;
  color: var(--ochre);
  font-size: 16px;
}
.tier ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tier li {
  position: relative;
  padding-left: 24px;
  margin: 9px 0;
  color: var(--ink-2);
  font-size: 15.5px;
}
.tier li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ochre);
  opacity: 0.85;
}

/* ---- What's next (roadmap grid) ---- */
.next-intro {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 46ch;
  margin: 0 0 32px;
}
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--surface-line);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 760px) {
  .next-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .next-grid {
    grid-template-columns: 1fr;
  }
}
.next-item {
  background: rgba(28, 26, 20, 0.6);
  padding: 24px 22px;
  transition: background 0.3s ease;
}
.next-item:hover {
  background: rgba(40, 36, 28, 0.66);
}
.next-item h3 {
  color: var(--ochre-soft);
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 6px;
}
.next-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.next-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---- Privacy pledge ---- */
.pledge {
  border: 1px solid var(--surface-line);
  border-left: 2px solid var(--ochre);
  border-radius: 14px;
  padding: 24px 28px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 60ch;
  text-align: left;
}

/* ---- Doc / legal pages ---- */
.doc {
  /* Horizontal padding (28px) keeps text off the screen edge on mobile; the
     reduced top value accounts for the shared topbar now sitting above. */
  padding: 36px 28px 40px;
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 300;
  margin: 0 0 6px;
}
.doc .updated {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 34px;
}
.doc h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 34px 0 8px;
}
.doc h3 {
  font-size: 16.5px;
  margin: 26px 0 4px;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin: 7px 0;
}
.doc code {
  background: rgba(212, 171, 106, 0.14);
  color: var(--ochre-soft);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.9em;
}
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.backlink img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 14px rgba(196, 154, 90, 0.4));
}
.backlink:hover {
  opacity: 0.78;
}

/* ---- Notify / launch list ---- */
.notify {
  text-align: center;
}
.notify h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.notify-lede {
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 52ch;
  margin: 0 auto 26px;
}
.notify-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.notify-form input[type='email'] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 106, 0.32);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.notify-form input[type='email']::placeholder {
  color: var(--ink-3);
}
.notify-form input[type='email']:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(196, 154, 90, 0.18);
}
.notify-form button {
  flex: 0 0 auto;
  cursor: pointer;
}
.notify-form button[disabled] {
  opacity: 0.6;
  cursor: default;
}
/* Honeypot: visually and semantically hidden from real users. */
#notify-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.notify-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.notify-status.is-ok {
  color: var(--ochre-soft);
}
.notify-status.is-error {
  color: #d98c7a;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- FAQ (native <details> accordion) ---- */
#faq h2 {
  text-align: center;
}
.faq {
  max-width: 760px;
  margin: 6px auto 0;
  border-top: 1px solid var(--surface-line);
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--surface-line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 17px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  color: var(--ochre);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  color: var(--ochre-soft);
}
.faq-item p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 64ch;
}

/* ---- Contact page (same 760px column as the other doc pages) ---- */
.contact-lede {
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 54ch;
  margin: 0 0 34px;
}
.contact-form {
  display: grid;
  gap: 20px;
  max-width: 540px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field .opt {
  color: var(--ink-3);
  font-weight: 400;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(212, 171, 106, 0.28);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.contact-form input {
  padding: 13px 18px;
  border-radius: 999px;
}
.contact-form textarea {
  padding: 14px 18px;
  border-radius: 16px;
  min-height: 140px;
  line-height: 1.6;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink-3);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(196, 154, 90, 0.16);
}
.contact-form .btn {
  justify-self: start;
  cursor: pointer;
  margin-top: 2px;
}
.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-status {
  min-height: 1.4em;
  margin: 2px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.contact-status.is-ok {
  color: var(--ochre-soft);
}
.contact-status.is-error {
  color: #d98c7a;
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--surface-line);
  margin-top: 72px;
  padding: 52px 0 46px;
  color: var(--ink-3);
  font-size: 14.5px;
}
/* Top row: brand block on the left, link cluster on the right. */
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px 56px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.foot-brand .brand {
  margin-bottom: 0;
}
.foot-line {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 24ch;
  line-height: 1.55;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 28px;
}
.foot-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.foot-nav a:hover {
  color: var(--ochre-soft);
}
/* Bottom row: hairline, copyright left, tagline right. */
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--surface-line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.foot-tag {
  font-style: italic;
  color: var(--ochre);
}
@media (max-width: 560px) {
  .foot-grid {
    flex-direction: column;
    gap: 26px;
  }
}
