/* Tarestack site. System fonts only; no external assets. */
:root {
  --ink: #10261e;
  --ink-soft: #3d5249;
  --green: #1d6b4c;
  --green-dark: #15533a;
  --mint: #e8f4ee;
  --amber: #e3a93b;
  --amber-soft: #fff6e3;
  --paper: #fbfaf6;
  --line: #d9ddd6;
  --red: #a4262c;
  --focus: #1a5fb4;
  --radius: 10px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--green-dark); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.site-header { background: var(--ink); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.brand .logo { border-radius: 7px; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: #e9efe9; text-decoration: none; font-weight: 500; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

main { padding: 32px 20px 56px; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; margin: 0.4em 0 0.5em; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 0.6em 0 0.3em; }
.small { font-size: 0.92rem; color: var(--ink-soft); }
code { background: #eef0ea; padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }

.hero { padding: 24px 0 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; font-weight: 700; color: var(--green); margin: 0; }
.lede { font-size: 1.2rem; max-width: 760px; color: var(--ink-soft); }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button {
  display: inline-block; border: 2px solid var(--green); color: var(--green-dark); background: #fff;
  padding: 10px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; cursor: pointer; font-family: inherit;
}
.button:hover { background: var(--mint); color: var(--ink); }
.button.primary { background: var(--green); color: #fff; }
.button.primary:hover { background: var(--green-dark); color: #fff; }

.notice { border-left: 5px solid var(--green); background: var(--mint); padding: 12px 16px; border-radius: 6px; margin: 18px 0; }
.notice-info { border-color: var(--amber); background: var(--amber-soft); }
.notice-error { border-color: var(--red); background: #fdecec; }
.notice-ok { border-color: var(--green); background: var(--mint); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 24px; }
.grid-3 > div, .split > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 12px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 20px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--green); }
.price-card ul { padding-left: 1.1em; flex: 1; }
.price { margin: 0.2em 0 0; }
.price .amount { font-size: 2.1rem; font-weight: 800; }
.price-alt { margin: 0 0 0.6em; color: var(--ink-soft); }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
form.stack { max-width: 760px; }
form.stack label { display: block; margin: 12px 0 4px; font-weight: 600; }
form.stack label.check { display: flex; gap: 10px; font-weight: 400; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
form.stack label.check input { margin-top: 6px; flex: none; width: 18px; height: 18px; }
form.stack input[type="email"], form.stack input:not([type]), form.stack textarea {
  width: 100%; padding: 10px; border: 2px solid #8a958f; border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
}
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px 16px; background: #fff; }
legend { font-weight: 700; padding: 0 6px; }
form.inline { display: inline-block; margin-top: 10px; }

.key-block { background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: 6px 20px 16px; }
textarea.key { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9rem; padding: 10px; border: 2px solid #8a958f; border-radius: 6px; word-break: break-all; background: #f7f8f5; color: var(--ink); }
.copy-status { font-weight: 600; color: var(--green-dark); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; }

.legal { max-width: 820px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.95rem; background: #fff; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
.legal th { background: #eef2ec; }

.site-footer { border-top: 1px solid var(--line); background: #f2f3ee; padding: 20px 0 32px; font-size: 0.92rem; color: var(--ink-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 640px) {
  dl.facts { grid-template-columns: 1fr; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
