:root {
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --bg-highlight: #e8f3ff;
  --primary: #2f7ae5;
  --primary-soft: #e1edff;
  --primary-strong: #1b5bc0;
  --text-main: #1b2430;
  --text-muted: #65728a;
  --border-subtle: #e0e6f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 1000px;
  --transition-fast: 180ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #f5f8ff 0, #ffffff 50%),
    #ffffff;
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.84)
  );
  border-bottom: 1px solid rgba(224, 230, 240, 0.8);
}

.header-banner {
  width: 100%;
  background: linear-gradient(90deg, #2f7ae5, #5fa9ff);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem 1rem;
}

.header-banner strong {
  font-weight: 700;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #7fb4ff, #2f7ae5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.logo-text-accent {
  color: var(--primary);
}

.accent-word {
  color: var(--primary-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
  padding-bottom: 0.3rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7ae5, #67b2ff);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-open .nav {
  display: flex;
}

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.eyebrow.center {
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.3rem, 2.9vw + 1.4rem, 3.1rem);
  line-height: 1.02;
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.75rem, 2.1vw + 1rem, 2.25rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-subtitle {
  margin: 0 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.metric-card {
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(233, 243, 255, 0.9);
  border: 1px solid rgba(180, 206, 241, 0.8);
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-weight: 600;
  font-size: 1.15rem;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footnote {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-panel {
  position: relative;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.7rem;
  border: 1px solid rgba(222, 231, 246, 0.9);
}

.shadow {
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.calculator .field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(47, 122, 229, 0.25);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a3b1c7;
}

.field-inline {
  display: flex;
  gap: 0.75rem;
}

.field-inline > * {
  flex: 1;
}

.field-checkbox {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.field-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
}

.field-checkbox label {
  margin: 0;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2f7ae5, #5fa9ff);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(47, 122, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(26, 95, 201, 0.4);
  background: linear-gradient(135deg, #1f65d5, #4a96f0);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(26, 95, 201, 0.35);
}

.btn-outline {
  border: 1px solid rgba(160, 190, 235, 0.9);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f3f7ff;
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(226, 238, 255, 0.7);
}

.btn-full {
  width: 100%;
  margin-top: 0.4rem;
}

.calc-result {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.calc-result strong {
  color: var(--primary-strong);
}

.calc-caption {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.trust-strip {
  margin-top: 1rem;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trust-strip p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  border: 1px solid rgba(193, 213, 237, 0.9);
  background: rgba(237, 244, 255, 0.9);
  color: #39557a;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top center, #f5f8ff 0, #f7f9fc 40%, #ffffff 100%);
}

.section-highlight {
  background: linear-gradient(135deg, #e4f1ff, #f5fbff);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.section-copy p {
  margin: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.section-copy h2 {
  margin-bottom: 0.4rem;
}

.section-panel {
  position: relative;
}

.center {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(218, 229, 245, 0.95);
  position: relative;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #7fb4ff, #2f7ae5);
  position: relative;
  flex-shrink: 0;
}

.check-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: 4px 3px 3px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(40deg);
}

.list-bad,
.list-good {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.list-bad li::before,
.list-good li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 0.4rem;
}

.list-bad li::before {
  background: #f97373;
}

.list-good li::before {
  background: #10b981;
}

.mt-lg {
  margin-top: 1.1rem;
}

.impact-card {
  background: #ffffff;
}

.impact-list {
  list-style: none;
  margin: 0.6rem 0 0.3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.impact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--text-main);
}

.impact-list .label {
  color: var(--text-muted);
}

.impact-list .value {
  font-weight: 500;
}

.impact-list .value.highlight {
  color: var(--primary-strong);
}

.impact-note {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.testimonial {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(244, 249, 255, 0.8);
  border: 1px solid rgba(210, 226, 246, 0.9);
}

.testimonial p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-meta {
  margin-top: 0.5rem !important;
  font-size: 0.8rem;
  color: #1b5bc0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pill-meta {
  background: rgba(222, 234, 255, 0.9);
  border-color: rgba(171, 199, 244, 0.9);
  color: #1b5bc0;
}

.faq {
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(218, 229, 245, 0.96);
  background: rgba(255, 255, 255, 0.96);
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-main);
}

.faq-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(173, 193, 227, 0.9);
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #6b7da0;
  border-radius: 999px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.faq-icon::before {
  width: 8px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  transition: max-height 260ms ease, padding-bottom 200ms ease;
}

.faq-answer p {
  margin: 0.2rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding-bottom: 0.8rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
}

.contact-form .field {
  margin-bottom: 0.75rem;
}

.form-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-status.success {
  color: #0f9f6a;
}

.form-status.error {
  color: #d64545;
}

.site-footer {
  border-top: 1px solid rgba(222, 231, 246, 0.95);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1.3rem 1.5rem 1.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-logo .logo-mark {
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
}

.footer-copy {
  margin: 0.55rem 0 0;
  max-width: 320px;
}

.footer-meta {
  margin: 0 0 0.25rem;
  max-width: 420px;
}

.cookie-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 340px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(210, 226, 246, 0.95);
  z-index: 30;
}

.cookie-content {
  padding: 1rem 1.1rem 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cookie-content p {
  margin: 0 0 0.6rem;
}

.cookie-content a {
  color: var(--primary-strong);
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.btn-cookie {
  width: 100%;
  font-size: 0.8rem;
  padding-block: 0.5rem;
}

/* Stars */
.stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

/* Footer policy links */
.footer-policy-links {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-policy-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--primary-strong);
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.footer-policy-btn:hover {
  color: var(--primary);
}

.footer-policy-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Cookie banner policy link buttons */
.cookie-policy-link {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: var(--primary-strong);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.cookie-policy-link:hover {
  text-decoration: underline;
}

/* Policy modals */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.policy-modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem 2.2rem;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(218, 229, 245, 0.95);
}

.modal-box h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.modal-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.8rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-alt);
  color: var(--text-main);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav {
    position: absolute;
    inset-inline: 1rem;
    top: 100%;
    margin-top: 0.5rem;
    padding: 0.6rem 0.7rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(222, 231, 246, 0.96);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .nav-link {
    padding: 0.45rem 0.4rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.3rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .hero-inner {
    gap: 2.4rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .field-inline {
    flex-direction: column;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

