/* HookBooks website. Navy and amber from the logo, warm paper background, Inter. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #1b2b4b; --action: #1f3b63; --action-dark: #0f2442;
  --amber: #c8861f; --amber-hook: #e8a43a; --amber-soft: #fbefd9; --amber-ink: #7a4f0e; --gold: #f2c27a;
  --paper: #faf8f4; --card: #ffffff; --line: #ebe6dc; --line-strong: #d5cec1;
  --ink: #1b2433; --muted: #4a5363; --faint: #5b6473; --green: #23633e; --green-soft: #e6f2ea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--action); }
a:hover { color: var(--action-dark); }
img, svg { display: block; }
h1, h2, h3 { color: var(--navy); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; }
h3 { font-size: 19px; color: var(--ink); letter-spacing: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.eyebrow { font-size: 14px; font-weight: 700; color: #8a5a10; letter-spacing: 0.04em; text-transform: uppercase; }
.lead { font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--faint); }
.tiny { font-size: 13px; color: var(--faint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber-hook); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-dark); color: #fff; }
.btn-outline { border: 1.5px solid var(--action); color: var(--action); background: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #f5cf92; color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-weight: 600; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.logo:hover { color: var(--navy); }
.logo b { color: var(--amber); font-weight: 800; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; font-weight: 500; flex: 1 1 auto; }
.main-nav a { color: #3a4352; text-decoration: none; padding: 10px 0; }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.signin { font-weight: 600; text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .site-header .wrap { padding-left: 16px; padding-right: 8px; }
  .logo { font-size: 19px; flex: 1; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav { order: 3; flex-basis: 100%; flex-direction: column; gap: 0; display: none; padding-bottom: 8px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Sections */
