:root {
  color-scheme: light;
  --ink: #132238;
  --muted: #526172;
  --paper: #f7f9fc;
  --panel: #ffffff;
  --line: #d9e1ea;
  --blue: #155eef;
  --blue-dark: #0d3aa9;
  --green: #17966a;
  --green-soft: #e7f7ef;
  --shadow: 0 24px 60px rgba(19, 34, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 252, 0.88);
  border-bottom: 1px solid rgba(217, 225, 234, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
}

.nav {
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.language-link {
  border-bottom: 2px solid var(--blue);
  color: var(--blue-dark);
  font-weight: 800;
}

.hero,
.goal-picker,
.services,
.process,
.trust,
.contact {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 73px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 5.5rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-text,
.section-heading p,
.contact p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.brand:focus-visible,
.nav a:focus-visible,
.button:focus-visible,
.goal-button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.32);
  outline-offset: 3px;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(21, 94, 239, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: var(--panel);
  border-color: var(--line);
}

.handover-panel {
  border-radius: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.handover-label,
.recommendation-label,
.service-goal {
  font-size: 0.92rem;
  font-weight: 800;
}

.handover-label {
  color: #9fc0ff;
}

.handover-panel h2 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.handover-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.handover-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.handover-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: #0b5c42;
  font-weight: 800;
}

.handover-list strong {
  display: block;
  margin-bottom: 4px;
}

.handover-list p {
  margin: 0;
  color: #d7e0ec;
}

.setup-checklist,
.service-row ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.setup-checklist {
  margin: 22px 0 0;
}

.setup-checklist li,
.service-row li {
  position: relative;
  padding-left: 28px;
}

.setup-checklist li::before,
.service-row li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.setup-checklist li::after,
.service-row li::after {
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 8px;
  height: 5px;
  background: var(--panel);
  clip-path: polygon(14% 44%, 0 59%, 39% 100%, 100% 15%, 84% 0, 36% 62%);
  content: "";
}

.goal-picker {
  background: #eaf1f7;
}

.goal-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.goal-planner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.goal-buttons {
  display: grid;
  border-top: 1px solid #bcc9d8;
}

.goal-button {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 72px;
  padding: 16px 4px;
  border-bottom: 1px solid #bcc9d8;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition:
    background-color 180ms ease-out,
    padding 180ms ease-out;
}

.goal-button:hover,
.goal-button[aria-current="true"] {
  padding-right: 18px;
  padding-left: 18px;
  background: #fff;
}

.goal-button-setup {
  color: var(--muted);
}

.goal-button:hover .goal-button-setup,
.goal-button[aria-current="true"] .goal-button-setup {
  color: var(--blue-dark);
}

.goal-result {
  position: sticky;
  top: 104px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.recommendation-label {
  margin-bottom: 12px;
  color: #9fc0ff;
}

.goal-result h3 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.selected-setup {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
  color: #d7e0ec;
}

.selected-setup-value {
  color: #fff;
  font-size: 1.15rem;
}

.result-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.result-total-label,
.selected-hours {
  color: #d7e0ec;
}

.result-total-value {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.selected-hours {
  margin-bottom: 0;
}

.goal-result .button {
  margin-top: 28px;
}

.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;
}

.commitment-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.commitment-strip div {
  display: grid;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--panel);
}

.commitment-title {
  font-size: 1.1rem;
}

.commitment-copy {
  color: var(--muted);
}

.section-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: clamp(28px, 6vw, 72px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.service-copy > p:not(.service-goal),
.service-hours {
  color: var(--muted);
}

.price {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.includes-label {
  display: block;
  margin-bottom: 10px;
}

.service-row ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.service-buy {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.service-cta {
  margin-top: auto;
}

.process {
  background: #eaf1f7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #c7d3df;
}

.process-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.process-steps h3 {
  margin-bottom: 8px;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.trust .kicker {
  color: #9fc0ff;
}

.trust p {
  max-width: 70ch;
  color: #d7e0ec;
  font-size: 1.12rem;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.direct-contact {
  display: grid;
  gap: 6px;
  max-width: 420px;
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(19, 34, 56, 0.08);
}

.direct-contact a {
  color: var(--blue-dark);
  font-weight: 900;
}

.direct-note {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  color: #9f1c1c;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-alert {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.form-alert.success {
  background: var(--green-soft);
  color: #0b5c42;
}

.form-alert.error {
  background: #fff0f0;
  color: #9f1c1c;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero,
  .goal-planner,
  .trust,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .commitment-strip,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .goal-result {
    position: static;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr);
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    display: block;
    padding-bottom: 0;
  }

  .brand {
    width: fit-content;
    margin-bottom: 12px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: nowrap;
    width: 100%;
    gap: 4px;
    padding-bottom: 12px;
    overflow-x: auto;
    font-size: 0.88rem;
    scrollbar-width: thin;
  }

  .nav a {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 10px;
    white-space: nowrap;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero,
  .goal-picker,
  .services,
  .process,
  .trust,
  .contact {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .commitment-strip,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .goal-planner {
    gap: 28px;
  }

  .goal-button {
    min-height: 68px;
  }

  .result-total {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row ul {
    grid-template-columns: 1fr;
  }

  .service-buy {
    align-items: flex-start;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .service-cta {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .goal-button {
    transition: none;
  }
}
