/* Standalone start page stylesheet for toro4n.com */

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-wght-normal.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;
}

:root {
  color-scheme: light dark;
  --page-bg: #fafbfd;
  --surface: #ffffff;
  --surface-subtle: #f3f5f9;
  --surface-elevated: #f6f7fb;
  --bar-bg: rgb(250 251 253 / 0.86);
  --ink: #0f172a;
  --ink-soft: #475467;
  --ink-faint: #667085;
  --line: #e4e7ef;
  --line-strong: #cdd3e0;
  --accent: #4f5bd5;
  --accent-hover: #3f4bc4;
  --accent-ink: #3c47b8;
  --accent-tint: rgb(79 91 213 / 0.09);
  --accent-ring: rgb(79 91 213 / 0.22);
  --dot-grid: rgb(15 23 42 / 0.085);
  --hero-glow: rgb(79 91 213 / 0.08);
  --frame-bg: #ffffff;
  --frame-border: rgb(15 23 42 / 0.1);
  --shadow-stage:
    0 1px 2px rgb(15 23 42 / 0.05),
    0 18px 44px -16px rgb(15 23 42 / 0.16),
    0 4px 12px -4px rgb(15 23 42 / 0.07);
  --shadow-cta: 0 1px 2px rgb(15 23 42 / 0.12), 0 6px 18px -6px rgb(79 91 213 / 0.45);
  --dot-a: #4f5bd5;
  --dot-b: #0f9d7a;
  --dot-c: #d97706;
  --font-sans: "Geist Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --content-max: 1144px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #0b0d13;
    --surface: #12151f;
    --surface-subtle: #181c28;
    --surface-elevated: #10131c;
    --bar-bg: rgb(11 13 19 / 0.84);
    --ink: #f1f4fa;
    --ink-soft: #a0aab8;
    --ink-faint: #7b8698;
    --line: rgb(255 255 255 / 0.09);
    --line-strong: rgb(255 255 255 / 0.16);
    --accent: #4f5bd5;
    --accent-hover: #5e6ae3;
    --accent-ink: #97a3ff;
    --accent-tint: rgb(116 128 248 / 0.14);
    --accent-ring: rgb(116 128 248 / 0.3);
    --dot-grid: rgb(255 255 255 / 0.075);
    --hero-glow: rgb(79 91 213 / 0.18);
    --frame-bg: #151924;
    --frame-border: rgb(255 255 255 / 0.12);
    --shadow-stage:
      0 1px 0 rgb(255 255 255 / 0.06) inset,
      0 26px 64px -18px rgb(0 0 0 / 0.72),
      0 8px 20px -6px rgb(0 0 0 / 0.45);
    --shadow-cta: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 8px 24px -8px rgb(79 91 213 / 0.65);
    --dot-a: #7b87ff;
    --dot-b: #34d399;
    --dot-c: #fbbf24;
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--page-bg);
  background-image: radial-gradient(ellipse 75% 420px at 50% 0, var(--hero-glow), transparent 72%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: translateY(0);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Shared header */

header.site-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px max(24px, calc((100% - var(--content-max)) / 2));
  background: var(--bar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

header .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

header .brand svg {
  display: block;
  height: 25px;
  width: auto;
}

header .brand:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 4px;
}

header.site-bar nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

header.site-bar nav a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 480;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease;
}

header.site-bar nav a:hover {
  color: var(--ink);
  background: var(--surface-subtle);
}

header.site-bar nav a:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 2px;
}

header.site-bar a.open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page-bg);
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

header.site-bar a.open:hover {
  opacity: 0.88;
}

header.site-bar a.open:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 3px;
}

/* Main container */

main {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: 68px 24px 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 440px;
  background-image: radial-gradient(var(--dot-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 68% 90% at 50% 25%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 68% 90% at 50% 25%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-copy,
.preview-stage {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 20px;
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  font-weight: 660;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--ink);
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.55vw, 1.225rem);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  background-color: #4f5bd5;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 580;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: background-color 140ms ease, transform 140ms ease;
}

.cta-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.cta-primary:active {
  transform: translateY(0);
}

.cta-primary:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 3px;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 520;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.cta-secondary:hover {
  border-color: var(--ink-faint);
  background: var(--surface-subtle);
}

.cta-secondary:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 3px;
}

.cta-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 140ms ease;
}

.cta-quiet:hover {
  color: var(--ink);
}

.cta-quiet:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 2px;
}

/* Product video frame */

.preview-stage {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px;
  border-radius: 18px;
  background: var(--frame-bg);
  border: 1px solid var(--frame-border);
  box-shadow: var(--shadow-stage);
}

.preview {
  border-radius: 11px;
  overflow: hidden;
  background: var(--surface-subtle);
}

