/* VibeStartup's house style: the book (redesign/DESIGN.md). Ivory paper, ink, the editor's tomato pen, cobalt sparingly; Instrument Serif and Instrument Sans; square corners. The console and the account pages use these tokens; the landing adds book.css. */
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url("/fonts/InstrumentSans-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url("/fonts/InstrumentSans-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url("/fonts/InstrumentSans-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url("/fonts/InstrumentSans-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* metric-matched fallbacks, so the swap to the house faces does not move the page */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Georgia"), local("Times New Roman"), local("Liberation Serif"); size-adjust: 88%; ascent-override: 98%; descent-override: 26%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 97%; ascent-override: 96%; descent-override: 25%; }
:root {
  --bg: #fff8e9;
  --surface: #fffcf4;
  --soft: #f6ecd6;
  --line: #e2d7bf;
  --text: #212121;
  --muted: #6b645a;
  --ink: #212121;
  --ink-text: #fff8e9;
  --accent: #b23a22;
  --accent-soft: #fde1d8;
  --accent-text: #ffffff;
  --ok: #2f7d4f;
  --ok-soft: #e3f2e8;
  --warn: #8a5a00;
  --warn-soft: #fbf0d4;
  --bad: #b3261e;
  --focus: #2752ed;
  --serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  --sans: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b19;
    --surface: #242320;
    --soft: #2d2b27;
    --line: #3d3a34;
    --text: #f3ead6;
    --muted: #b3aa98;
    --ink: #fff8e9;
    --ink-text: #212121;
    --accent: #f36c50;
    --accent-soft: #3d231c;
    --accent-text: #212121;
    --ok: #7dd3a0;
    --ok-soft: #1f3327;
    --warn: #f3c86b;
    --warn-soft: #3a2f16;
    --bad: #ff8a80;
    --focus: #8ea6ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; color: var(--ink); letter-spacing: -0.01em; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; border-radius: var(--radius); }

/* header and footer */
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 1.45rem var(--serif); }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.96rem; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; margin-top: 64px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 32px; }
.site-foot a { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 0.96rem var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--ink-text); }
.btn.primary:hover { opacity: 0.9; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.small { min-height: 32px; padding: 4px 12px; font-size: 0.86rem; }
.btn.danger { color: var(--bad); border-color: var(--bad); background: transparent; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* landing */
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; color: var(--muted); margin: 0 0 12px; }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 22px 0 0; font-size: 0.95rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.section { padding-top: 48px; }
.section > h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.section > p.sub { color: var(--muted); margin: 6px 0 0; max-width: 40em; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.steps li::before { content: counter(step); display: block; font: 500 1.8rem var(--serif); color: var(--accent); margin-bottom: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.split ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.plan.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan h3 { margin: 0; font-size: 1.35rem; }
.plan .price { font: 500 1rem var(--serif); color: var(--muted); font-style: italic; }
.plan ul { margin: 6px 0 0; padding-left: 1.2em; color: var(--muted); font-size: 0.94rem; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
}

/* forms on the public pages: the account, a new business, and the language picker */
.field { display: block; margin: 0 0 12px; font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 9px 11px;
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.error { margin: 6px 0 10px; color: var(--bad); font-size: 0.9rem; }
.error:empty { display: none; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.langbtn {
  margin-left: 10px; padding: 2px 8px; font: 600 0.85rem var(--sans); color: var(--text);
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.langlist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.langlist a { display: block; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; color: var(--text); }
.langlist a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }
.foot-right { display: inline-flex; align-items: center; gap: 4px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--accent); }
