/* Orvanta public site: same palette and type as the product. */
:root {
  --ground: #f6f3ee;
  --surface: #ffffff;
  --sunken: #f8f6f2;
  --line: #eeeae4;
  --ink: #1b1a1f;
  --ink-2: #45424c;
  --muted: #5a5763;
  --accent: #5b3df5;
  --accent-ink: #4326d9;
  --accent-soft: #f3efff;
  --coral: #ff7a59;
  --ok: #12b76a;
  --ok-soft: #ddf7e9;
  --shadow: 0 1px 2px rgba(27, 26, 31, 0.04), 0 10px 30px rgba(27, 26, 31, 0.06);
  --shadow-lg: 0 1px 2px rgba(27, 26, 31, 0.05), 0 30px 70px rgba(27, 26, 31, 0.14);
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid #b9a8ff; outline-offset: 2px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 0; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(91, 61, 245, 0.28); }
.btn.primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn.white { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn.white:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(27, 26, 31, 0.05); }
.btn.big { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 238, 0.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.links { display: flex; gap: 24px; flex: 1; }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { color: var(--ink); }
.top-cta { display: flex; gap: 6px; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 64px; padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hero h1 { margin-top: 26px; font-family: var(--display); font-size: clamp(42px, 7.2vw, 84px); line-height: 0.98; letter-spacing: -0.038em; font-weight: 800; }
.lead { margin-top: 24px; max-width: 720px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.works-with { margin-top: 22px; font-size: 14px; color: var(--muted); }
.works-with b { color: var(--ink-2); font-weight: 600; }

.shot-stage { position: relative; width: 100%; margin-top: 56px; }
.shot { border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot-stage .shot { border-radius: 26px; padding: 10px; }
.shot-stage .shot img { border-radius: 18px; }
.float {
  position: absolute; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; width: 290px; text-align: left;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); font-size: 13px; color: var(--muted);
}
.float b { font-size: 15px; color: var(--ink); line-height: 1.3; }
.float-alert { left: -28px; bottom: 18%; }
.float-ask { right: -28px; top: 14%; }
.pill { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.blocked { background: #ede8ff; color: #4a3aa8; }
.ask-who { font-weight: 700; color: var(--ink-2); }
.ask-why { padding: 6px 10px; border-radius: 10px; background: var(--accent-soft); color: #4a3aa8; }
.ask-btns { display: flex; gap: 8px; margin-top: 4px; }
.ask-btns .b { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; background: #f1ede7; color: var(--ink); font-weight: 700; }
.ask-btns .b.go { background: var(--accent); color: #fff; }

/* ---------- Sections ---------- */
.section { padding-top: 96px; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h2 { font-family: var(--display); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 17px; }
h3 { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }

/* Dark band (problem, form) */
.dark { position: relative; overflow: hidden; margin-top: 40px; padding: clamp(32px, 6vw, 64px); border-radius: 32px; background: var(--ink); color: #fff; }
.dark::before, .dark::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.dark::before { right: -120px; top: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(124, 92, 255, 0.5), rgba(124, 92, 255, 0) 70%); }
.dark::after { left: 18%; bottom: -220px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 122, 89, 0.32), rgba(255, 122, 89, 0) 70%); }
.dark > * { position: relative; z-index: 1; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.pains article { padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 10px; }
.pains .num { font-family: var(--display); font-weight: 700; color: var(--coral); }
.pains p { color: #d7d3de; font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 28px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; border-top: 5px solid; }
.step.violet { border-color: var(--accent); }
.step.coral { border-color: var(--coral); }
.step.green { border-color: var(--ok); }
.step p { color: var(--ink-2); font-size: 15px; }
.step-ic { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.step-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.violet .step-ic { background: var(--accent-soft); color: var(--accent); }
.coral .step-ic { background: #ffe9df; color: #c2410c; }
.green .step-ic { background: var(--ok-soft); color: #0e6b3f; }

/* Features with screenshots */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-text { order: 2; }
.feature-text { display: flex; flex-direction: column; gap: 16px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6B3F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.shot.small { border-radius: 20px; }

/* Grid of small features */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.mini h3 { font-size: 18px; }
.mini p { color: var(--ink-2); font-size: 14px; }

/* Integrations */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.int { padding: 26px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.int p { color: var(--ink-2); font-size: 15px; }
.logo { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; }
.logo.n8n { background: #ffe1d6; color: #9a3412; }
.logo.zap { background: #fff0c2; color: #7a4d00; }
.logo.code { background: var(--accent-soft); color: var(--accent); }
.honest { margin: 22px auto 0; max-width: 680px; text-align: center; font-size: 14px; color: var(--muted); }

/* Pilot */
.pilot { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); }
.pilot > div { display: flex; flex-direction: column; gap: 14px; }
.pilot p { color: var(--ink-2); font-size: 17px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { padding: 20px 24px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); }

/* Early access form */
.form-card { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; margin-top: 0; }
.form-intro { display: flex; flex-direction: column; gap: 14px; }
.form-intro p { color: #d7d3de; font-size: 17px; }
form { display: flex; flex-direction: column; gap: 16px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #ebe8f0; }
form .opt { font-weight: 400; color: #a9a4b3; }
form input, form select, form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07); color: #fff; font: inherit; font-size: 16px; font-weight: 500;
}
form textarea { resize: vertical; }
form select option { color: var(--ink); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: #b9a8ff; background: rgba(255, 255, 255, 0.11); }
form [aria-invalid="true"] { border-color: #ff8f76; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #ebe8f0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { flex-direction: row; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: #ebe8f0; font-weight: 600; }
.chip input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chip input:focus-visible + span { outline: 3px solid #b9a8ff; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { align-self: flex-start; }
.status { min-height: 1.4em; font-weight: 600; }
.status.ok { color: #7ee2ad; }
.status.err { color: #ffb4a3; }
.privacy { font-size: 13px; color: #a9a4b3; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 64px; padding-bottom: 48px; color: var(--muted); font-size: 14px; }
.foot .brand { font-size: 18px; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .float-alert { left: 12px; }
  .float-ask { right: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .links { display: none; }
  .pains, .steps, .integrations { grid-template-columns: 1fr; }
  .feature, .feature.reverse, .pilot, .form-card { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-text { order: 0; }
  .float { display: none; }
  .section { padding-top: 72px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .top-cta .ghost { display: none; }
  .top-cta .btn.primary { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .hero { padding-top: 40px; }
  .hero-cta .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  form .btn { align-self: stretch; }
  .shot-stage .shot { padding: 6px; border-radius: 18px; }
  .shot-stage .shot img { border-radius: 13px; }
  .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Sign-up, pricing, last call ---------- */
.btn.google { gap: 10px; }
.btn.google svg { flex: none; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.plan.featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.plan-name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; }
.plan .btn { margin-top: auto; }
.final-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: clamp(36px, 6vw, 72px) 24px; border-radius: 32px; background: var(--accent-soft); }
.final-cta p { color: var(--ink-2); font-size: 17px; max-width: 560px; }
.final-cta .hero-cta { margin-top: 12px; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
}
