/* Tunas Bicara — landing page. Same calm palette as the app (light + dark), no web fonts, no JavaScript. */
:root {
  color-scheme: light;
  --bg: #f6f4ef; --surface: #ffffff; --surface-2: #f0ede6;
  --ink: #1e2833; --muted: #606b77; --line: #e6e1d8;
  --primary: #3c6d9a; --primary-ink: #ffffff; --primary-soft: #e4edf6;
  --green: #e2efe3; --green-d: #427352;
  --yellow: #faf0d2; --yellow-d: #886614;
  --pink: #f6e2e5; --pink-d: #994e60;
  --purple: #ebe5f4; --purple-d: #6d5a9c;
  --peach: #f9e6db; --peach-d: #995734;
  --warn: #fbf1d6; --warn-line: #ecdcaa;
  --r: 20px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(30, 40, 51, .05), 0 8px 24px rgba(30, 40, 51, .07);
  font-size: 17px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #12171d; --surface: #1b222a; --surface-2: #242c35;
    --ink: #e8ecf0; --muted: #9aa6b2; --line: #2d3640;
    --primary: #86b4dc; --primary-ink: #0f1a24; --primary-soft: #1f3245;
    --green: #1f3226; --green-d: #86c39a;
    --yellow: #332c18; --yellow-d: #e3c26a;
    --pink: #37222a; --pink-d: #e099aa;
    --purple: #2a2438; --purple-d: #b9a7e6;
    --peach: #382519; --peach-d: #e7a27c;
    --warn: #332b17; --warn-line: #4a3f22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); font-weight: 700; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 16px; border-radius: 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; color: var(--ink); text-decoration: none; padding: 12px 10px; border-radius: 12px; font-weight: 700; font-size: .95rem; }
.nav a:hover { background: var(--surface-2); }
.lang { white-space: nowrap; display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .nav { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 14px 26px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.kicker { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: 8px; }

.hero { padding-top: 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 800; }
.hero .free { display: inline-block; background: var(--green); color: var(--green-d); font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero .note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.phone { border-radius: 34px; border: 8px solid var(--surface); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); max-width: 320px; margin: 0 auto; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .phone { max-width: 260px; } }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.points li { background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.points .ico { font-size: 2rem; display: block; margin-bottom: 8px; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 28px; }
.feature { background: var(--surface); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.feature .shot { border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.feature .shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; } /* the top of each screen is enough */
@media (max-width: 760px) { .feature .shot img { aspect-ratio: 1; } }
[id] { scroll-margin-top: 76px; } /* below the sticky header */
.feature h3 { margin: 6px 0 0; }
.feature p { margin: 0; color: var(--muted); }
.tag { align-self: flex-start; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.tag-child { background: var(--yellow); color: var(--yellow-d); }
.tag-parent { background: var(--purple); color: var(--purple-d); }
.also { margin-top: 20px; color: var(--muted); }

.honest { background: var(--warn); border: 1px solid var(--warn-line); border-radius: var(--r-lg); padding: 24px; }
.honest ul { margin: 0; padding-left: 1.2em; }
.honest li { margin: 6px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.45rem; }

/* Forms */
form { display: grid; gap: 14px; margin-top: 12px; }
label { display: grid; gap: 6px; font-weight: 700; }
label .opt { font-weight: 600; color: var(--muted); }
input, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 12px 14px; min-height: 52px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check input { width: 26px; height: 26px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--primary); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* spam trap, hidden from people */
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.founder { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.founder .avatar { font-size: 3rem; width: 84px; height: 84px; border-radius: 24px; background: var(--peach); display: grid; place-items: center; }
.placeholder { border: 2px dashed var(--line); border-radius: 16px; padding: 14px; color: var(--muted); }

details { background: var(--surface); border-radius: var(--r); padding: 0 20px; box-shadow: var(--shadow); margin: 0 0 12px; }
summary { cursor: pointer; font-weight: 800; padding: 18px 0; min-height: 48px; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
details p { margin: 0 0 16px; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { display: inline-flex; align-items: center; min-height: 48px; }

/* Simple pages (thanks, error, privacy) */
.page { max-width: 720px; padding: 40px 20px 56px; margin: 0 auto; }
.page h1 { font-size: 2rem; }
.page h2 { font-size: 1.2rem; margin-top: 28px; }
.page article + article { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 8px; }