section { scroll-margin-top: 80px; }
.hero { padding: 72px 0 64px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lead { max-width: 560px; }
.hero-copy strong { color: var(--ink); }
.page-hero { padding: 64px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.page-hero.center { text-align: center; align-items: center; }
.block { padding: 72px 0; }
.block-tight { padding: 40px 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card-lg { border-radius: 18px; padding: 32px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature p { color: var(--muted); }
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 600; color: #3a4352; }
.strip .dot { color: var(--amber); }
.dark { background: var(--navy); color: #eef1f7; }
.dark h2 { color: #fff; }
.dark .muted { color: #c9d1e0; }
.cta-band { background: var(--amber-soft); }
.cta-band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band p { color: #5b4510; }

/* Early access form */
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.signup input[type=email], .signup select, .signup input[type=text] { flex: 1 1 240px; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; min-height: 48px; color: var(--ink); }
.signup .hp { position: absolute; left: -9999px; }
.signup-msg { font-size: 15px; min-height: 1.5em; }
.signup-msg.ok { color: var(--green); font-weight: 600; }
.signup-msg.err { color: #9b2c22; font-weight: 600; }

/* App previews */
.preview { background: #fff; border: 1px solid #e3ddd1; border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(27,43,75,0.28); overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #efeae1; background: #fbfaf7; font-size: 12px; color: #6b7280; }
.preview-bar i { width: 10px; height: 10px; border-radius: 5px; background: #e2dccf; }
.preview-bar span { margin-left: 10px; }
.preview-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.needs { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.needs-row { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.needs-row + .needs-row { border-top: 1px solid #f0ece4; padding-top: 10px; }
.needs-row span:nth-child(2) { flex: 1; }
.chip { font-size: 11px; font-weight: 700; border-radius: 5px; padding: 2px 7px; background: #efece5; color: #3a4352; white-space: nowrap; }
.chip.soon { background: var(--amber-soft); color: var(--amber-ink); }
.chip.btnish { background: var(--action); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 6px; }
.count { font-size: 12px; background: var(--amber-soft); color: var(--amber-ink); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tile .k { font-size: 12px; color: var(--faint); }
.tile .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile .s { font-size: 12px; color: var(--faint); }
.tile .s.good { color: #2f7d4f; font-weight: 600; }
.paycheck { padding: 22px; display: flex; flex-direction: column; gap: 10px; font-variant-numeric: tabular-nums; }
.paycheck .row { display: flex; justify-content: space-between; gap: 12px; }
.paycheck .sub { color: var(--muted); }
.paycheck .rule { border-top: 1px solid #e3ddd1; padding-top: 10px; font-weight: 700; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 12px; font-weight: 600; border-radius: 6px; padding: 3px 8px; background: #efece5; color: #3a4352; }
.tag.good { background: var(--green-soft); color: var(--green); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 6px; }
.steps.cards li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; gap: 8px; }
.steps .n { width: 32px; height: 32px; border-radius: 16px; background: var(--action); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps .muted { font-size: 15px; }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d4f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.bullets { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: #3a4352; }
.security { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; }
.security li { display: flex; flex-direction: column; gap: 4px; }
.security span { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; max-width: 960px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid #e3ddd1; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.plan.featured { border: 2px solid var(--action); box-shadow: 0 24px 60px -30px rgba(27,43,75,0.4); }
.plan .price { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan .checks { border-top: 1px solid #f0ece4; padding-top: 16px; }
.badge { flex: none; font-size: 12px; font-weight: 700; background: var(--amber-soft); color: var(--amber-ink); border-radius: 999px; padding: 4px 10px; }
.mini-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mini-plan { border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mini-plan.dk { background: #24365c; border: 1px solid #34497a; }
.mini-plan.lt { background: #fff; color: var(--ink); }
.mini-plan .p { font-size: 40px; font-weight: 800; }
.mini-plan.dk .p { color: #fff; }
.mini-plan.lt .p { color: var(--navy); }
.mini-plan .p small { font-size: 16px; font-weight: 500; }
.mini-plan.dk .p small, .mini-plan.dk .d { color: #c9d1e0; }
.mini-plan.lt .p small, .mini-plan.lt .d { color: var(--faint); }
.mini-plan .d { font-size: 15px; }

/* Tables */
.table-box { background: #fff; border: 1px solid #e3ddd1; border-radius: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); padding: 14px 18px; }
td { padding: 14px 18px; border-top: 1px solid #f0ece4; vertical-align: top; }
td.r, th.r { text-align: right; }
tr.us { background: #f4f7fb; font-weight: 700; }
td.them { color: var(--muted); }

/* Calculator */
.calc { background: #fff; border: 1px solid #e3ddd1; border-radius: 18px; display: flex; flex-wrap: wrap; overflow: hidden; }
.calc-in { flex: 1 1 460px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.calc-out { flex: 1 1 380px; min-width: 0; background: var(--navy); color: #eef1f7; padding: 32px; display: flex; flex-direction: column; gap: 18px; justify-content: center; font-variant-numeric: tabular-nums; }
.calc-out .row { display: flex; justify-content: space-between; gap: 12px; }
.calc-out .row span:first-child { color: #c9d1e0; }
.calc-out .save { border-top: 1px solid #34497a; padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.calc-out .save .label { color: var(--gold); font-weight: 600; }
.calc-out .save .big { font-size: 52px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.calc-out .save .big small { font-size: 18px; font-weight: 500; color: #c9d1e0; letter-spacing: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: 15px; border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.pill[aria-pressed="true"] { border-color: var(--action); background: var(--action); color: #fff; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 22px; cursor: pointer; }
.stepper output { min-width: 40px; text-align: center; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Jump links */
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.jump a { text-decoration: none; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 8px 14px; color: var(--ink); }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); font-size: 15px; }
.site-footer .cols { padding-top: 40px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 28px 64px; }
.site-footer .cols > div { display: flex; flex-direction: column; gap: 8px; }
.site-footer .about { flex: 1 1 260px; }
.site-footer .legal { padding-bottom: 32px; color: #6b7280; font-size: 13px; }

@media (max-width: 600px) {
  .hero { padding: 36px 0 32px; }
  .block { padding: 48px 0; }
  .card-lg, .calc-in, .calc-out, .plan { padding: 22px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .strip .dot { display: none; }
  .strip .wrap { flex-direction: column; align-items: center; gap: 6px; }
  .lead { font-size: 17px; }
  .signup .btn { flex: 1 1 100%; }
}
