/* Chanto Studio — one stylesheet for the whole site. No fonts or scripts are fetched from
   anywhere else, which keeps the privacy notice at /privacy/ short. */
:root {
  --bg: #FAF8F3; --bg-2: #F1EDE3; --ink: #1E1B16; --ink-2: #5E584D; --line: #E2DCCF;
  --accent: #0F5E8E; --accent-ink: #FFFFFF; --accent-soft: #DCEBF5;
  --water-top: #389EDB; --water-bottom: #08336B; --sand: #EDD99E; --weed: #29995C;
  --coral: #DB3D4D; --bubble: #D9F2FF;
  --radius: 16px; --max: 1040px; --gutter: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130F; --bg-2: #1E1B16; --ink: #F3EEE5; --ink-2: #B3AA9C; --line: #2F2A23;
    --accent: #7CC1F0; --accent-ink: #0A1A27; --accent-soft: #15293A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.top nav { display: flex; gap: 20px; font-weight: 600; font-size: .95rem; }
.top nav a { color: var(--ink-2); white-space: nowrap; }
.top nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 480px) { .top .wrap { flex-wrap: wrap; row-gap: 2px; } .top nav { gap: 14px; font-size: .9rem; } }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding: 72px 0 56px; }
.hero p.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink-2); max-width: 44ch; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0; padding: 0; list-style: none; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.app-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
@media (max-width: 420px) { .app-card { grid-template-columns: 1fr; } }
.icon-app { display: block; width: 96px; height: 96px; border-radius: 22.37%; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.icon-app svg, .icon-app img { display: block; width: 100%; height: 100%; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-right: 6px; }
.btn { display: inline-block; font-weight: 700; padding: 12px 20px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.soft { background: var(--accent-soft); color: var(--accent); }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact { font-size: 1.15rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-2); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer nav a { white-space: nowrap; }

/* Long-form pages */
.prose { max-width: 68ch; padding: 48px 0 24px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--ink-2); font-size: .9rem; }
.prose .note { color: var(--ink-2); font-size: .9rem; }
.prose .languages { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 1.6em; font-size: .9rem; }
.prose .languages [aria-current] { color: var(--ink-2); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-2); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; max-width: 68ch; }

/* Chantofish */
.hero-water {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--water-top) 0%, var(--water-bottom) 100%);
  padding: 72px 0 96px;
}
.hero-water::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: var(--sand);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleX(1.3);
}
.hero-water .bubble { position: absolute; border-radius: 50%; background: var(--bubble); opacity: .35; pointer-events: none; }
.hero-water .wrap { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: center; }
@media (max-width: 640px) { .hero-water .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.hero-water .icon-app { width: 180px; height: 180px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.hero-water h1 { color: #fff; }
.hero-water p.lead { color: rgba(255,255,255,.88); font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 40ch; margin-bottom: .6em; }
.hero-water .facts { color: rgba(255,255,255,.78); font-weight: 600; font-size: .95rem; }
.hero-water .actions { justify-content: inherit; }
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3em; }
.features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.features li strong { display: block; margin-bottom: .2em; }
.tv { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 720px) { .tv { grid-template-columns: 1fr; } }
.tv-frame {
  aspect-ratio: 16 / 9; border-radius: 10px; border: 6px solid #2A2A2E; background: linear-gradient(180deg, var(--water-top), var(--water-bottom));
  position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.tv-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: var(--sand); }
.tv-frame .fish { position: absolute; width: 22%; height: auto; }
.tv-stand { width: 30%; height: 10px; margin: 0 auto; background: #2A2A2E; border-radius: 0 0 6px 6px; }
.swatch { display: inline-block; width: .8em; height: .8em; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
