/* PlainSite — marketing site
   Calm, concrete, premium-simple. Light-first with optional dark. */

:root {
  color-scheme: light;
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #5b6b7c;
  --muted-2: #7a8796;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --border: #e2e6ee;
  --border-strong: #cfd6e3;
  --accent: #1a56db;
  --accent-hover: #1447b8;
  --accent-ink: #ffffff;
  --accent-soft: #e8effc;
  --accent-ring: rgba(26, 86, 219, 0.28);
  --ok: #0d7a4f;
  --ok-soft: #e6f5ee;
  --warn: #9a5b00;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(15, 23, 42, 0.08);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
  --nav-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eef2f8;
    --ink-soft: #d7dee8;
    --muted: #9aa6b5;
    --muted-2: #7d8a9a;
    --bg: #0c1017;
    --surface: #141a24;
    --surface-2: #1a2230;
    --border: #2a3342;
    --border-strong: #3a4558;
    --accent: #6ea8fe;
    --accent-hover: #8bbcff;
    --accent-ink: #0c1017;
    --accent-soft: rgba(110, 168, 254, 0.12);
    --accent-ring: rgba(110, 168, 254, 0.35);
    --ok: #3ecf8e;
    --ok-soft: rgba(62, 207, 142, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: none; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}
.nav-drawer {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 0 1rem;
}
.nav-drawer.is-open { display: block; }
.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.nav-drawer a {
  display: block;
  padding: 0.65rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
@media (min-width: 768px) {
  .nav-drawer { display: none !important; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink-soft);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}
.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto -10%;
  height: 60%;
  background:
    radial-gradient(ellipse at 20% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 10%, color-mix(in srgb, var(--ok) 8%, transparent), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 2.5rem;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
}
.hero-lede {
  margin: 0 0 1.25rem;
  font-size: clamp(1.02rem, 2vw, 1.125rem);
  color: var(--muted);
  max-width: 36rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.trust-row li svg {
  width: 14px;
  height: 14px;
  color: var(--ok);
  flex-shrink: 0;
}

/* —— Cards / panels —— */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.panel-pad { padding: 1.35rem 1.4rem; }
@media (min-width: 640px) {
  .panel-pad { padding: 1.6rem 1.7rem; }
}

.form-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.form-panel .form-sub {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--muted-2); }
.field input:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border-strong)); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.form-note.is-success {
  color: var(--ok);
  background: var(--ok-soft);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  margin-bottom: 0.55rem;
}
.pill-paid {
  background: var(--accent-soft);
  color: var(--accent);
}

/* —— Sections —— */
section.block {
  padding: 3rem 0;
}
section.block + section.block {
  border-top: 1px solid var(--border);
}
.section-head {
  max-width: 38rem;
  margin-bottom: 1.75rem;
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* How it works */
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Free vs paid */
.compare {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .compare { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
  position: relative;
}
.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.price-amount {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.price-card ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.price-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.45rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--ok);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.6-4.6L12.2 5.5 6.5 11.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.6-4.6L12.2 5.5 6.5 11.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card .muted-item { color: var(--muted); }
.price-card .muted-item::before {
  background: var(--muted-2);
}
.price-card .card-cta { margin-top: auto; }

/* What's in the audit */
.audit-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .audit-grid { grid-template-columns: 1.2fr 0.8fr; }
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.checklist .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.checklist .icon svg { width: 16px; height: 16px; }
.checklist strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}
.checklist span {
  color: var(--muted);
  font-size: 0.88rem;
}
.not-claims {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.not-claims h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
.not-claims ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.not-claims li { margin: 0.35rem 0; }

/* FAQ */
.faq {
  display: grid;
  gap: 0.55rem;
  max-width: 44rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.45;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 10.5 3.5 6l1.1-1.1L8 8.3l3.4-3.4L12.5 6 8 10.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 10.5 3.5 6l1.1-1.1L8 8.3l3.4-3.4L12.5 6 8 10.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA band */
.cta-band {
  margin: 0.5rem 0 0;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #0b1220), color-mix(in srgb, var(--accent) 70%, #0b3a8f));
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  opacity: 0.9;
  font-size: 0.98rem;
}
.cta-band .btn-primary {
  background: #fff;
  color: #1447b8;
}
.cta-band .btn-primary:hover {
  background: #f0f4ff;
  color: #0f3a9a;
}
.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  margin-left: 0.5rem;
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
  }
}
.site-footer h2 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.site-footer p { margin: 0 0 0.75rem; }
.site-footer .fr-note {
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
}
.footer-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.footer-meta a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.footer-meta a:hover { color: var(--accent); }

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

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
