/* solologix.com. The app's colours; one bold thing (the morning list), everything else quiet. */
:root {
  --ink: #14171F; --ink-2: #2B313C; --muted: #566070; --line: #E3E6EB; --soft: #EEF0F4;
  --bg: #F7F8FA; --card: #FFFFFF;
  --blue: #2456E6; --blue-ink: #1B3FB0; --blue-soft: #E9EFFD;
  --green: #2F9E6A; --green-ink: #17603A; --green-soft: #E6F4EA;
  --head: "Schibsted Grotesk", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--blue-ink); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; padding: 10px 0; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--blue-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.top nav .btn { padding: 0 18px; color: #fff; }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } .top .wrap { gap: 12px; } }

/* Hero: the list is the product */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 700; max-width: 12ch; }
.hero .lede { font-size: 20px; color: var(--ink-2); margin-top: 22px; max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero .note { font-size: 15px; color: var(--muted); margin-top: 14px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } .hero { padding-top: 40px; } }

.today { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(20, 23, 31, .28); overflow: hidden; }
.today header { padding: 20px 22px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); }
.today header b { font-family: var(--head); font-size: 22px; }
.today header span { color: var(--muted); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.today ul { list-style: none; margin: 0; padding: 6px 0; }
.today li { border-bottom: 1px solid var(--soft); }
.today li:last-child { border-bottom: 0; }
.today label { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding: 13px 22px; cursor: pointer; }
.today input { appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border: 2px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-content: center; }
.today input:hover { border-color: var(--green); }
.today input:checked { background: var(--green); border-color: var(--green); }
.today input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.today .what b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.today .what span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.today .min { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.today li.done .what b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--green); }
.today footer { padding: 14px 22px; background: var(--green-soft); color: var(--green-ink); font-weight: 600; font-size: 15px; display: none; }
.today.finished footer { display: block; }
@media (prefers-reduced-motion: no-preference) { .today li { transition: background-color .25s; } .today li.done { background: #FAFCFB; } }

/* Sections */
section.band { padding: 80px 0; border-top: 1px solid var(--line); }
section.band.white { background: #fff; }
.band h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; max-width: 22ch; }
.band .intro { font-size: 19px; color: var(--ink-2); margin-top: 14px; max-width: 58ch; }

/* What goes on the list: real drafts, each in its own form */
.kinds { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 44px; }
.kind { grid-column: span 6; }
.kind.wide { grid-column: span 12; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.kind h3 { font-size: 22px; font-weight: 700; }
.kind > p, .kind .side p { color: var(--ink-2); margin-top: 8px; }
.sample { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-size: 15.5px; }
.band.white .sample { background: var(--bg); }
.sample .head { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.sample p + p { margin-top: 10px; }
.sample.quote { border-left: 4px solid var(--blue); }
.sample .why { margin-top: 14px; font-size: 14px; color: var(--green-ink); background: var(--green-soft); border-radius: 8px; padding: 8px 12px; }
@media (max-width: 860px) { .kind, .kind.wide { grid-column: span 12; } .kind.wide { grid-template-columns: 1fr; } }

/* The rules it never breaks */
.never { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; padding: 0; }
.never li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.never li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--ink); background: linear-gradient(45deg, transparent 44%, var(--ink) 44%, var(--ink) 56%, transparent 56%); }
.never b { display: block; }
.never span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .never { grid-template-columns: 1fr; } }

/* Who it is for */
.fits { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fit { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.fit:hover { border-color: var(--blue); color: var(--ink); }
.fit h3 { font-size: 21px; }
.fit p { color: var(--muted); font-size: 15.5px; }
.fit .go { margin-top: auto; padding-top: 8px; color: var(--blue-ink); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .fits { grid-template-columns: 1fr; } }

/* Steps: a real sequence */
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 16px; }
.steps li::before { content: "Step " counter(step); display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.steps b { display: block; font-family: var(--head); font-size: 21px; }
.steps span { display: block; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.pick { border: 2px solid var(--blue); }
.plan h3 { font-size: 22px; }
.plan .who { color: var(--muted); font-size: 15px; }
.plan .price { font-family: var(--head); font-size: 44px; font-weight: 700; line-height: 1; display: flex; flex-direction: column; gap: 6px; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.3; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border: 2px solid var(--green); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; height: 2px; background: var(--line); transform: none; top: 12px; width: 12px; }
.plan .btn { margin-top: auto; }
.plan .tag { position: absolute; top: -14px; left: 26px; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--blue); border-radius: 999px; padding: 3px 10px; }
.toggle { display: inline-flex; margin-top: 28px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; }
.toggle button { border: 0; background: transparent; font: inherit; font-size: 15px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); min-height: 40px; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Questions */
.faq { margin-top: 32px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 66ch; }

/* Closing call and footer */
.close { padding: 80px 0; background: var(--ink); color: #fff; }
.close .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.close h2 { font-size: clamp(28px, 3.2vw, 38px); max-width: 20ch; }
.close p { color: #C9CFDA; margin-top: 10px; }
.close .btn-primary { background: #fff; border-color: #fff; color: var(--ink); }
.close .btn-primary:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--ink); }
.bottom { padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.bottom .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.bottom a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.bottom a:hover { color: var(--blue-ink); text-decoration: underline; }
.bottom .brand { font-size: 16px; margin-right: auto; }

/* Page heads for inner pages */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 700; max-width: 22ch; }
.page-head .lede { font-size: 20px; color: var(--ink-2); margin-top: 18px; max-width: 52ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plans-band { border-top: 0; padding-top: 0; }
.plans-note { margin-top: 20px; font-size: 15px; }
