/* ============================================================
   kirok — landing site styles
   Mirrors the iOS app's PaperTheme so the brand stays coherent
   across web + app. Coral accent, paper background, serif italic
   for headings, system sans for body, tabular digits everywhere.
   ============================================================ */

:root {
    --coral: #E8654C;
    --ink: #1C1C1C;
    --ink-2: #4A4A4A;
    --ink-3: #8A8A8A;
    --ink-4: #C4C4C4;
    --paper: #F4EFE6;
    --paper-2: #ECE6DA;
    --hairline: rgba(28, 28, 28, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "tnum" 1;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--coral);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- nav ---------- */

nav.top {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 24px 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

nav.top .brand {
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.4px;
}
nav.top .brand .dot { color: var(--coral); }

nav.top .links {
    display: flex;
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.4px;
}
nav.top .links a {
    color: var(--ink-2);
    font-weight: 500;
}
nav.top .links a:hover { color: var(--coral); text-decoration: none; }

/* ---------- hero ---------- */

.hero {
    padding: 80px 0 48px;
}
.hero .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.0px;
    color: var(--coral);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 {
    font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 24px;
}
.hero h1 .accent { color: var(--coral); font-weight: 300; }
.hero .lede {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 540px;
    margin-bottom: 12px;
}
.hero .pronounce {
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: 0.3px;
    font-style: italic;
    font-family: Georgia, serif;
}
.hero .ctas {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.hero .cta-app {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.hero .cta-app:hover { text-decoration: none; opacity: 0.9; }
.hero .cta-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--coral);
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    font-family: Georgia, serif;
    text-decoration: underline;
}

/* ---------- section ---------- */

section {
    padding: 56px 0;
    border-top: 1px solid var(--hairline);
}
section .num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.0px;
    color: var(--coral);
    margin-bottom: 18px;
}
section h2 {
    font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 20px;
}
section h2 .accent { color: var(--coral); }
section p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-2);
    margin-bottom: 16px;
    max-width: 600px;
}
section p strong {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- pricing ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
}
.tier {
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.5);
}
.tier.pro { border-color: var(--coral); }
.tier .name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--coral);
    margin-bottom: 12px;
}
.tier .price {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 36px;
    color: var(--ink);
    margin-bottom: 6px;
}
.tier .blurb {
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 18px;
}
.tier ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tier ul li {
    font-size: 14px;
    color: var(--ink-2);
    padding: 6px 0;
    border-top: 1px dashed var(--hairline);
    line-height: 1.55;
}
.tier ul li:first-child { border-top: none; }

/* ---------- FAQ / list ---------- */

.faq {
    margin-top: 16px;
}
.faq dt {
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    margin-top: 22px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
    margin-top: 8px;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- legal docs ---------- */

article.legal {
    padding: 56px 0 0;
    max-width: 680px;
}
article.legal h1 {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 40px;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
article.legal .updated {
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: 0.4px;
    margin-bottom: 32px;
}
article.legal h2 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: var(--coral);
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 12px;
}
article.legal h2:first-of-type { margin-top: 32px; }
article.legal p,
article.legal li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-2);
    margin-bottom: 12px;
}
article.legal ul, article.legal ol {
    margin: 0 0 18px 22px;
}
article.legal li { margin-bottom: 6px; }
article.legal strong { color: var(--ink); font-weight: 600; }
article.legal code {
    background: var(--paper-2);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- footer ---------- */

footer {
    border-top: 1px solid var(--hairline);
    margin-top: 80px;
    padding: 40px 24px 32px;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: var(--ink-3);
    font-size: 13px;
    line-height: 1.7;
}
footer .row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 12px;
}
footer .row a { color: var(--ink-2); }
footer .row a:hover { color: var(--coral); text-decoration: none; }
footer .legal {
    font-size: 11px;
    letter-spacing: 0.4px;
    color: var(--ink-3);
    margin-top: 12px;
}

/* ---------- utility ---------- */

.divider {
    height: 1px;
    background: var(--hairline);
    margin: 24px 0;
}
.note {
    background: rgba(232, 101, 76, 0.06);
    border-left: 3px solid var(--coral);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--ink-2);
    margin: 16px 0;
}
.note strong { color: var(--coral); }
