/* NISA MED Google Ads landing page. Staging only. Uses the locked V3 palette. */
:root {
  --ink: #173a33;
  --ink-soft: #3e5b54;
  --muted: #5d766e;
  --green: #08745e;
  --green-deep: #065d4a;
  --green-text: #078469;
  --mint: #ecf8f2;
  --mint-deep: #dff3ea;
  --line: #dcebe5;
  --white: #fff;
  --shadow: 0 18px 50px rgba(17, 83, 65, 0.08);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 760;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  max-width: 18ch;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eaf1ed;
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner .button {
  max-width: 12.5rem;
  padding: 0.65rem 0.9rem;
  line-height: 1.25;
  text-align: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #143c34;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.wordmark span {
  color: var(--green-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(8, 116, 94, 0.13);
}

.button:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.button.outline {
  background: var(--white);
  color: var(--green);
  box-shadow: none;
}

.button.outline:hover {
  background: var(--mint);
}

.button.white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.button:disabled {
  background: #7aa396;
  border-color: #7aa396;
  box-shadow: none;
  cursor: not-allowed;
}

.hero {
  background:
    radial-gradient(circle at 86% 12%, #daf4e9 0, transparent 34%),
    linear-gradient(110deg, #f8fdf9, #eaf8f2);
  overflow: hidden;
}

.hero-grid,
.split,
.final-inner {
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
  padding: 56px 0 72px;
}

.hero h1 {
  margin: 8px 0 16px;
}

.support {
  margin-bottom: 14px;
  color: #214d40;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero .lede {
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fine {
  margin-top: 16px;
  color: #68817a;
  font-size: 0.82rem;
}

.stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid #d4f2e6;
  border-radius: 50%;
  background: linear-gradient(160deg, #c8eddf, #f1fcf5);
}

.phone {
  position: relative;
  z-index: 1;
  width: 250px;
  border: 8px solid #223c38;
  border-radius: 36px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow), 10px 22px 40px rgba(93, 153, 132, 0.28);
  transform: rotate(4deg);
}

.phone img {
  width: 100%;
}

.chip {
  position: absolute;
  z-index: 2;
  left: 8px;
  bottom: 78px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid #e2eee7;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(22, 88, 68, 0.12);
}

.chip b,
.chip small {
  display: block;
  line-height: 1.3;
}

.chip b {
  font-size: 0.84rem;
}

.chip small {
  color: var(--muted);
  font-size: 0.75rem;
}

.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #dff6eb;
  color: var(--green);
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.section.mist {
  background: #f5faf7;
}

.center {
  text-align: center;
}

.center h2,
.center .lede {
  margin-inline: auto;
}

.center .lede {
  margin-top: 14px;
}

.benefit-grid,
.tool-grid,
.steps {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.benefit-grid,
.tool-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tool-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card,
.step,
.form-card,
.note {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 83, 65, 0.04);
}

.card,
.step {
  padding: 22px;
}

.card h3,
.step h3 {
  margin: 12px 0 8px;
  font-size: 1.12rem;
}

.card p,
.step p,
.trust-list {
  color: var(--ink-soft);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e8f8ef;
  color: var(--green);
}

.shots {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.shots figure {
  margin: 0;
  text-align: center;
}

.shots .phone {
  width: 168px;
  transform: none;
  border-width: 6px;
  border-radius: 26px;
}

.shots figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.split {
  grid-template-columns: 0.9fr 1.1fr;
}

.family-panel {
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(150deg, #e5f7eb, #d3f0e3);
}

.family-panel .phone {
  width: 230px;
  margin: 12px auto;
  transform: rotate(-3deg);
}

.points {
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: var(--ink-soft);
}

.points span {
  color: var(--green);
  font-weight: 800;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
}

.num {
  color: #0c9372;
  font-size: 0.86rem;
  font-weight: 800;
}

.callback-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.form-card {
  padding: 28px;
}

.preview-note {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.preview-note {
  margin-bottom: 18px;
  background: #fff8e8;
  color: #5c4324;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span,
.consent {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #b9d2c7;
  border-radius: 12px;
  background: #f7fbf9;
  color: var(--ink);
  font: inherit;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 8px 0 18px;
  font-weight: 500;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.form-card {
  position: relative;
}

.form-card .button {
  width: 100%;
}

.botcheck {
  display: none !important;
}

.field-error {
  margin-top: 6px;
  color: #8d2f2f;
  font-size: 0.86rem;
  font-weight: 650;
}

.field input[aria-invalid="true"] {
  border-color: #8d2f2f;
  background: #fff8f6;
}

.preview-note.is-success {
  background: #e7f6ef;
  color: #0d5a46;
}

.preview-note.is-error {
  background: #fff1ef;
  color: #6f2c2c;
}

.disclosure {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.trust {
  background: #123f35;
  color: #d7efe6;
}

.trust h2,
.trust .eyebrow {
  color: #fff;
}

.trust .eyebrow {
  color: #9ee4c8;
}

.trust-list {
  margin-top: 22px;
  padding-left: 18px;
  color: #d7efe6;
}

.trust-list li + li {
  margin-top: 10px;
}

.final {
  background: linear-gradient(120deg, #087760, #0f9b77);
  color: #fff;
}

.final h2,
.final p {
  color: #fff;
}

.final p {
  margin-top: 10px;
  max-width: 36rem;
}

.text-link {
  color: #fff;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 36px;
  background: #f7faf8;
  border-top: 1px solid #e5eee8;
  color: #587167;
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.footer-row a {
  color: #47645b;
  text-decoration: none;
}

.footer-row a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #eeb95d;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .tool-grid,
  .callback-grid,
  .final-inner {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 36px;
  }

  .stage {
    min-height: 460px;
  }

  .shots {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 68px;
    padding-block: 10px;
  }

  .phone {
    width: 210px;
  }

  .halo {
    width: 320px;
    height: 320px;
  }

  .chip {
    left: 0;
    bottom: 48px;
  }

  .actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
