:root {
  --background: #fbfcfa;
  --surface: #ffffff;
  --surface-soft: #f1f6f3;
  --surface-blue: #edf5f8;
  --text: #182522;
  --muted: #5b6a66;
  --border: #d8e2dc;
  --accent: #426f62;
  --accent-strong: #294e45;
  --blue: #446f86;
  --shadow: 0 18px 50px rgba(28, 47, 43, 0.08);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 3px solid rgba(68, 111, 134, 0.42);
  outline-offset: 3px;
}

.heroicon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.inline-icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 6px;
  vertical-align: -0.16em;
  color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid rgba(216, 226, 220, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 42%, var(--accent) 43% 50%, transparent 51%),
    radial-gradient(circle at 65% 35%, var(--surface-soft) 0 22%, transparent 23%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-cta {
  color: var(--accent-strong);
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 68px);
  padding-top: 76px;
  padding-bottom: 76px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  background: var(--accent-strong);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(41, 78, 69, 0.2);
}

.button-primary:hover {
  color: #ffffff;
  background: #1f3f38;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--accent-strong);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.phone-frame {
  position: absolute;
  top: 12px;
  right: 24px;
  width: min(280px, 76vw);
  height: 520px;
  padding: 14px;
  border: 1px solid #cbd8d1;
  border-radius: 36px;
  background: #fdfefe;
  box-shadow: var(--shadow);
}

.phone-screen {
  height: 100%;
  padding: 28px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(237, 245, 248, 0.9), rgba(241, 246, 243, 0.96)),
    repeating-linear-gradient(90deg, rgba(66, 111, 98, 0.08) 0 1px, transparent 1px 42px);
}

.quiet-line {
  display: block;
  width: 74%;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #b8ccc3;
}

.quiet-line.short {
  width: 48%;
}

.path-card {
  position: absolute;
  right: 34px;
  bottom: 54px;
  left: 34px;
  padding: 18px;
  border: 1px solid rgba(66, 111, 98, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.path-label {
  display: block;
  margin-bottom: 26px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.path-route {
  display: block;
  height: 72px;
  border-right: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  border-radius: 0 0 28px;
}

.exit-path {
  position: absolute;
  right: 220px;
  bottom: 74px;
  width: 210px;
  height: 170px;
  border-bottom: 2px solid rgba(66, 111, 98, 0.35);
  transform: rotate(-10deg);
}

.exit-path span {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 110px;
  background: rgba(66, 111, 98, 0.28);
}

.exit-path span:nth-child(1) {
  left: 24px;
  height: 82px;
}

.exit-path span:nth-child(2) {
  left: 96px;
}

.exit-path span:nth-child(3) {
  left: 170px;
  height: 132px;
}

.section-intro {
  max-width: 780px;
}

.section-intro p,
.split-section p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.problem,
.philosophy,
.trust {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
}

.problem {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 64px;
}

.feature-list,
.audience-grid,
.steps,
.package-grid {
  display: grid;
  gap: 14px;
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.audience-grid p,
.steps article,
.package-grid article {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(24, 37, 34, 0.03);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  color: var(--accent-strong);
  font-weight: 700;
}

.feature-list .heroicon {
  margin-top: 2px;
  color: var(--blue);
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.audience-grid p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  color: var(--muted);
}

.audience-grid .heroicon {
  margin-top: 2px;
  color: var(--accent);
}

.philosophy {
  background: var(--surface-soft);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.steps article,
.package-grid article {
  padding: 24px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.steps p,
.package-grid p {
  color: var(--muted);
}

.packages {
  padding-top: 58px;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.package-grid article {
  min-height: 260px;
}

.card-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--accent);
}

.trust {
  background: var(--surface-blue);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}

.notice,
.contact-confirmation {
  padding: 14px 16px;
  border: 1px solid rgba(66, 111, 98, 0.28);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.contact-confirmation {
  align-self: start;
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-confirmation h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.contact-confirmation p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
}

.confirmation-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: var(--surface-soft);
}

.confirmation-mark .heroicon {
  width: 22px;
  height: 22px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

label {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #c8d5ce;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-errors {
  padding: 14px 16px;
  border: 1px solid #bf6c64;
  border-radius: var(--radius);
  background: #fff8f7;
  color: #6f2f29;
}

.form-errors p,
.form-errors ul {
  margin: 0;
}

.form-errors ul {
  padding-left: 20px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .section {
    width: min(100% - 32px, var(--max-width));
    padding: 64px 0;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .phone-frame {
    right: auto;
    left: 50%;
    width: 240px;
    height: 390px;
    transform: translateX(-50%);
  }

  .exit-path {
    right: 50%;
    bottom: 40px;
    transform: translateX(-15%) rotate(-10deg);
  }

  .feature-list,
  .audience-grid,
  .steps,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .problem,
  .philosophy,
  .trust {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 560px) {
  .brand {
    max-width: 260px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

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