/* Classeeker public site · mobile first · no external fonts or scripts */

:root {
  --paper: #F5F2EC;
  --paper-alt: #ECE7DE;
  --ink: #0F141A;
  --ink-soft: #2A3038;
  --muted: #5B6168;
  --line: #D9D2C5;
  --accent: #8A6224;
  --accent-ink: #FFFFFF;
  --ok: #1F5B3A;
  --err: #9A2B22;
  --focus: #2B5FD9;

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 16px;
  --radius: 10px;
  --max: 1080px;
  --narrow: 680px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F141A;
    --paper-alt: #151C24;
    --ink: #ECE7DE;
    --ink-soft: #D3CDC2;
    --muted: #9AA0A7;
    --line: #2A323C;
    --accent: #D2A55A;
    --accent-ink: #0F141A;
    --ok: #7CC79A;
    --err: #F08A80;
    --focus: #8DB0FF;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a[href^="tel:"] { white-space: nowrap; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; padding: 8px 12px; background: var(--ink); color: var(--paper); z-index: 10; }
.skip:focus { left: var(--gutter); top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem/1 var(--serif); letter-spacing: .01em; }
.brand-mark { width: 30px; height: 17px; flex: none; fill: currentColor; }
.nav { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
@media (max-width: 399px) { .nav-long { display: none; } }
.nav-signin { border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.nav-signin:hover { border-color: var(--ink); text-decoration: none !important; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); letter-spacing: -.01em; max-width: 16ch; }
h2 { font-size: clamp(1.45rem, 4.6vw, 1.9rem); margin-top: 1.6em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.15rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }
.kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1.1em; }
.lead { font-size: clamp(1.1rem, 3.6vw, 1.3rem); color: var(--ink-soft); max-width: 36ch; }
.muted { color: var(--muted); font-size: .92rem; }
.mono { font-family: var(--mono); font-size: .95em; letter-spacing: .02em; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 4px; }

/* ---------- Sections ---------- */
.hero { padding: 56px 0 44px; }
.hero-tight { padding: 44px 0 20px; }
.hero-tight h1 { font-size: clamp(1.9rem, 7vw, 3rem); max-width: 20ch; }
.section { padding: 44px 0; }
.section-alt { background: var(--paper-alt); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.access { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.actions-tight { margin-top: 10px; }
.reach { margin-top: 26px; }
.reach-label { margin: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.reach .muted { margin: 12px 0 0; }
.person-intro { margin-top: 6px; }
.person-intro .lead { max-width: none; }
.langs { display: inline-flex; gap: 2px; margin-left: 2px; }
.langs a { padding: 4px 6px; border-radius: 6px; font-size: .82rem; letter-spacing: .04em; }
.langs a[aria-current="true"] { color: var(--ink); background: var(--paper-alt); text-decoration: none; }

/* ---------- Seller strip ---------- */
.seller-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.strip p { margin: 0; color: var(--ink-soft); }
.strip-link { font-weight: 600; text-decoration: none; color: var(--accent); white-space: nowrap; align-self: flex-start; }
.strip-link:hover { text-decoration: underline; }

/* ---------- Person ---------- */
.person { display: flex; flex-direction: column; gap: 16px; }
.person p { margin: 0; }
.person-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }

/* ---------- ID card ---------- */
.idcard { margin: 28px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.idcard > div { padding: 14px 16px; border-top: 1px solid var(--line); }
.idcard > div:first-child { border-top: 0; }
.idcard dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.idcard dd { margin: 0; }

/* ---------- Ways (verify: before anything else) ---------- */
.sub { color: var(--muted); margin-top: -.2em; }
.ways { display: grid; gap: 22px; margin-top: 8px; }
.ways > div { border-left: 2px solid var(--accent); padding-left: 16px; }
.ways p { margin: 0; color: var(--ink-soft); }

/* ---------- Steps (verify: if we move forward) ---------- */
.steps { list-style: none; counter-reset: step; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent);
  font: 600 .9rem/28px var(--serif); text-align: center;
}
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Never ---------- */
.never { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.never li { position: relative; padding-left: 30px; }
.never li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 2px; background: var(--err);
  transform: rotate(45deg);
}
.never li::after {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 2px; background: var(--err);
  transform: rotate(-45deg);
}
.closing { color: var(--ink-soft); margin: 0; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: .95rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 48px;
}
.section-alt input, .section-alt textarea { background: var(--paper); }
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); }
input[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.fine { font-size: .88rem; color: var(--muted); margin: 0; }
.notice p { margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; border: 1px solid currentColor; }
.notice .ok { color: var(--ok); }
.notice .err { color: var(--err); }
.notice:empty { display: none; }

/* ---------- Sign in / member area ---------- */
.auth { min-height: 55vh; }
.auth .form { max-width: 420px; }
.auth-alt { margin-top: 18px; }
.signout { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: .92rem; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.prose p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .9rem; color: var(--muted); }
.foot { display: grid; gap: 14px; }
.foot p { margin: 0; }
.foot strong { color: var(--ink-soft); }
.foot-contact, .foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--ink-soft); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .hero { padding: 96px 0 72px; }
  .hero-tight { padding: 72px 0 28px; }
  .section { padding: 64px 0; }
  .strip { flex-direction: column; align-items: flex-start; }
  .strip-link { align-self: flex-start; }
  .person { flex-direction: row; align-items: flex-start; gap: 22px; }
  .person-photo { width: 112px; height: 112px; }
  .idcard > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; }
  .idcard dt { margin: 0; }
  .ways { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
  .steps { gap: 26px; }
}

@media print {
  .site-header nav, .actions, .reach, .seller-strip, #invitation { display: none; }
  body { background: #fff; color: #000; }
}
