/* Krasis — warm editorial, one accent.
   Tokens lifted from the app's docs/design/core-loop.html so the site and the
   product read as the same object. Light only, deliberately: no dark palette is
   designed, and inventing one here would need a second accent. */

:root {
  color-scheme: light;

  --paper:        #F6F1E8;
  --paper-raised: #EFE8DC;
  --ink:          #221F1A;
  --ink-soft:     #6C6459;
  --ink-faint:    #A79E90;
  --rule:         #DED5C5;
  --accent:       #B65A34;
  --accent-deep:  #8F4526;

  --serif: ui-serif, "New York", Georgia, "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 26px 90px;
}

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

/* ── masthead ─────────────────────────────────────────────────────────── */

.brand {
  display: inline-block;
  font: 400 25px/1 var(--serif);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .01em;
}
.brand:hover { color: var(--accent); }

.masthead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.masthead .tag {
  font: 400 13px/1 var(--sans);
  color: var(--ink-faint);
}

/* ── type ─────────────────────────────────────────────────────────────── */

h1 {
  font: 400 34px/1.15 var(--serif);
  letter-spacing: -.01em;
  margin: 38px 0 6px;
}
h2 {
  font: 500 14px/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 40px 0 10px;
}
h3 {
  font: 400 20px/1.3 var(--serif);
  margin: 28px 0 6px;
}
p { margin: 0 0 15px; }
ul { margin: 0 0 15px; padding-left: 22px; }
li { margin: 0 0 8px; }
strong { font-weight: 600; }

.updated {
  color: var(--ink-faint);
  font-size: 14px;
  margin: 0 0 30px;
}

.lead {
  font: 400 20px/1.55 var(--serif);
  color: var(--ink);
  margin: 0 0 22px;
}

/* The etymology, and any other aside that carries the Greek. */
.greek {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}

.note {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 26px 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); }

/* ── the three slots, as a quiet mark ─────────────────────────────────── */

.slots {
  display: flex;
  gap: 10px;
  margin: 30px 0 6px;
}
.slot {
  width: 34px;
  height: 52px;
  border: 1.5px solid var(--rule);
  border-radius: 4px 4px 8px 8px;
  background: var(--paper-raised);
  position: relative;
  overflow: hidden;
}
.slot i {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 86%;
  background: var(--accent);
  display: block;
}
.slot-caption {
  font: 400 13px/1.5 var(--sans);
  color: var(--ink-faint);
  margin: 0 0 30px;
}

/* ── plans ────────────────────────────────────────────────────────────── */

.plans { margin: 18px 0 6px; padding: 0; list-style: none; }
.plans li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.plans li:last-child { border-bottom: 0; }
.plans .name { font-family: var(--serif); font-size: 18px; }
.plans .price { color: var(--ink-soft); font-size: 15px; white-space: nowrap; }

/* ── footer ───────────────────────────────────────────────────────────── */

footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-faint);
}
footer a { color: var(--ink-soft); }
footer .sep { padding: 0 7px; }

@media (max-width: 480px) {
  h1 { font-size: 29px; }
  .wrap { padding: 32px 20px 70px; }
}
