/* Robo-Insure · robo-insure.com · standalone stylesheet */
:root {
  --maxw: 1140px;
  --r: 16px;
  --r-lg: 24px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
}
html.light {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --surface-2: #EEEAE2;
  --line: #E1DCD2;
  --ink: #14181D;
  --body: #414952;
  --muted: #737B84;
  --accent: #2B4CFF;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(43, 76, 255, 0.10);
  --tile-ghost: #F0EDE6;
  --shadow: none;
}
html.dark {
  --bg: #0B0C0E;
  --surface: #141619;
  --surface-2: #1B1E22;
  --line: #262A30;
  --ink: #F4F2EE;
  --body: #B9BEC5;
  --muted: #7C838B;
  --accent: #6D8BFF;
  --accent-ink: #0B0C0E;
  --accent-soft: rgba(109, 139, 255, 0.14);
  --tile-ghost: #1B1E22;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.brand .hy { color: var(--accent); }
.links { display: flex; gap: 26px; margin-left: auto; font-size: .95rem; font-weight: 500; color: var(--body); }
.links a:hover { color: var(--ink); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; min-height: 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.signup { display: flex; gap: 10px; width: 100%; max-width: 520px; }
.signup input { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
.signup input::placeholder { color: var(--muted); }
.signup input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.eyebrow { display: block; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.lede { font-size: 1.15rem; color: var(--body); max-width: 52ch; }
.fine { font-size: .84rem; color: var(--muted); margin-top: 12px; }

/* Hero */
.hero { text-align: center; padding: 96px 24px 56px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .98; margin: 22px 0 22px; max-width: 14ch; }
.hero .lede { margin: 0 auto 32px; }

/* Robot strip */
.robots { padding: 24px 24px 0; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile.photo { margin: 0; padding: 0; justify-content: flex-end; }
.tile.photo img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: contain; object-position: center bottom; display: block; padding: 16px 12px 0; box-sizing: border-box; }
.tile.photo figcaption { flex: 0 0 auto; padding: 12px 22px 22px; }
.tile { aspect-ratio: 3 / 4; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.tile::before { content: attr(data-initial); position: absolute; top: -18px; right: 4px; font-family: var(--font-display); font-size: 12rem; line-height: 1; color: var(--tile-ghost); }
.tile > * { position: relative; }
.tile .mk { color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tile .nm { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); line-height: 1; margin: 8px 0 6px; }
.tile .pr { color: var(--accent); font-weight: 600; }
.tile .st { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.tile .cr { color: var(--muted); font-size: .68rem; margin-top: 8px; opacity: .85; }
.strip-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 18px; }

/* Cover */
.cover { padding: 96px 24px 0; }
.sec-head { max-width: 640px; }
.sec-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.05; }
.sec-head .lede { margin-top: 16px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.three > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: var(--shadow); }
.three .num { display: block; font-family: var(--font-display); color: var(--accent); font-size: 1.4rem; margin-bottom: 18px; }
.three h3 { font-size: 1.35rem; margin-bottom: 8px; }
.three p { font-size: .98rem; }

/* Story */
.story { padding: 96px 24px 0; }
.story-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.marks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.marks li { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 18px; background: var(--surface); box-shadow: var(--shadow); }
.marks li b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.marks li span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.marks li.now { background: var(--ink); border-color: var(--ink); }
.marks li.now b { color: var(--accent); }
html.light .marks li.now b { color: #9DB0FF; }
.marks li.now span { color: rgba(255,255,255,.75); }
html.dark .marks li.now { background: var(--accent-soft); border-color: var(--accent); }
html.dark .marks li.now span { color: var(--body); }

/* How */
.how { margin-top: 96px; background: var(--surface-2); padding: 80px 0; }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); line-height: 1.4; }
.steps b { display: block; color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.steps span { display: block; font-size: .95rem; margin-top: 2px; }

/* FAQ */
.faq { padding: 96px 24px 0; }
.faq dl { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq dl > div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq dt { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.faq dd { margin: 8px 0 0; font-size: .96rem; }

/* Register */
.register { padding: 96px 24px 0; }
.reg-card { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
html.dark .reg-card { background: var(--surface); color: var(--body); border: 1px solid var(--line); }
.reg-card h2 { color: inherit; font-size: 2.4rem; line-height: 1.05; }
html.light .reg-card h2 { color: #fff; }
.reg-card p { margin-top: 10px; opacity: .8; }
.reg-card .signup { max-width: none; }
html.light .reg-card .signup input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
html.light .reg-card .signup input::placeholder { color: rgba(255,255,255,.55); }

/* Footer */
.footer { padding: 72px 24px 40px; }
.legal { font-size: .82rem; color: var(--muted); max-width: 92ch; border-top: 1px solid var(--line); padding-top: 24px; }
.legal b { color: var(--body); font-weight: 600; }
.credits { font-size: .76rem; color: var(--muted); margin-top: 10px; max-width: 92ch; }
.foot-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: .84rem; color: var(--muted); }
.foot-row a { color: var(--accent); }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-inner { height: 60px; gap: 14px; }
  .links { display: none; }
  .brand { margin-right: auto; }
  .hero { padding: 56px 20px 40px; }
  .hero h1 { font-size: 3.4rem; }
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px; }
  .tile.photo figcaption { padding: 10px 16px 16px; }
  .tile .cr { font-size: .62rem; margin-top: 6px; }
  .tile .nm { font-size: 1.6rem; }
  .tile::before { font-size: 8rem; }
  .cover, .faq, .register { padding-top: 64px; }
  .three { grid-template-columns: 1fr; margin-top: 28px; }
  .story { padding-top: 64px; }
  .story-inner { grid-template-columns: 1fr; gap: 28px; }
  .marks { gap: 10px; }
  .marks li b { font-size: 2rem; }
  .how { margin-top: 64px; padding: 56px 0; }
  .how-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq dl { grid-template-columns: 1fr; }
  .reg-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .reg-card h2 { font-size: 2rem; }
}

/* Honeypot (hidden from people, visible to bots) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spacer { flex: 1; }
