/* ikosh.app: monochrome, system fonts, no scripts (doc 20). */
:root {
  --bg: #ffffff; --text: #111111; --muted: #55595f; --border: #e3e5e8; --link: #0a64c8; --soft: #f5f6f7;
  --maxw: 1080px; --measure: 68ch; --radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111214; --text: #f2f3f5; --muted: #a8adb4; --border: #2a2d31; --link: #5aa2f0; --soft: #1a1c1f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 18px; line-height: 30px; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; }
code { background: var(--soft); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; z-index: 10; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header and footer */
header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.wordmark { font-weight: 800; letter-spacing: .22em; font-size: 20px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.wordmark svg { width: 26px; height: 26px; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; }
nav.main a { color: var(--text); text-decoration: none; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
nav.main a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
footer.site { border-top: 1px solid var(--border); margin-top: 96px; padding: 32px 0 48px; color: var(--muted); font-size: 15px; line-height: 24px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer.site a { color: var(--muted); }

/* Type */
h1 { font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; }
h2 { font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 28px; font-weight: 650; margin: 0 0 8px; }
p, li { max-width: var(--measure); }
.lead { font-size: 21px; line-height: 33px; color: var(--muted); }
.small { font-size: 15px; line-height: 24px; color: var(--muted); }
@media (max-width: 600px) { h1 { font-size: 40px; line-height: 44px; } h2 { font-size: 27px; line-height: 33px; } body { font-size: 17px; line-height: 28px; } }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }
section.compact { padding: 24px 0; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.hero .ring { width: 100%; max-width: 340px; justify-self: center; color: var(--text); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero .ring { max-width: 200px; order: -1; justify-self: start; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; font-size: 17px; text-decoration: none; border: 1px solid var(--text); }
.btn.primary { background: var(--text); color: var(--bg); }
.btn.secondary { color: var(--text); background: transparent; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 2px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); text-transform: uppercase; }

/* Promises: a numbered row, not cards */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: p; }
.promises div { border-top: 2px solid var(--text); padding-top: 16px; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr; gap: 24px; } }

/* Feature list with line icons */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); }
.features > div { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features > div:nth-child(3n) { border-right: 0; }
.features > div:nth-last-child(-n+3) { border-bottom: 0; }
.features svg { width: 28px; height: 28px; color: var(--text); margin-bottom: 10px; }
.features p { margin: 0; font-size: 16px; line-height: 25px; color: var(--muted); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features > div, .features > div:nth-child(3n) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .features > div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .features > div { border-right: 0 !important; } }

.wont { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.wont ul { padding-left: 1.1em; }
@media (max-width: 900px) { .wont { grid-template-columns: 1fr; gap: 8px; } }
.steps { list-style: none; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border: 1.5px solid var(--text); border-radius: 50%; display: grid; place-items: center; font-weight: 700; }

/* Tables (pricing) become stacked rows on phones */
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 14px; color: var(--muted); font-weight: 650; }
td.mark { text-align: center; white-space: nowrap; }
@media (max-width: 600px) {
  table.free-pro thead { display: none; }
  table.free-pro tr { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; border-bottom: 1px solid var(--border); padding: 10px 0; }
  table.free-pro td { border: 0; padding: 0; }
  table.free-pro td.mark::before { content: attr(data-label) " "; color: var(--muted); font-size: 13px; }
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plans > div { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.plans .price { font-size: 30px; font-weight: 800; line-height: 38px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Help */
.help-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-top: 40px; }
.help-nav { font-size: 15px; line-height: 22px; }
.help-nav h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 22px 0 6px; }
.help-nav ul { list-style: none; padding: 0; margin: 0; }
.help-nav a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; }
.help-nav a[aria-current="page"] { font-weight: 700; }
@media (max-width: 900px) { .help-layout { grid-template-columns: 1fr; } .help-nav { order: 2; border-top: 1px solid var(--border); } }
article .kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
article ol.steps { margin: 18px 0; }
.callout { border: 1px solid var(--border); border-left: 4px solid var(--link); border-radius: 0; padding: 12px 16px; margin: 18px 0; background: var(--soft); max-width: var(--measure); }
.callout.important { border-left-color: #b45309; }
.related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.checksum { font-size: 14px; overflow-wrap: anywhere; }
