/* LoonCare site — Claude-4 2026-11-19. One idea: the circle around one person, drawn as ripples on a lake. Quiet everywhere else. */
:root {
  --lake: #0e3a44; --lake-2: #155563; --ripple: #5fa8a0; --shore: #f2f5f3; --paper: #ffffff; --ink: #16242a; --ink-2: #4b5d63;
  --line: #d8e2e0; --signal: #c8402e; --ok: #2f7d5b; --radius: 14px;
  --font: "Atkinson Hyperlegible", system-ui, sans-serif; --font-fa: "Vazirmatn", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --shore: #0c1d22; --paper: #12262c; --ink: #e9f1f0; --ink-2: #a9bcbf; --line: #24414a; --lake: #9fd6cf; --lake-2: #7cc3ba; --ripple: #4e9a92; }
}
:root[data-theme="dark"] { --shore: #0c1d22; --paper: #12262c; --ink: #e9f1f0; --ink-2: #a9bcbf; --line: #24414a; --lake: #9fd6cf; --lake-2: #7cc3ba; --ripple: #4e9a92; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--shore); color: var(--ink); font: 18px/1.6 var(--font); }
html[lang="fa"] body { font-family: var(--font-fa); line-height: 1.85; }
a { color: var(--lake-2); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ripple); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand svg { width: 30px; height: 30px; }
nav.top a { margin-inline-start: 18px; color: var(--ink-2); text-decoration: none; font-size: 16px; }
nav.top a:hover { color: var(--ink); }
.lang { font-size: 15px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px 0 72px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.01em; color: var(--lake); }
html[lang="fa"] .hero h1 { line-height: 1.45; letter-spacing: 0; }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--lake); }
.btn.solid { background: var(--lake); color: var(--shore); }
.btn.line { background: transparent; color: var(--lake); }
.btn[disabled] { opacity: .5; cursor: default; }
.ripples { width: 100%; max-width: 440px; justify-self: center; }
.ripples circle.ring { fill: none; stroke: var(--ripple); stroke-width: 1.5; opacity: .55; transform-origin: 220px 220px; }
.ripples circle.person { fill: var(--lake); }
.ripples circle.member { fill: var(--paper); stroke: var(--lake-2); stroke-width: 2.5; }
.ripples text { font: 13px var(--font); fill: var(--ink-2); }
html[lang="fa"] .ripples text { font-family: var(--font-fa); }
@media (prefers-reduced-motion: no-preference) {
  .ripples circle.ring { animation: spread 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .ripples circle.ring:nth-of-type(2) { animation-delay: .25s; } .ripples circle.ring:nth-of-type(3) { animation-delay: .5s; }
  @keyframes spread { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: .55; } }
}

section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.25; margin: 0 0 12px; color: var(--lake); }
section p.sub { color: var(--ink-2); max-width: 40em; margin: 0 0 36px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.three h3 { font-size: 21px; margin: 0 0 8px; }
.three p { margin: 0; color: var(--ink-2); }
dl.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; margin: 0; }
dl.features dt { font-weight: 700; font-size: 19px; }
dl.features dd { margin: 4px 0 0; color: var(--ink-2); }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 20px; max-width: 46em; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
ol.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ripple); color: var(--lake); font-weight: 700; }
html[lang="fa"] ol.steps li::before { content: counter(s, persian); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan .price { font-size: 30px; font-weight: 700; color: var(--lake); }
.plan .nosale { color: var(--ink-2); }
.note { color: var(--ink-2); font-size: 16px; }
.care-note { border-inline-start: 4px solid var(--signal); padding: 4px 16px; margin-top: 28px; color: var(--ink-2); font-size: 16px; max-width: 46em; }
form.stack { display: grid; gap: 14px; max-width: 34em; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
input, select, textarea { font: inherit; font-weight: 400; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
textarea { min-height: 120px; }
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.panel-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.panel-card h3 { margin: 0 0 8px; }
.code { font-size: 34px; font-weight: 700; letter-spacing: .12em; color: var(--lake); direction: ltr; text-align: center; padding: 10px 0; }
.status-ok { color: var(--ok); font-weight: 700; } .status-warn { color: var(--signal); font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 16px; } td, th { text-align: start; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.err { color: var(--signal); }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; } .ripples { max-width: 320px; }
  .three, dl.features { grid-template-columns: 1fr; } nav.top a:not(.lang) { display: none; }
}

/* r2 (Jet UX 2026-11-19): sticky header, two path cards, «soon» tag, mock Today card, trust bar, FAQ */
header.top { position: sticky; top: 0; z-index: 5; background: var(--shore); }
header.top .btn { min-height: 48px; padding: 0 18px; font-size: 16px; }
nav.top { display: flex; align-items: center; gap: 4px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.path { display: grid; gap: 10px; align-content: start; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); text-decoration: none; }
.path:hover { border-color: var(--ripple); }
.path strong { font-size: 21px; color: var(--lake); }
.path span { color: var(--ink-2); font-size: 16px; }
.soon { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--ripple); color: var(--lake-2); vertical-align: middle; margin-inline-start: 6px; }
ul.points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
ul.points li { padding-inline-start: 22px; position: relative; }
ul.points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ripple); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; max-width: 360px; box-shadow: 0 1px 0 var(--line); }
.mock .who { font-weight: 700; font-size: 20px; }
.mock .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.mock .ok { color: var(--ok); font-weight: 700; }
.mock small { color: var(--ink-2); }
ol.how { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
ol.how li { counter-increment: s; }
ol.how li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ripple); color: var(--lake); font-weight: 700; margin-bottom: 10px; }
html[lang="fa"] ol.how li::before { content: counter(s, persian); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust div { border-top: 3px solid var(--ripple); padding-top: 10px; font-weight: 700; font-size: 16px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 46em; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; min-height: 32px; }
details p { color: var(--ink-2); margin: 10px 0 0; }
.final { text-align: center; } .final .actions { justify-content: center; }
@media (max-width: 820px) {
  .paths, .two, ol.how { grid-template-columns: 1fr; } .trust { grid-template-columns: 1fr 1fr; }
  header.top .btn.solid { display: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
