:root {
  --paper: #f2f2f7;
  --surface: #ffffff;
  --ink: #000000;
  --ink-2: rgba(60, 60, 67, 0.78);
  --ink-3: rgba(60, 60, 67, 0.5);
  --line: rgba(60, 60, 67, 0.14);
  --apricot: #ffb677;
  --coral: #ff7a52;
  --rose: #ff5468;
  --blue: #0a84ff;
  --watermark: rgba(0, 0, 0, 0.055);
  --glass: rgba(255, 255, 255, 0.62);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --measure: 34rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #000000;
    --surface: #1c1c1e;
    --ink: #ffffff;
    --ink-2: rgba(235, 235, 245, 0.75);
    --ink-3: rgba(235, 235, 245, 0.45);
    --line: rgba(235, 235, 245, 0.16);
    --watermark: rgba(255, 255, 255, 0.07);
    --glass: rgba(44, 44, 46, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }

/* Header */
.top { padding: 1rem 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 1.25rem; }
.top nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--ink); }

/* Hero: Isomer's home screen */
.hero { position: relative; overflow: hidden; padding: 2.5rem 0 4rem; }
.watermark {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
  font-weight: 900; font-size: clamp(5.5rem, 24vw, 9.5rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--watermark); user-select: none;
}
.hero .wrap { position: relative; display: grid; gap: 2rem; }
.hero h1 {
  margin: 0; font-weight: 900; letter-spacing: -0.025em; line-height: 0.98;
  font-size: clamp(3rem, 8.5vw, 6.6rem); max-width: 11ch;
}
.lede { margin: 0; max-width: var(--measure); font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-2); }

.stage { position: relative; height: 22rem; }
.bubble {
  position: absolute; display: grid; justify-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.9rem; color: var(--ink);
  transform: translate(-50%, -50%);
}
.bubble .orb {
  width: 5.4rem; height: 5.4rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9), transparent 55%), var(--tint);
  box-shadow: 0 14px 30px -12px var(--shade), inset 0 0 0 1px rgba(255,255,255,0.5);
}
.bubble svg { width: 2.2rem; height: 2.2rem; color: var(--icon); }
.js .bubble { opacity: 0; scale: 0.6; transition: opacity 0.5s ease, scale 0.7s cubic-bezier(.2,1.6,.4,1); }
.js .bubble.on { opacity: 1; scale: 1; }

.ask {
  display: flex; align-items: center; gap: 0.75rem; max-width: 34rem;
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.85rem 1.1rem;
  font-size: 1.05rem; color: var(--ink-2); box-shadow: 0 12px 34px -18px rgba(0,0,0,0.35);
}
.ask .plus { color: var(--blue); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.ask .typed { flex: 1; min-height: 1.6em; }
.ask .caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.15em; background: var(--blue); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.get { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.store {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none;
}
.store[aria-disabled="true"] { cursor: default; }
.store svg { width: 1.2rem; height: 1.2rem; }
.fine { margin: 0; color: var(--ink-3); font-size: 0.92rem; max-width: 30rem; }

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .hero .copy { display: grid; gap: 1.6rem; }
  .stage { height: 30rem; }
}
@media (max-width: 899px) {
  .hero .copy { display: grid; gap: 1.4rem; }
}

/* Features */
.feature { padding: 4.5rem 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .wrap { display: grid; gap: 2.5rem; align-items: center; }
.feature h2 { margin: 0 0 0.8rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 14ch; }
.feature p { margin: 0; max-width: var(--measure); color: var(--ink-2); font-size: 1.15rem; }
.shot {
  justify-self: center; width: min(19rem, 78vw); border-radius: 2.4rem; overflow: hidden;
  background: linear-gradient(160deg, var(--apricot), var(--coral) 60%, var(--rose));
  box-shadow: 0 40px 60px -40px rgba(255, 84, 104, 0.6);
}
@media (min-width: 900px) {
  .feature .wrap { grid-template-columns: 1fr 1fr; }
  .feature:nth-of-type(even) .shot { order: -1; }
}

/* Private by default */
.private { padding: 5rem 0; background: linear-gradient(160deg, var(--apricot), var(--coral) 55%, var(--rose)); color: #fff; }
.private h2 { margin: 0 0 1.5rem; font-weight: 900; letter-spacing: -0.02em; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; }
.private ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 40rem; font-size: 1.15rem; }
.private li { padding-left: 1.6rem; position: relative; }
.private li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.9rem; background: #fff; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(50% 0, 100% 55%, 100% 100%, 0 100%, 0 55%); }
.private a { color: #fff; font-weight: 700; }

/* Footer */
.foot { padding: 2.5rem 0 3rem; color: var(--ink-3); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.foot nav { display: flex; gap: 1.25rem; }
.foot a { color: var(--ink-2); }

/* Text pages (privacy, support) */
.page { padding: 2rem 0 4rem; }
.page .wrap { max-width: 44rem; }
.page h1 { font-weight: 900; letter-spacing: -0.02em; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; margin: 1rem 0 0.75rem; }
.page h2 { font-weight: 800; font-size: 1.4rem; margin: 2.4rem 0 0.6rem; }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-left: 1.2rem; }
.page li + li { margin-top: 0.35rem; }
.page strong { color: var(--ink); }
.page .updated { color: var(--ink-3); margin: 0; }
.page .short { background: var(--surface); border-radius: 1.4rem; padding: 0.5rem 1.4rem; margin-top: 1.5rem; }
.page details { background: var(--surface); border-radius: 1.1rem; padding: 1rem 1.25rem; margin-top: 0.75rem; }
.page summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.page details p { margin: 0.75rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  .js .bubble { opacity: 1; scale: 1; transition: none; }
  .ask .caret { animation: none; }
}
