/* OYAN site. One file, no build step. Dark only. */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0a0a0c;
  --surface-2: #111114;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1a6;   /* 8.1:1 on black */
  --soft: #8e8e93;    /* 6.4:1 on black */
  --accent: #8f6df7;  /* primary action and live states only */
  --on-accent: #0b0712;
  --radius: 22px;
  --wrap: 1080px;
  --gutter: clamp(16px, 5vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -100px; padding: 10px 14px; background: #fff; color: #000; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 10px; }
.nav a:hover { color: var(--text); }
.nav .lang { color: var(--text); border: 1px solid var(--line-strong); padding: 5px 10px; margin-left: 6px; font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 720px) { .nav .sec { display: none; } }

/* Hero */
.hero { padding-top: clamp(40px, 8vw, 96px); text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin: 18px auto 0; max-width: 15ch; font-size: clamp(38px, 7.2vw, 76px); }
.lede { margin: 22px auto 0; max-width: 34em; font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); }
.cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; }

.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 14px; color: var(--soft); }
.meta > span:not([hidden]) ~ span:not([hidden])::before { content: "·"; margin: 0 8px; }
.meta .soon { color: var(--text); }
.meta .js-min { flex-basis: 100%; text-align: center; }
.meta .js-min::before { content: none !important; }

/* Stage: a drawn MacBook screen with the island */
.stage {
  position: relative; margin: clamp(48px, 8vw, 88px) auto 0; max-width: 920px;
  height: clamp(340px, 48vw, 470px);
  border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 26px 26px 0 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #17151f 0%, #0b0a10 45%, #000 100%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
          mask-image: linear-gradient(#000 72%, transparent);
}
.menubar { position: absolute; inset: 0 0 auto 0; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; }
.menubar i { display: inline-block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); margin-right: 14px; }
.menubar .r i { margin: 0 0 0 14px; }
.menubar .clock { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-left: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .menubar .hide-s { display: none; } }

.island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(460px, calc(100% - 28px));
  background: #000; color: var(--text);
  border-radius: 0 0 30px 30px;
  padding: 44px 20px 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.07); border-top: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 0;
}
/* the inverse curves where the island meets the top edge */
.island::before, .island::after {
  content: ""; position: absolute; top: 0; width: 14px; height: 14px;
  background: radial-gradient(circle at 0 100%, transparent 13.5px, #000 14px);
}
.island::before { left: -14px; }
.island::after { right: -14px; background: radial-gradient(circle at 100% 100%, transparent 13.5px, #000 14px); }

.card-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.card-head .glyph { width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.card-head .glyph svg { width: 14px; height: 14px; }
.card-head b { font-weight: 600; white-space: nowrap; }
.card-head .where { color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 13px; font-weight: 500; flex: none; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(143, 109, 247, 0.6); animation: pulse 2.4s ease-out infinite; }
.card-q { margin-top: 14px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.card-plan { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.card-plan li { display: flex; gap: 8px; padding: 3px 0; }
.card-plan li span { color: var(--soft); font-variant-numeric: tabular-nums; }
.card-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
.chip.solid { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
@media (max-width: 480px) {
  .island { padding: 40px 16px 16px; border-radius: 0 0 24px 24px; }
  .card-plan li:nth-child(n+3) { display: none; }
  .chip.opt { display: none; }
  .card-head .where { display: none; }
  .stage { height: 380px; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 109, 247, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(143, 109, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 109, 247, 0); }
}
@keyframes grow {
  from { transform: translateX(-50%) scale(0.42, 0.18); opacity: 0.4; }
  to { transform: translateX(-50%) scale(1, 1); opacity: 1; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.island { animation: grow 0.9s cubic-bezier(0.2, 0.9, 0.25, 1) 0.2s both; }
.island > * { animation: fade 0.5s ease 0.85s both; }

/* Sections */
section { margin-top: clamp(72px, 11vw, 132px); }
.section-head { max-width: 40em; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.card h3 { font-size: 20px; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.card .tag { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(18px, 4vw, 48px); align-items: start; }
@media (max-width: 760px) { .card.wide { grid-template-columns: 1fr; } }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li strong { color: var(--text); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: translateY(-50%) rotate(-45deg); }
.agents { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.agents span { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }

.privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 40px; }
.privacy div { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.privacy h3 { font-size: 19px; }
.privacy p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.steps { margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.steps li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.req { margin-top: 20px; font-size: 15px; color: var(--soft); }
.sum { margin-top: 8px; font-size: 13px; color: var(--soft); overflow-wrap: anywhere; }
.sum code { color: var(--muted); }

.log { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.log h3 { font-size: 19px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.log h3 small { font-size: 14px; font-weight: 400; color: var(--soft); }
.log ul { margin: 16px 0 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }
.log p { margin-top: 12px; color: var(--muted); }

.final { text-align: center; }
.final .section-head { margin: 0 auto; }
.final .cta { margin-top: 28px; }

footer { margin-top: clamp(80px, 12vw, 140px); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--soft); }
footer a { color: var(--muted); }

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.lost h1 { font-size: clamp(56px, 12vw, 96px); }
.lost p { margin-top: 14px; color: var(--muted); }
.lost .links { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lost .links a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .live::before { forced-color-adjust: none; }
}
