:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-2: #edf1f7;
  --text: #111827;
  --muted: #647083;
  --line: rgba(17, 24, 39, 0.11);
  --accent: #0f766e;
  --accent-2: #2563eb;
  --accent-soft: rgba(15, 118, 110, 0.11);
  --shadow: 0 28px 80px rgba(25, 35, 55, 0.11);
  --shadow-sm: 0 10px 30px rgba(25, 35, 55, 0.07);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e14;
  --surface: rgba(22, 26, 36, 0.84);
  --surface-solid: #151a24;
  --surface-2: #1d2430;
  --text: #f5f7fb;
  --muted: #a2adbd;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #2dd4bf;
  --accent-2: #60a5fa;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, var(--accent-soft), transparent 34rem),
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; cursor: pointer; }
.shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 9px 24px color-mix(in srgb, var(--accent) 24%, transparent); }
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .9rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); }
.icon-button svg { width: 18px; height: 18px; }
.hero { padding: 78px 0 50px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: .76rem; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
h1 { max-width: 840px; margin: 22px auto 18px; font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.content-card > .eyebrow + h1 { max-width: 720px; font-size: clamp(2rem, 4vw, 3.25rem) !important; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.gradient-text { background: linear-gradient(100deg, var(--accent), var(--accent-2)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); }
.trust-row { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .78rem; box-shadow: var(--shadow-sm); }
.section { padding: 48px 0 86px; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { margin: 0 0 9px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -.038em; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 24px; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tool-card:nth-child(-n+3) { grid-column: span 2; }
.tool-card:nth-child(n+4) { grid-column: span 3; }
.tool-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--card-accent) 40%, var(--line)); box-shadow: var(--shadow); }
.tool-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; bottom: -100px; border-radius: 50%; background: color-mix(in srgb, var(--card-accent) 13%, transparent); }
.tool-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--card-accent); font-weight: 850; }
.tool-card h3 { margin: 22px 0 7px; font-size: 1.18rem; letter-spacing: -.025em; }
.tool-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.tool-link { margin-top: auto; padding-top: 22px; color: var(--card-accent); font-weight: 760; font-size: .84rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: 20px; align-items: start; }
.content-card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 23px; background: var(--surface); box-shadow: var(--shadow-sm); }
.content-card h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.content-card h3 { margin: 28px 0 8px; font-size: 1.05rem; }
.content-card p, .content-card li { color: var(--muted); }
.content-card li + li { margin-top: 8px; }
.content-card a { color: var(--accent); font-weight: 700; }
.principles { display: grid; gap: 11px; }
.principle { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-solid); }
.principle strong { display: block; margin-bottom: 4px; }
.principle span { color: var(--muted); font-size: .84rem; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-solid); }
.faq-list summary { padding: 15px 0; cursor: pointer; font-weight: 750; }
.faq-list p { margin: 0 0 16px; }
.footer { padding: 30px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a { display: none; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card:nth-child(n) { grid-column: auto; }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 20px, 1160px); }
  .nav { min-height: 62px; }
  .hero { padding: 46px 4px 34px; }
  h1 { font-size: 2.25rem; line-height: 1.06; letter-spacing: -.045em; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

.contact-layout { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 24px; align-items: start; }
.contact-panel h2 { margin-top: 0; }
.form-note { color: var(--muted); }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; font-weight: 750; font-size: .9rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: var(--surface); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.primary-button { border: 0; border-radius: 12px; padding: 13px 17px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font: inherit; font-weight: 850; cursor: pointer; box-shadow: 0 10px 24px var(--accent-soft); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 700; }
.form-status[data-state="success"] { color: #059669; }
.form-status[data-state="error"] { color: #dc2626; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 850px) { .contact-layout { grid-template-columns: 1fr; } }
