/* TrustRent marketing site — shared stylesheet */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0A2436; --ink-2: #334155; --ink-3: #64748B;
  --paper: #FFFFFF; --paper-2: #F8FAFC; --line: #E2E8F0;
  --brand: #2A94C4; --brand-dark: #1D7EA8; --brand-ink: #082F45;
  --brand-soft: #EBF8FF; --brand-light: #62C0F5;
  --green: #10B981; --green-dark: #047857;
}

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Geist', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; }

/* ── Navbar ─────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); background: rgba(255,255,255,0.78); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 40px; }
.nav-links { display: flex; gap: 28px; flex: 1; margin-left: 20px; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--brand); }
.nav-links a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }

/* Mobile menu (no-JS, <details>-based) */
.nav-menu { display: none; position: relative; margin-left: auto; }
.nav-menu > summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 10px; display: inline-flex; color: var(--ink-2); }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:hover { background: var(--paper-2); color: var(--brand); }
.nav-menu[open] > summary { background: var(--paper-2); }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(10,36,54,0.14); padding: 8px; display: flex; flex-direction: column; }
.nav-menu-panel a { padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-menu-panel a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav-menu-panel a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; }
.nav-menu-panel .menu-divider { height: 1px; background: var(--line); margin: 8px 6px; }
.nav-menu-panel .menu-cta { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; text-align: center; font-weight: 600; }
.nav-menu-panel .menu-cta:hover { background: var(--brand-dark); color: #fff; }

/* ── Buttons ────────────────────────────────────── */
.btn { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 10px; border: none; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; transition: all 0.15s; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand); }
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: white; box-shadow: 0 1px 2px rgba(42,148,196,0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,148,196,0.35); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-outline { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ── Hero (home) ────────────────────────────────── */
.hero { position: relative; padding: 80px 0 110px; overflow: hidden; isolation: isolate; }
.hero-blob-1 { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--brand-light); opacity: 0.22; filter: blur(90px); top: -120px; right: -80px; z-index: -1; }
.hero-blob-2 { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #8B5CF6; opacity: 0.12; filter: blur(90px); bottom: -100px; left: -60px; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 24px; }
h1 { font-size: 60px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; color: var(--ink); }
h1 em { font-style: normal; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-lede { font-size: 19px; color: var(--ink-2); line-height: 1.55; margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; flex-wrap: wrap; }
.hero-assurance { display: flex; gap: 24px; flex-wrap: wrap; }
.assure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.assure::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ── Score card mock ────────────────────────────── */
.score-card { position: relative; padding: 28px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 80px rgba(10,36,54,0.15), 0 2px 8px rgba(10,36,54,0.04); border: 1px solid var(--line); overflow: hidden; }
.score-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(98,192,245,0.12), transparent 50%); pointer-events: none; }
.score-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.score-chip { padding: 4px 10px; border-radius: 999px; background: rgba(16,185,129,0.12); color: var(--green-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.score-id { font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; color: var(--ink-3); }
.score-main { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.score-big { font-size: 72px; font-weight: 800; letter-spacing: -0.04em; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.score-max { font-size: 18px; color: var(--ink-3); font-weight: 500; }
.score-delta { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 20px; }
.score-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.score-bar-fill { height: 100%; width: 82%; background: linear-gradient(90deg, var(--brand-light), var(--brand)); border-radius: 999px; }
.score-tiers { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); font-family: ui-monospace, monospace; margin-bottom: 24px; }
.score-rows { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.score-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.score-row .label { color: var(--ink-2); }
.score-row .val { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.score-row.redacted .val { color: var(--ink-3); font-family: ui-monospace, monospace; letter-spacing: 0.08em; }

/* ── Sections ───────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
h2 { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 16px; color: var(--ink); }
.section-sub { font-size: 18px; color: var(--ink-2); line-height: 1.55; }

/* ── How it works ───────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10,36,54,0.04); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 16px; margin-bottom: 18px; }
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ── Audience cards ─────────────────────────────── */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud-card { padding: 32px 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10,36,54,0.04); display: flex; flex-direction: column; gap: 10px; }
.aud-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 6px; }
.aud-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.aud-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ── Privacy demo (dark band) ───────────────────── */
.privacy { background: var(--brand-ink); color: #F1F5F9; position: relative; overflow: hidden; isolation: isolate; }
.privacy::before { content: ''; position: absolute; width: 700px; height: 700px; background: var(--brand); opacity: 0.18; filter: blur(100px); border-radius: 50%; top: -200px; right: -200px; z-index: -1; }
.privacy .section-kicker { background: rgba(98,192,245,0.15); color: var(--brand-light); }
.privacy h2 { color: #F1F5F9; }
.privacy .section-sub { color: #B0E2FA; }
.privacy-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto 48px; }
.privacy-panel { padding: 32px; border-radius: 20px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); background: rgba(15,74,107,0.45); border: 1px solid rgba(98,192,245,0.22); }
.privacy-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; margin-bottom: 14px; }
.field-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(98,192,245,0.1); align-items: center; font-size: 13px; }
.field-row:last-child { border-bottom: none; }
.field-row .k { color: rgba(176,226,250,0.7); }
.field-row .v { color: #F1F5F9; font-weight: 500; font-variant-numeric: tabular-nums; }
.field-row .v.hidden { color: rgba(241,245,249,0.5); font-family: ui-monospace, monospace; letter-spacing: 0.1em; }
.privacy-cta { text-align: center; }
.privacy-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 12px; background: var(--brand-light); color: var(--brand-ink); font-weight: 700; font-size: 15px; transition: background 0.15s; }
.privacy-cta a:hover { background: white; }

/* ── Plans / pricing ────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; padding: 32px 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10,36,54,0.04); display: flex; flex-direction: column; }
.plan-featured { border-color: var(--brand); box-shadow: 0 20px 50px rgba(42,148,196,0.18); }
.plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: white; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.plan-name { font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.plan-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.plan-per { font-size: 14px; color: var(--ink-3); }
.plan-note { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan-list li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.plan-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan .btn { justify-content: center; }

.includes { max-width: 980px; margin: 40px auto 0; padding: 24px 28px; border-radius: 16px; background: var(--brand-soft); display: flex; gap: 12px 32px; flex-wrap: wrap; justify-content: center; }
.includes span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brand-ink); font-weight: 500; }
.includes span::before { content: "✓"; color: var(--brand-dark); font-weight: 700; }

.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }

/* ── FAQ ────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 15.5px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 500; color: var(--ink-3); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }

/* ── Static pages (terms, about, contact) ───────── */
.page-hero { padding: 72px 0 48px; text-align: center; }
.page-hero h1 { font-size: 46px; margin-bottom: 14px; }
.page-hero .section-sub { max-width: 640px; margin: 0 auto; }
.page-meta { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

.prose { max-width: 760px; margin: 0 auto; padding-bottom: 100px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-dark); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.contact-card { padding: 32px 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10,36,54,0.04); display: flex; flex-direction: column; gap: 8px; }
.contact-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.contact-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.contact-card a.mail { font-size: 15px; font-weight: 600; color: var(--brand-dark); margin-top: 8px; }
.contact-card a.mail:hover { text-decoration: underline; }

/* ── CTA band ───────────────────────────────────── */
.cta-band { padding: 80px 0; background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); text-align: center; color: white; }
.cta-band h2 { color: white; margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-band .btn { background: white; color: var(--brand-dark); font-weight: 700; }
.cta-band .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(8,47,69,0.3); }

/* ── Footer ─────────────────────────────────────── */
footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin: 14px 0 16px; max-width: 280px; }
.foot-brand a.mail { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); }
.foot-brand a.mail:hover { text-decoration: underline; }
.foot-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-2); padding: 5px 0; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.foot-bottom .foot-links { display: flex; gap: 20px; }
.foot-bottom .foot-links a:hover { color: var(--brand); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .privacy-demo { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .page-hero h1 { font-size: 34px; }
  .hero { padding: 56px 0 80px; }
  .section { padding: 72px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-menu { display: block; }
  .aud-grid, .plans, .free-grid, .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan-featured { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
