/* Orbiitl landing page. Figtree, one green accent, light by default with a dark
   mode that follows the OS setting. */
/* Arial sized like Figtree, so text doesn't jump when the web font arrives. */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 99.8%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%;
}
:root {
  --bg: #FBFAF7;
  --bg-alt: #F3F1EC;
  --surface: #FFFFFF;
  --fg: #1F2328;
  --muted: #565C64;
  --border: #E2DED6;
  --accent: #2F6F4F;
  --accent-2: #3F8E68;
  --accent-fg: #FFFFFF;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --code-bg: #1F2328;
  --code-fg: #E9E7E1;
  --code-dim: #9AA0A6;
  --ok: #7BC59A;
  --err: #F08A7E;
  --shadow: 0 1px 2px rgb(31 35 40 / 4%), 0 8px 24px rgb(31 35 40 / 6%);
  --shadow-lg: 0 2px 4px rgb(31 35 40 / 5%), 0 24px 60px rgb(31 35 40 / 12%);
  --radius: 14px;
  --sans: Figtree, "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181D;
    --bg-alt: #1B1E24;
    --surface: #1F2229;
    --fg: #E6E4DF;
    --muted: #A2A6AD;
    --border: #2C3038;
    --accent: #7BC59A;
    --accent-2: #A6DDBC;
    --accent-fg: #12261B;
    --code-bg: #0F1114;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 35%), 0 24px 60px rgb(0 0 0 / 45%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code, pre { font-family: var(--mono); }
p code, li code { font-size: .86em; background: var(--bg-alt); border: 1px solid var(--border); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; max-width: 24ch; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: -4px; }
.icon-lg { width: 28px; height: 28px; }

.eyebrow {
  display: inline-block; margin: 0 0 12px; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.section-intro { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
}
section[id] { scroll-margin-top: 72px; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: var(--fg); text-decoration: none; }
.logo { display: block; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: .95rem; }
.nav-links a, .nav-cta { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-cta:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.nav-cta { font-size: .95rem; font-weight: 600; color: var(--fg); }
/* The 404 page has a nav without .nav-actions. */
.nav-inner > .nav-cta { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 1rem; line-height: 1.3;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { color: var(--fg); border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { padding: 7px 14px; font-size: .92rem; box-shadow: none; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(40% 40% at 5% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgb(0 0 0 / 50%) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgb(0 0 0 / 50%) 60%, transparent 100%);
  opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.hero-grid .demo { margin-top: 56px; }
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 17ch; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-size: .88rem; font-weight: 600; color: var(--fg);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.note { font-size: .92rem; color: var(--muted); margin: 0; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .93rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.stack-label { margin: 56px 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
  font-size: .9rem; font-weight: 600; color: var(--fg);
}

/* Hero demo window */
.demo { margin: 0; }
.demo figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.win { border-radius: 14px; overflow: hidden; background: var(--code-bg); color: var(--code-fg); box-shadow: var(--shadow-lg); border: 1px solid color-mix(in srgb, #fff 8%, transparent); }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: color-mix(in srgb, #fff 5%, var(--code-bg)); border-bottom: 1px solid color-mix(in srgb, #fff 8%, transparent); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #F07A6E; }
.win-dots i:nth-child(2) { background: #F2C55C; }
.win-dots i:nth-child(3) { background: #6FCB8A; }
.win-title { font: 500 .8rem var(--mono); color: var(--code-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-body { list-style: none; margin: 0; padding: 18px 18px 20px; font: 400 .86rem/1.6 var(--mono); display: grid; gap: 8px; }
.d-line { overflow-wrap: anywhere; }
.d-dim { color: var(--code-dim); }
.d-err { color: var(--err); }
.d-ok, .d-live { color: var(--ok); }
.d-live { font-weight: 600; }
.d-user {
  justify-self: end; max-width: 85%; padding: 8px 12px; border-radius: 12px 12px 4px 12px;
  background: #2E6A4C; color: #F1FAF4; font-family: var(--sans); font-size: .92rem;
}
.d-ai {
  max-width: 92%; padding: 10px 12px; border-radius: 12px 12px 12px 4px;
  background: color-mix(in srgb, #fff 7%, var(--code-bg)); font-family: var(--sans); font-size: .92rem; line-height: 1.5;
}
.d-ai code { font-size: .85em; padding: 1px 5px; border-radius: 4px; border: 0; color: inherit; background: rgb(255 255 255 / 10%); }
.d-tool { color: var(--code-dim); font-size: .8rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-chip { padding: 1px 8px; border-radius: 999px; border: 1px solid #3C5E4B; color: var(--ok); font-weight: 600; }

/* Lines appear one after another. Without JS, or with reduced motion, they are all shown. */
.js .demo-body.play .d-line { animation: reveal .5s ease-out both; animation-delay: calc(var(--i) * .85s + .2s); }
/* A left-to-right wipe rather than a fade, so text is never shown at low contrast. */
@keyframes reveal {
  from { clip-path: inset(0 100% 0 0); visibility: hidden; }
  1% { visibility: visible; }
  to { clip-path: inset(0 0 0 0); visibility: visible; }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-weight: 800;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
.install-cmd { margin-top: 28px; max-width: 900px; }
.install-cmd p { margin: 0; }

.codeblock {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; padding: 12px 12px 12px 16px;
  background: var(--code-bg); color: var(--code-fg); border-radius: 10px; max-width: 100%;
}
.codeblock code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: .85rem; }
.copy {
  flex-shrink: 0; font: 600 .85rem var(--sans); padding: 6px 12px; border-radius: 6px; cursor: pointer;
  border: 1px solid #444A52; background: transparent; color: var(--code-fg);
}
.copy:hover { background: #2B3036; }
.snippet {
  margin: 0; padding: 14px 16px; background: var(--code-bg); color: var(--code-fg);
  border-radius: 10px; font-size: .82rem; line-height: 1.6; overflow-x: auto;
}

/* AI assistants */
.mcp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.mcp-grid > * { min-width: 0; }
.mcp-setup { grid-column: 1 / -1; }
.asks { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 8px; }
.asks li {
  padding: 9px 14px; border-radius: 12px 12px 12px 4px; background: var(--bg-alt); border: 1px solid var(--border);
  font-weight: 500;
}
.safety { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 18px; }
.safety li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.safety strong { color: var(--fg); }
.safety .icon { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.install-steps { padding-left: 1.3em; margin: 8px 0 0; }
.install-steps li { margin-bottom: 6px; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.compare-vs { margin: 0 0 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%233F8E68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.feature { transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature .icon-lg { color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

/* Security */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col > * { min-width: 0; }
.plain-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plain-list li { color: var(--muted); padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.plain-list strong { color: var(--fg); display: block; margin-bottom: 2px; }

/* Pricing */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.currency-toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.currency-toggle button {
  font: 600 .9rem var(--sans); padding: 7px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted);
}
.currency-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan-popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: 0; left: 22px; transform: translateY(-50%); margin: 0; padding: 2px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--accent-fg); font-size: .8rem; font-weight: 700;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 2px; }
.plan-for { color: var(--muted); font-size: .93rem; margin-bottom: 18px; min-height: 2.9em; }
.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 20px; }
.plan-price .per { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-price-text { font-size: 1.8rem; }
.cur-usd { display: none; }
[data-currency="usd"] .cur-usd { display: inline; }
[data-currency="usd"] .cur-inr { display: none; }
.plan-list { list-style: none; margin: 0 0 24px; padding: 20px 0 0; border-top: 1px solid var(--border); flex: 1; }
.plan-list li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }
.keep-running {
  display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 0; padding: 18px 20px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  background: color-mix(in srgb, var(--accent) 9%, var(--surface)); font-size: 1.05rem;
}
.keep-running .icon { color: var(--accent); margin-top: 3px; }
.buy-note { margin: 16px 0 0; max-width: 80ch; }
.buy-note a { font-weight: 600; overflow-wrap: anywhere; }
.plans-note { margin: 14px 0 0; max-width: 80ch; }

/* About */
.founder { display: flex; gap: 24px; align-items: flex-start; }
.avatar {
  width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--border);
}
.founder-hello { font-size: 1.15rem; }
.founder p { color: var(--muted); }
.founder .founder-hello { color: var(--fg); }
.founder-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-weight: 600; }
.founder-links a { overflow-wrap: anywhere; }

/* FAQ */
.faq-list { margin-top: 24px; max-width: 880px; }
details { border-top: 1px solid var(--border); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 75ch; }

/* Closing */
.closing { padding-top: 0; }
.closing-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 56px); border-radius: 20px; color: #F1FAF4;
  background:
    radial-gradient(70% 120% at 100% 0%, rgb(123 197 154 / 35%), transparent 60%),
    linear-gradient(135deg, #1F4D37, #16181D);
}
.closing-card h2 { color: #FFFFFF; max-width: 22ch; }
.closing-card p { color: #C9D6CE; margin: 0; }
.closing-card .btn-primary { background: #7BC59A; color: #12261B; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--fg); }

/* Used by the 404 page */
.log { margin: 0; min-width: 0; }
.log figcaption { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.log pre {
  margin: 0; padding: 18px 20px; background: var(--code-bg); color: var(--code-fg);
  border-radius: 12px; font-size: .88rem; line-height: 1.8; overflow-x: auto;
}
.t-dim { color: var(--code-dim); }
.t-ok { color: var(--ok); }
.t-err { color: var(--err); }

/* Responsive */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
  .hero-grid .demo { margin-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 6px; }
  .nav-actions { margin-left: auto; }
  .nav-inner > .nav-cta { margin-left: auto; }
  .nav-links { order: 3; width: 100%; margin: 0; padding-bottom: 10px; overflow-x: auto; gap: 20px; white-space: nowrap; font-size: .9rem; }
  section[id] { scroll-margin-top: 104px; }
}
@media (max-width: 760px) {
  .features, .mcp-grid, .compare { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 40px; }
  .section { padding: 64px 0; }
  .closing { padding-top: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan-for { min-height: 0; }
  .card { padding: 20px; }
  .lead { font-size: 1.08rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .founder { flex-direction: column; }
  .demo-body, .log pre, .codeblock code { font-size: .78rem; }
  .d-user, .d-ai { font-size: .86rem; }
  .stack-label { margin-top: 40px; }
  .eyebrow-pill { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .demo-body.play .d-line { animation: none; }
  .btn, .feature { transition: none; }
  .btn-primary:hover, .feature:hover { transform: none; }
}

/* 404 page */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.not-found { flex: 1; display: flex; align-items: center; padding: 64px 0; }
.not-found-code { font: 600 .95rem var(--mono); color: var(--accent); margin-bottom: 12px; }
.not-found-links { color: var(--muted); font-size: .95rem; max-width: 52ch; margin: 8px 0 0; }
