/* The public site (tortugaaccounting.com). Deep navy brand, the turtle-shell logo, the motto in Georgia. */
:root { --ink: #141b26; --muted: #5b6676; --bg: #f5f7fa; --panel: #fff; --line: #e1e6ee; --brand: #1e3a5f; --soft: #e0e9f5; --shell: #9dc0ea; --accent: #f47230; --ok: #1b7a3a; --bad: #b42318; }
@media (prefers-color-scheme: dark) { :root { --ink: #e6ecf3; --muted: #94a1b2; --bg: #0c111a; --panel: #141b26; --line: #243042; --brand: #7aa2d6; --soft: #1b2a3d; --ok: #4cc27a; --bad: #f97066; } }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); } a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: .5rem 1rem; z-index: 2; }

/* Header and footer, the same on every page. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.25rem 0; flex-wrap: wrap; }
.brand { display: flex; gap: .6rem; align-items: center; font-weight: 800; font-size: 1.2rem; color: var(--brand); text-decoration: none; }
.brand .lockup { display: grid; line-height: 1.15; } .brand .name span { color: var(--ink); font-weight: 500; }
.motto { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: .82rem; letter-spacing: .06em; color: var(--muted); }
.top nav { display: flex; gap: .3rem 1.3rem; flex-wrap: wrap; align-items: center; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--ink); } .top nav a:hover { color: var(--brand); text-decoration: underline; }
.top nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.top nav a.signin { font-weight: 700; color: var(--brand); border: 1px solid var(--brand); border-radius: 8px; padding: .25rem .8rem; }
.foot { margin-top: 4rem; border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .9rem;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.5rem; }
.foot strong { display: block; color: var(--ink); margin-bottom: .4rem; font-size: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; } .foot a { color: var(--muted); } .foot a:hover { color: var(--brand); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .top nav { font-size: .9rem; } }

/* Page text. Inner pages keep a reading measure; the home page uses the full width. */
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.07; letter-spacing: -.03em; margin: 0 0 1rem; }
h2 { font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.2; margin: 3rem 0 1rem; }
h3 { font-size: 1.08rem; margin: 1.6rem 0 .3rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.8rem; max-width: 38rem; }
.page { max-width: 46rem; padding-top: 2.5rem; } .page p, .page li { max-width: 42rem; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
code, pre { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; }
code { background: var(--soft); padding: .05rem .3rem; border-radius: 4px; }
pre { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; } th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; }

/* Buttons and the invitation form. */
.button, button { display: inline-block; font: inherit; font-weight: 700; padding: .75rem 1.2rem; border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer; text-decoration: none; }
@media (prefers-color-scheme: dark) { .button, button { color: #0b1626; } }
button[disabled] { opacity: .6; cursor: progress; }
form.invite { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 30rem; }
form.invite label { flex: 1 1 14rem; display: grid; }
form.invite input { font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { color: var(--muted); font-size: .9rem; margin-top: .7rem; } .note.bad { color: var(--bad); } .note.good { color: var(--ok); }
#ts:empty { display: none; } #ts { margin-top: .7rem; }

/* The privacy idea, shown: what the AI reads beside what you read. */
.tok { font-family: ui-monospace, Consolas, monospace; font-size: .9em; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 0 .25rem; border-radius: 4px; white-space: nowrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); margin: 2rem 0; }
.split > div { padding: 1.3rem 1.4rem; } .split > div + div { border-left: 1px dashed var(--line); background: color-mix(in srgb, var(--soft) 45%, var(--panel)); }
.split h3 { margin: 0 0 .7rem; font-size: .95rem; color: var(--muted); font-weight: 600; }
.split p { margin: 0 0 .7rem; } .split p:last-child { margin: 0; }
.split .fig { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px dashed var(--line); } }

/* Screenshots: framed like a window, never wider than the page. */
figure.shot { margin: 1.5rem 0 2.5rem; } figure.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgb(20 27 38 / .10); }
figure.shot figcaption { color: var(--muted); font-size: .92rem; margin-top: .7rem; max-width: 40rem; }

/* Lists of plain facts. */
dl.facts { display: grid; grid-template-columns: 12rem 1fr; gap: .6rem 1.5rem; margin: 1rem 0; } dl.facts dt { font-weight: 700; } dl.facts dd { margin: 0; }
@media (max-width: 640px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: .6rem; } }
details { border-bottom: 1px solid var(--line); padding: .9rem 0; } details summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
details p { margin: .6rem 0 0; }
.log { list-style: none; padding: 0; margin: 0; } .log > li { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.log time { color: var(--muted); font-variant-numeric: tabular-nums; } .log ul { margin: 0; padding-left: 1.1rem; } .log ul li { margin: .2rem 0; }
@media (max-width: 640px) { .log > li { grid-template-columns: 1fr; gap: .4rem; } }
.status { display: flex; gap: .8rem; align-items: center; font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.status i { width: .9rem; height: .9rem; border-radius: 50%; background: var(--muted); flex: none; }
.status.up i { background: var(--ok); } .status.down i { background: var(--bad); }
.status.up span::before { content: ""; } .status.down { color: var(--bad); }
@media (prefers-reduced-motion: no-preference) { .status.checking i { animation: pulse 1s ease-in-out infinite alternate; } @keyframes pulse { to { opacity: .3; } } }

/* Home page. */
.hero { padding: 3.5rem 0 2.5rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.demo p { margin: 0 0 .6rem; } .demo .demo-q { padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.demo .demo-h { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 1rem 0 .2rem; }
.fig { font-weight: 700; font-variant-numeric: tabular-nums; }
section { padding: 1.5rem 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.6rem 2.4rem; }
.grid h3 { margin: 0 0 .3rem; } .grid p { margin: 0; color: var(--muted); font-size: .97rem; }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; } .amount small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; } ul.checks li::before { content: "✓ "; color: var(--brand); font-weight: 800; }
@media (max-width: 820px) { .hero, .price { grid-template-columns: 1fr; } .hero { padding-top: 1.5rem; } }
.hero figure.shot { margin: 0; }
.demo.wide { max-width: 40rem; margin: 0 auto 2.5rem; }
