:root {
  --ink: #17201d;
  --muted: #66716c;
  --paper: #f5f3eb;
  --surface: #ffffff;
  --line: #dfe4df;
  --green: #153f32;
  --green-hover: #0d3227;
  --lime: #64d600;
  --red: #e30613;
  --error: #b42318;
  --shadow: 0 22px 70px rgba(21, 63, 50, 0.14);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

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

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(100, 214, 0, 0.12), transparent 28rem),
    var(--paper);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.site-header,
main,
.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  width: 156px;
  height: 56px;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 156px;
  height: auto;
}

.header-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  min-height: calc(100dvh - 110px);
  padding: 28px 0 64px;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: #46514d;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.lead-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(21, 63, 50, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.lead-card h2,
.secondary-actions h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.interest-fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.interest-fieldset legend {
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.interest-fieldset legend span,
.field-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.interest-option {
  min-height: 50px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.interest-option-wide {
  grid-column: 1 / -1;
}

.interest-option:hover,
.interest-option:focus-visible,
.interest-option.is-selected {
  border-color: var(--green);
  background: #edf7e7;
  outline: 0;
}

.interest-option:active {
  transform: scale(0.985);
}

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  font-size: 18px;
  outline: none;
}

input::placeholder {
  color: #98a19d;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 63, 50, 0.1);
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hp-field {
  display: none;
}

.field-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--error);
  font-size: 13px;
  font-weight: 800;
}

.button {
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 900;
}

.button-primary {
  border: 2px solid var(--green);
  color: #ffffff;
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--green-hover);
  background: var(--green-hover);
  outline: 3px solid rgba(100, 214, 0, 0.35);
  outline-offset: 2px;
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.68;
}

.success-panel {
  padding: 38px 0 14px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(100, 214, 0, 0.2);
  font-size: 36px;
  font-weight: 900;
}

.success-panel h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.success-panel p {
  max-width: 380px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.5;
}

.secondary-actions {
  max-width: 740px;
  padding: 0 0 76px;
  margin: 0 auto;
}

.secondary-actions h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.action-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.action-link {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.action-link:hover,
.action-link:focus-visible {
  border-color: var(--green);
  background: var(--surface);
  outline: 0;
}

.action-link strong {
  font-size: 15px;
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(21, 63, 50, 0.12);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer a {
  color: var(--green);
}

@media (max-width: 860px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 680px);
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    width: 132px;
    height: 48px;
  }

  .brand img {
    width: 132px;
  }

  .header-note {
    font-size: 12px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 20px 0 44px;
  }

  h1 {
    font-size: clamp(34px, 9.5vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 18px;
  }

  .lead-card {
    margin-top: 26px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .action-list {
    grid-template-columns: 1fr;
  }

  .secondary-actions {
    padding-bottom: 54px;
  }
}

@media (max-width: 440px) {
  .interest-grid {
    gap: 8px;
  }

  .interest-option {
    min-height: 48px;
    padding: 9px 10px;
    font-size: 14px;
  }

  .button {
    font-size: 16px;
  }
}

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