/* StartBusiness.tech: one stylesheet, system fonts only, light and dark schemes. */
:root {
  color-scheme: light dark;
  --paper: #f3f6f1;
  --surface: #ffffff;
  --ink: #13241c;
  --ink-soft: #3d5046;
  --ledger: #1b5a43;
  --ledger-ink: #ffffff;
  --marigold: #f4b63a;
  --marigold-soft: #fdecc4;
  --rule: #c5d1c7;
  --rule-strong: #8fa396;
  --focus-ring: #13241c;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-receipt: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --measure: 68ch;
  --wide: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1914;
    --surface: #17241d;
    --ink: #e8efe9;
    --ink-soft: #b9c8bf;
    --ledger: #86d4b2;
    --ledger-ink: #0f1914;
    --marigold: #f4b63a;
    --marigold-soft: #3b3115;
    --rule: #2f4237;
    --rule-strong: #5d7466;
    --focus-ring: #f4b63a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
  text-align: left;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.45rem; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.05rem); font-weight: 700; margin-top: 0; }
h3 { font-size: 1.3rem; font-weight: 700; }
a { color: var(--ledger); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--marigold);
  border-radius: 3px;
}
strong { font-weight: 700; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--surface); color: var(--ink);
  padding: 0.6rem 1rem; border: 2px solid var(--ink); z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 700px) { .wrap { padding: 0 2rem; } }
.prose { max-width: var(--measure); }
.wrap.prose { max-width: var(--wide); }
.wrap.prose > * { max-width: var(--measure); }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .tld { color: var(--ink-soft); font-weight: 600; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 0.3rem 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule-strong); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--marigold); font-weight: 700; }

/* Status line: shown on every page */
.status { background: var(--marigold-soft); border-bottom: 1px solid var(--rule); }
.status p { margin: 0; padding: 0.55rem 0; font-size: 1.125rem; }

main { display: block; }
section { padding: 3rem 0; }
section + section { border-top: 1px solid var(--rule); }