.hero video {
  display: block;
  width: 100%;
  height: auto;
  background-image: url(/start-page-poster.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (prefers-color-scheme: dark) {
  .hero video { background-image: url(/start-page-dark-poster.webp); }
}

/* Shared section header rhythm */

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Pillars architectural grid */

.pillars {
  max-width: calc(var(--content-max) + 48px);
  margin: 0 auto;
  padding: 24px 24px 88px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 32px;
  background: var(--surface);
}

.pillar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pillar-num {
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--accent-tint);
}

.pillar-tag {
  font-size: 13px;
  font-weight: 520;
  color: var(--ink-faint);
}

.pillar h3 {
  margin: 0 0 12px;
  font-size: 1.3125rem;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pillar p {
  margin: 0 0 26px;
  font-size: 0.96875rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 520;
  letter-spacing: -0.005em;
}

.spec-pill-accent {
  border-color: var(--accent-ring);
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.spec-pill-muted {
  border-style: dashed;
  color: var(--ink-faint);
}

/* Collaboration & AI spotlight */

.together {
  max-width: calc(var(--content-max) + 48px);
  margin: 0 auto;
  padding: 0 24px 88px;
}

.together-shell {
  padding: 52px 48px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
}

.together-shell .section-head {
  margin-bottom: 34px;
}

.together-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.together-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.together-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  font-size: 12.5px;
  font-weight: 560;
  color: var(--ink-soft);
}

.presence-dots {
  display: inline-flex;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1.5px solid var(--surface);
}

.dot + .dot {
  margin-left: -3px;
}

.dot-1 {
  background: var(--dot-a);
}

.dot-2 {
  background: var(--dot-b);
}

.dot-3 {
  background: var(--dot-c);
}

.mcp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4f5bd5;
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.together-card h3 {
  margin: 0 0 12px;
  font-size: 1.3125rem;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.together-card p {
  margin: 0 0 24px;
  font-size: 0.96875rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.text-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 580;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-ring);
  padding-bottom: 2px;
  transition: border-color 140ms ease;
}

.text-link:hover {
  border-bottom-color: currentColor;
}

.text-link:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 4px;
  border-radius: 3px;
}

/* Workflow craft strip */

.craft {
  max-width: calc(var(--content-max) + 48px);
  margin: 0 auto;
  padding: 0 24px 92px;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.craft-item {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.craft-item h3 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.craft-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* Closing CTA band */

.closing {
  max-width: calc(var(--content-max) + 48px);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.closing-box {
  padding: 60px 32px;
  border-radius: 22px;
  border: 1px solid var(--accent-ring);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0, var(--accent-tint), transparent 72%),
    var(--surface);
  text-align: center;
}

.closing-box h2 {
  margin: 0 auto 14px;
  max-width: 20ch;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink);
}

.closing-box p {
  margin: 0 auto 28px;
  max-width: 50ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Shared footer */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px max(24px, calc((100% - var(--content-max)) / 2)) 52px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-faint);
}

footer.site-footer p {
  margin: 0;
}

footer.site-footer p + p {
  margin-top: 12px;
}

footer.site-footer a {
  display: inline-block;
  padding: 4px 0;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 4px;
  transition: color 140ms ease;
}

footer.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer.site-footer a:focus-visible {
  outline: 2px solid #4f5bd5;
  outline-offset: 2px;
}

footer.site-footer .site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Responsive breakpoints */

@media (max-width: 960px) {
  .pillar-grid,
  .together-grid,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .together-shell {
    padding: 36px 28px;
  }

  .pillar {
    padding: 28px 24px;
  }
}

@media (max-width: 720px) {
  header.site-bar {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 16px;
    padding: 12px 20px;
  }

  header.site-bar .brand {
    margin-right: auto;
  }

  header.site-bar a.open {
    order: 2;
  }

  header.site-bar nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  header.site-bar nav a {
    padding: 6px 6px;
    font-size: 13.5px;
  }

  .hero {
    padding: 44px 20px 64px;
  }

  .hero-copy {
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(2.125rem, 9.5vw, 2.75rem);
  }

  .hero-actions,
  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .closing-actions a {
    justify-content: center;
  }

  .preview-stage {
    padding: 5px;
    border-radius: 14px;
  }

  .preview {
    border-radius: 10px;
    aspect-ratio: 896 / 754;
    overflow: hidden;
  }

  .preview video {
    width: 142.857%;
    max-width: none;
    height: auto;
    margin-top: -5.134%;
  }

  .pillars,
  .together,
  .craft,
  .closing {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 64px;
  }

  .together-shell {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .together-card {
    padding: 24px 20px;
  }

  .closing-box {
    padding: 40px 20px;
    border-radius: 18px;
  }

  footer.site-footer {
    padding: 32px 20px 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
