/* Letterslot · static site. Light and dark via prefers-color-scheme. System fonts only. */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f4f1ea;
  --card: #ffffff;
  --text: #1d1b18;
  --muted: #5f5a52;
  --line: rgba(60, 40, 10, 0.1);
  --ochre: #c28a3a;
  --ochre-deep: #8c5a1a;
  --ochre-light: #e6b877;
  --accent-text: #8c5a1a;
  --tint: rgba(194, 138, 58, 0.12);
  --ok: #2f8a4a;
  --shadow-card: 0 1px 2px rgba(40, 25, 0, 0.05), 0 8px 24px rgba(40, 25, 0, 0.06);
  --shadow-mac: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(40, 25, 0, 0.14), 0 30px 70px rgba(40, 25, 0, 0.12);
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100e0b;
    --bg-alt: #17140f;
    --card: #1d1914;
    --text: #f5f2ec;
    --muted: #b0a898;
    --line: rgba(255, 240, 210, 0.1);
    --accent-text: #e6b877;
    --tint: rgba(230, 184, 119, 0.14);
    --ok: #5fd07f;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-mac: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 10px 30px rgba(0, 0, 0, 0.5), 0 30px 70px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 750; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 28px; max-width: 24ch; }
h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
code { font: 0.9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--tint); padding: 1px 6px; border-radius: 6px; }
kbd { font: 0.88em ui-monospace, "SF Mono", Menlo, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; background: var(--card); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.i { width: 22px; height: 22px; flex: none; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-left: 4px; }
.lang a { padding: 4px 9px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; min-width: 34px; text-align: center; }
.lang a[aria-current="page"] { background: var(--text); color: var(--bg); }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn .i { width: 18px; height: 18px; }
.btn.primary { color: #fff; background-color: #8c5a1a; background-image: linear-gradient(135deg, #9a6420 0%, #7a4c12 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 6px 18px rgba(140, 90, 26, 0.3); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { color: var(--text); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.btn.ghost:hover { transform: translateY(-1px); }
.btn.wide { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.glow { position: absolute; top: -200px; right: -160px; width: 900px; height: 700px; pointer-events: none; background: radial-gradient(closest-side at 55% 45%, rgba(230, 184, 119, 0.35), transparent 70%); filter: blur(10px); }
.hero-in { position: relative; display: grid; gap: 48px; grid-template-columns: 1fr; }
.eyebrow, .kicker { font-size: 14px; font-weight: 650; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.hero h1 { max-width: 16ch; }
.grad { color: var(--accent-text); }
.sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin-top: 20px; max-width: 40ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.req { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: 15px; max-width: 60ch; }
.req .i { color: var(--accent-text); margin-top: 2px; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ten second moment */
.moment { display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-mac); }
.file { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.file .i { color: var(--muted); }
.file.after { border-color: color-mix(in srgb, var(--ochre) 55%, transparent); background: var(--tint); }
.file.after .i { color: var(--accent-text); }
.fname { display: block; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.where { display: block; font-size: 13px; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
.m-arrow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-left: 14px; }
.toast { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--accent-text); }
.undo { margin-left: auto; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--card); }

/* sections */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-alt); }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin-bottom: 36px; }
.grid2, .grid3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 16px; }
.ic { display: inline-flex; width: 42px; height: 42px; border-radius: 11px; align-items: center; justify-content: center; background: var(--tint); color: var(--accent-text); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.num { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--ochre-deep); color: #fff; margin-right: 8px; }

/* screenshots */
.shot { border-radius: 12px; box-shadow: var(--shadow-mac); }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; margin-top: 8px; }
@media (min-width: 980px) { .split { grid-template-columns: 5fr 7fr; } .split.rev { grid-template-columns: 7fr 5fr; } .split.rev > :first-child { order: 2; } }
.split + .split { margin-top: 72px; }
.bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 16px; }
.bullets .i { color: var(--accent-text); width: 20px; height: 20px; margin-top: 3px; }
.shot-ph, .video-ph { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 260px; padding: 24px; border-radius: 12px; border: 2px dashed var(--ochre); color: var(--accent-text); font-weight: 600; background: var(--tint); }
.video { border-radius: 14px; box-shadow: var(--shadow-mac); width: 100%; }
.video-wrap { margin-top: 40px; }

/* compare */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 14px; color: var(--muted); font-weight: 650; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
.small { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 70ch; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.plan.pro { border-color: color-mix(in srgb, var(--ochre) 60%, transparent); }
.plan h3 { font-size: 20px; }
.price { margin: 10px 0 4px; }
.price strong { font-size: 40px; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.checks .i { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }
.plan .btn + .btn { margin-top: 10px; }
.fine { font-size: 14px; color: var(--muted); margin: 24px auto 0; max-width: 70ch; text-align: center; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style-position: outside; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* prose: legal, guides, support, changelog */
.prose h1 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 20px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; max-width: none; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 14px; padding: 14px 18px; border-left: 3px solid var(--ochre); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.prose .lead-sm { font-size: 19px; color: var(--muted); }
.prose figure { margin: 24px 0; }
.meta { font-size: 14px; color: var(--muted); }
.cta-box { margin-top: 40px; padding: 24px; border-radius: 16px; background: var(--tint); }
.cta-box p { margin-bottom: 14px; }
.list-links { list-style: none; padding: 0; display: grid; gap: 12px; }
.list-links a { font-weight: 600; }
.release { border-top: 1px solid var(--line); padding-top: 8px; }

/* withdrawal form */
.wform { display: grid; gap: 16px; margin: 24px 0; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.wform label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.wform label.inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin-right: 18px; }
.wform input, .wform textarea { font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.wform fieldset { border: 0; padding: 0; margin: 0; }
.wform legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { font-size: 14px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 20px; }
.foot-brand p { margin-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot-links a { color: var(--muted); }
.foot-links a.withdraw { color: var(--text); font-weight: 600; border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; text-decoration: none; }
.tm { font-size: 13px; }
.more { margin-top: 72px; }
.split h3 { font-size: 24px; margin-bottom: 12px; }
.split .lead { margin-bottom: 0; font-size: 18px; }
.video-ph { min-height: 200px; }