/* Hero */
.hero { padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3.5rem; } }
.lead { font-size: 1.3rem; line-height: 1.55; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; margin-top: 1.5rem; }
.button {
  display: inline-block; background: var(--ledger); color: var(--ledger-ink);
  font-weight: 700; text-decoration: none; padding: 0.8rem 1.3rem; border-radius: 6px;
  border: 2px solid var(--ledger); line-height: 1.3;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fine { font-size: 1.125rem; color: var(--ink-soft); }

/* The receipt: the one bold element. Prices laid out like a filing receipt. */
.receipt {
  background: var(--surface); color: var(--ink);
  font-family: var(--font-receipt); font-size: 1.125rem; line-height: 1.55;
  padding: 1.5rem 1.4rem 1.75rem; border: 1px solid var(--rule);
  border-top: 6px solid var(--ledger);
  max-width: 30rem;
  position: relative;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background:
    linear-gradient(135deg, var(--surface) 50%, transparent 50%) 0 0 / 20px 10px repeat-x,
    linear-gradient(225deg, var(--surface) 50%, transparent 50%) 10px 0 / 20px 10px repeat-x;
}
@media (min-width: 960px) { .receipt { transform: rotate(-0.8deg); margin-top: 0.5rem; } }
.receipt h2 { font-family: var(--font-receipt); font-size: 1.125rem; font-weight: 700; margin: 0 0 0.2rem; letter-spacing: 0; }
.receipt .rc-sub { margin: 0 0 1rem; color: var(--ink-soft); }
.receipt h3 { font-family: var(--font-receipt); font-size: 1.125rem; font-weight: 700; margin: 1.1rem 0 0.4rem; padding-top: 0.9rem; border-top: 2px dashed var(--rule-strong); }
.receipt dl { margin: 0; }
.rc-line { display: flex; align-items: baseline; gap: 0.4rem; margin: 0 0 0.35rem; }
.rc-line dt { flex: 1 1 auto; display: flex; align-items: baseline; gap: 0.4rem; }
.rc-line dt::after { content: ""; flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted var(--rule-strong); transform: translateY(-0.3em); }
.rc-line dd { margin: 0; font-weight: 700; text-align: right; flex: 0 1 auto; }
.receipt .rc-foot { margin: 1.1rem 0 0; padding-top: 0.9rem; border-top: 2px dashed var(--rule-strong); }

/* Service panels: two different shapes on purpose, they are two different services */
.services { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.service { background: var(--surface); border: 1px solid var(--rule); padding: 1.5rem 1.4rem; border-radius: 4px; }
.service.reg { border-left: 8px solid var(--ledger); }
.service.food { border-left: 8px solid var(--marigold); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.25; margin: 0.25rem 0 0.75rem; }
.price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 1.125rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* Steps are a true sequence, so they are numbered */
.steps { list-style: none; padding: 0; counter-reset: step; max-width: var(--measure); }
.steps li { counter-increment: step; position: relative; padding: 0 0 1rem 3.2rem; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--ledger); color: var(--ledger-ink);
  font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.steps li strong { display: block; }

/* Included and not included */
.split { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.marks { list-style: none; padding: 0; }
.marks li { position: relative; padding-left: 2rem; }
.marks li::before { position: absolute; left: 0; top: 0; font-weight: 800; width: 1.4rem; text-align: center; }
.marks.yes li::before { content: "\2713"; color: var(--ledger); }
.marks.no li::before { content: "\2715"; color: var(--ink-soft); }

.note {
  background: var(--surface); border: 1px solid var(--rule); border-left: 8px solid var(--marigold);
  padding: 1rem 1.25rem; max-width: var(--measure); margin: 1.25rem 0;
}
.note p:last-child { margin-bottom: 0; }

/* Fee tool */
.finder { margin: 1.5rem 0 1rem; max-width: 34rem; }
.finder label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.finder .hint { margin: 0 0 0.5rem; font-size: 1.125rem; color: var(--ink-soft); }
.finder input {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 2px solid var(--rule-strong); border-radius: 6px; padding: 0.65rem 0.8rem;
}
.finder input:focus-visible { border-color: var(--ink); }
.count { font-weight: 700; margin: 0.6rem 0 0; }
.no-match { background: var(--surface); border: 2px dashed var(--rule-strong); padding: 1rem 1.25rem; }

.fees { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1.125rem; }
.fees caption { text-align: left; font-weight: 700; padding-bottom: 0.5rem; }
.fees th, .fees td { text-align: left; vertical-align: top; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--rule); }
.fees thead th { background: var(--surface); border-bottom: 3px solid var(--ink); font-family: var(--font-display); font-size: 1.125rem; }
.fees tbody th { font-family: var(--font-display); font-size: 1.2rem; }
.fees tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.fees .fig { font-weight: 700; }
.fees .check { font-weight: 700; color: var(--ink); background: var(--marigold-soft); padding: 0 0.3rem; }
.fees .more { margin: 0.4rem 0 0; font-size: 1.125rem; }
.fees .src { margin: 0.35rem 0 0; font-size: 1.125rem; }
.fees .src a { margin-right: 0.9rem; display: inline-block; }
.fees .office { display: block; font-size: 1.125rem; font-family: var(--font-body); font-weight: 400; margin-top: 0.2rem; }
.col-state { width: 17%; } .col-form { width: 19%; } .col-rep { width: 24%; }
@media (max-width: 959px) {
  .fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; width: 100%; }
  .fees caption { display: block; width: 100%; }
  .fees tr { background: var(--surface); border: 1px solid var(--rule); border-top: 5px solid var(--ledger); margin: 0 0 1.25rem; }
  .fees tbody tr:nth-child(even) { background: var(--surface); }
  .fees th, .fees td { border-bottom: 1px solid var(--rule); padding: 0.75rem 1rem; }
  .fees td:last-child { border-bottom: 0; }
  .fees td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 1.125rem; color: var(--ink-soft); margin-bottom: 0.15rem; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .fees tr { display: grid; grid-template-columns: 1fr 1fr; }
  .fees tbody th, .fees td:last-child { grid-column: 1 / -1; }
  .fees td:nth-of-type(1) { border-right: 1px solid var(--rule); }
}

/* Footer */
.site-foot { border-top: 4px solid var(--ledger); background: var(--surface); margin-top: 0; padding: 2.5rem 0 3rem; font-size: 1.125rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 2fr; gap: 3rem; } }
.site-foot h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.foot-links { list-style: none; padding: 0; }
.family { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 2rem; }
@media (min-width: 640px) { .family { grid-template-columns: 1fr 1fr; } }
.family li { margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.family a { font-weight: 700; }
.family span { display: block; color: var(--ink-soft); }
.legal-line { margin-top: 2rem; color: var(--ink-soft); }

.page-head { padding: 2.5rem 0 1rem; }
.page-head + section { border-top: 0; padding-top: 1rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .site-head nav, .status, .finder { display: none; } body { background: #fff; color: #000; } }

[hidden] { display: none !important; }
