/* Tocsio's one stylesheet: tokens (light and dark), layout, components, product mock-ups. No web fonts. */

:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f2f0ea;
  --ink: #12161c;
  --ink-muted: #4a5361;
  --line: #e2dfd6;
  /* form controls' boundary: at least 3:1 against the card and the page (WCAG 1.4.11) */
  --field-line: #7d8590;
  --brand: #12355b;
  --brand-soft: #e6edf6;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee4;
  --ok: #146b3f;
  --ok-soft: #e3f4ea;
  --warn: #9a6100;
  --warn-soft: #fbf1dc;
  --crit: #b42318;
  --crit-soft: #fde8e6;
  --shadow: 0 1px 2px rgb(18 22 28 / 6%), 0 8px 24px rgb(18 22 28 / 8%);
  --radius: 14px;
  --radius-s: 8px;
  --gutter: 16px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #151b23;
    --surface-2: #1b232d;
    --ink: #e8ecf1;
    --ink-muted: #a3aebc;
    --line: #2a3341;
    --field-line: #7a8596;
    --brand: #9cc1f2;
    --brand-soft: #172535;
    --accent: #ff8a4c;
    --accent-ink: #1a0d05;
    --accent-soft: #2c1a10;
    --ok: #5fd39a;
    --ok-soft: #12291d;
    --warn: #f0b952;
    --warn-soft: #2b2210;
    --crit: #ff7b72;
    --crit-soft: #2d1514;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 35%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 720;
}

h3 {
  font-size: 1.2rem;
  font-weight: 680;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-s);
}

.skip-link:focus {
  left: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
}

/* Header and navigation: a disclosure on small screens, a row from 960 px, no script. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  font-size: 1.2rem;
  text-decoration: none;
  margin-right: auto;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-weight: 600;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu[open] > .nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px var(--gutter) 16px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 10px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav a.menu-cta {
  color: var(--accent);
  font-weight: 700;
}

/* an anchor target is not hidden under the sticky header */
[id] {
  scroll-margin-top: 80px;
}

.site-header .header-cta,
.nav-wide {
  display: none;
}

/* From 960 px the row navigation replaces the disclosure; each is removed from the page while the other shows. */
@media (min-width: 960px) {
  .menu {
    display: none;
  }

  .nav-wide {
    display: block;
  }

  .nav-wide ul {
    display: flex;
    gap: 6px;
  }

  .nav-wide a {
    padding: 8px 10px;
    font-size: 0.97rem;
  }

  .site-header .header-cta {
    display: inline-flex;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 650 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-muted);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Sections */

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero {
  padding: 56px 0 64px;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--ink-muted);
  max-width: 640px;
}

@media (min-width: 960px) {
  .hero .wrap.has-visual {
    grid-template-columns: 1fr 1.05fr;
  }

  .hero {
    padding: 88px 0 96px;
  }
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .grid.cols-2,
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1040px) {
  .grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card p {
  color: var(--ink-muted);
  margin: 0;
}

.card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 640;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-top: 52px;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 760;
  font-size: 0.95rem;
}

.steps > li.card {
  padding-top: 68px;
}

.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.section-head + .feature {
  border-top: 0;
}

.feature + .grid {
  margin-top: 28px;
}

.feature p,
.split p {
  color: var(--ink-muted);
  font-size: 1.08rem;
}

@media (min-width: 900px) {
  .feature.has-visual,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .feature.flip > .visual,
  .split.reverse > .visual {
    order: -1;
  }
}

.split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* Pricing */

.tiers {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.tier.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.tier .price {
  font-size: 2.4rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
}

.tier .unit {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.tier .ticks {
  margin-bottom: 24px;
  flex: 1;
}

.note {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-top: 22px;
  max-width: 820px;
}

/* FAQ */

.faq {
  max-width: 860px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 650;
  font-size: 1.08rem;
}

.faq details p {
  color: var(--ink-muted);
}

/* Closing band */

.closing {
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 44px 28px;
}

@media (prefers-color-scheme: dark) {
  .closing {
    background: var(--brand-soft);
    color: var(--ink);
    border: 1px solid var(--line);
  }
}

.closing p {
  opacity: 0.9;
  max-width: 640px;
  font-size: 1.1rem;
}

/* Prose pages */

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: 0.6em;
}

.facts {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts th {
  width: 34%;
  padding-right: 16px;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Demo form */

.form-card {
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  font-weight: 720;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.fields {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .field.wide {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-color: var(--crit);
  box-shadow: 0 0 0 1px var(--crit);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.form-foot small {
  color: var(--ink-muted);
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--crit-soft);
  color: var(--crit);
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.challenge {
  margin-top: 18px;
  min-height: 65px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: grid;
  gap: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* Product mock-ups: product imagery drawn in HTML and CSS, read by assistive technology as one labelled image. */

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.mock-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill.crit {
  background: var(--crit-soft);
  color: var(--crit);
}

.pill.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.pill.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.pill.info {
  background: var(--brand-soft);
  color: var(--brand);
}

.mock-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mock-rows > li {
  display: grid;
  grid-template-columns: 4.2em 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}

.mock-rows > li:first-child {
  border-top: 0;
}

.mock time,
.mock .mono {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.mock .muted {
  color: var(--ink-muted);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

@media (min-width: 560px) {
  .hero-visual {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.phone {
  background: var(--ink);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow);
  max-width: 300px;
  margin: 0 auto;
}

.phone-screen {
  background: linear-gradient(160deg, var(--brand) 0%, #0a1d33 100%);
  border-radius: 24px;
  padding: 18px 12px 22px;
  min-height: 300px;
  color: #ffffff;
}

.phone-time {
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  margin: 6px 0 18px;
}

.notice {
  background: rgb(255 255 255 / 94%);
  color: #12161c;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.86rem;
}

.notice strong {
  display: block;
  margin: 2px 0;
}

.notice .from {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #4a5361;
  font-weight: 650;
}

.notice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.notice-actions span {
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  font-weight: 700;
  background: #e8ecf1;
}

.notice-actions span.go {
  background: #c2410c;
  color: #ffffff;
}

.panes {
  display: grid;
  gap: 10px;
}

.pane {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}

.pane b {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ladder li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}

.ladder li.done {
  background: var(--ok-soft);
  border-color: transparent;
}

.flow {
  display: grid;
  gap: 8px;
}

.flow > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  background: var(--surface-2);
}

.flow > div.key {
  border: 2px solid var(--accent);
  background: var(--accent-soft);
}

.flow .arrow {
  border: 0;
  background: none;
  padding: 0;
  text-align: center;
  color: var(--ink-muted);
}

.map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px 10px;
  align-items: center;
}

.map .from,
.map .to {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 8px 10px;
}

.map .to {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.map .head {
  font-weight: 700;
  border: 0;
  background: none;
  padding: 0 0 2px;
}

.clocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.clocks div {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 8px;
  text-align: center;
}

.clocks strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.05rem;
}

@media (prefers-reduced-motion: no-preference) {
  .pulse {
    animation: pulse 2.4s ease-in-out infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      transform: rotate(0deg);
    }

    6% {
      transform: rotate(-9deg);
    }

    12% {
      transform: rotate(8deg);
    }

    18% {
      transform: rotate(0deg);
    }
  }
}
