/* InkPoint site. Plain CSS, no frameworks, no scripts. */
:root {
  --ink: #14213d;
  --ink-soft: #3b4766;
  --muted: #5b6478;
  --line: #d9dee8;
  --wash: #f4f6fa;
  --accent: #1d4ed8;
  --accent-dark: #1e3a8a;
  --mint: #5eead4;
  --radius: 14px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.site-nav a:hover { background: var(--wash); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px;
  border-radius: 10px; font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line); min-height: 48px; font-size: 16px; }
.btn-quiet:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-block { display: flex; width: 100%; }

/* Hero */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--wash), #fff); }
.hero h1 { font-size: clamp(30px, 6vw, 50px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 18em; }
.hero .subhead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); max-width: 40em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-actions .link { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.small-print { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 14px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.lede { color: var(--ink-soft); max-width: 46em; margin: 0 0 28px; }

.grid-3 { display: grid; gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.card p { margin: 0; color: var(--ink-soft); }
.num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px; }

/* Security */
.security { background: var(--wash); }
.points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.points li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 56px; position: relative; }
.points li::before { content: ""; position: absolute; left: 22px; top: 25px; width: 18px; height: 10px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.points p { margin: 0; color: var(--ink-soft); }
.closing { font-weight: 600; margin: 0; }

/* Who it is for */
.note { border-left: 4px solid var(--ink); background: var(--wash); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 24px; max-width: 46em; }
.note h3 { margin-bottom: 6px; }
.note p { margin: 0; color: var(--ink-soft); }

/* Pricing */
.plans { display: grid; gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; background: #fff; }
.plan h3 { font-size: 22px; margin: 0; }
.plan .badge { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; background: var(--wash); color: var(--muted); border: 1px solid var(--line); }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 2px; }
.plan .price span { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .np { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.plan ul { padding-left: 20px; margin: 0 0 24px; flex: 1; }
.plan li { margin-bottom: 8px; }
.plan.soon { background: #fbfcfe; }
.plan.soon .price { color: var(--ink-soft); }
.plan.featured { border: 3px solid var(--accent); box-shadow: 0 12px 32px rgba(29, 78, 216, 0.14); }
.plan.featured .badge { background: var(--accent); color: #fff; border-color: var(--accent); }
.footnote { color: var(--muted); font-size: 15px; margin: 24px 0 0; max-width: 52em; }

/* How to buy */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 15px; }
.steps p { margin: 0; color: var(--ink-soft); }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.buy-row p { margin: 0; color: var(--ink-soft); }

/* Docs and support */
.two { display: grid; gap: 20px; }
.two .card p { margin-bottom: 16px; }
.two .card a.arrow { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

/* FAQ */
.faq { max-width: 46em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 32px 16px 0; min-height: 44px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #d6dbe7; padding: 40px 0 48px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 12px; max-width: 52em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 18px; padding: 0; list-style: none; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot-main { color: #fff; font-weight: 600; }

/* Simple inner pages */
.page { padding: 48px 0 64px; }
.page h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.page .lede { margin-bottom: 24px; }
.page .card { max-width: 46em; margin-bottom: 20px; }
.page .card h2 { font-size: 22px; }
.page .card ul { margin: 0 0 4px; padding-left: 20px; color: var(--ink-soft); }
.page .card p { margin: 0; color: var(--ink-soft); }
.page .card p.alt { margin-top: 14px; }
.page .addr { font-weight: 700; word-break: break-all; }
.page .alt { margin-top: 16px; }

@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .points li:last-child { grid-column: span 2; }
  .hero { padding: 80px 0 64px; }
  section { padding: 72px 0; }
}

@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .site-nav a.hide-sm { display: none; }
  .hero { padding-top: 36px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Comparison table (Made for acknowledgments) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmp-title { margin-top: 36px; font-size: 22px; }
.cmp-intro { color: var(--ink-soft); max-width: 46em; margin: 6px 0 18px; }
.cmp-wrap { max-width: 860px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th, .cmp thead td { border-top: 0; background: var(--wash); font-size: 15px; font-weight: 700; }
.cmp thead th.cmp-us { color: var(--accent-dark); }
.cmp tbody th { font-weight: 600; width: 44%; }
.cmp td { width: 28%; }
.cmp .mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: 15px; line-height: 1; }
.cmp .yes .mark { background: var(--accent); color: #fff; }
.cmp .no .mark { background: #fff; color: var(--muted); border: 2px solid var(--line); }
.cmp .cmp-note { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.cmp-foot { color: var(--ink-soft); max-width: 46em; margin: 16px 0 0; font-size: 16px; }
@media (max-width: 600px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody { display: block; }
  .cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .cmp tbody tr:first-child { border-top: 0; }
  .cmp tbody th, .cmp tbody td { display: block; width: auto; border-top: 0; padding: 12px 14px; }
  .cmp tbody th { grid-column: 1 / -1; padding-bottom: 4px; }
  .cmp tbody td { padding-top: 6px; }
  .cmp tbody td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
  .cmp tbody td[data-label="InkPoint"]::before { color: var(--accent-dark); }
  .cmp .cmp-note { font-size: 13px; }
}
