:root {
  --accent: #006f68;
  --accent-dark: #064f4b;
  --accent-soft: #e8f3f1;
  --ink: #111a1c;
  --muted: #647171;
  --line: #d7e1df;
  --soft: #f7faf9;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(14, 36, 36, 0.1);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: var(--white);
  color: var(--accent-dark);
}

.button-small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.section {
  padding: 96px 24px;
}

.section-soft {
  background: var(--soft);
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  padding-top: 96px;
  padding-bottom: 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 64px;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.8vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 650;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 650;
}

h3 {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
}

.hero-lede {
  color: var(--ink) !important;
  font-size: clamp(20px, 2.4vw, 27px) !important;
  line-height: 1.28;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.target-clinics {
  font-size: 14px !important;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.08;
}

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

.home-visual {
  position: relative;
  min-height: 500px;
}

.paper-visual::before,
.home-visual::before {
  content: "";
  position: absolute;
  inset: 40px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 49%, rgba(215, 225, 223, 0.65) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(215, 225, 223, 0.65) 50%, transparent 51%),
    var(--white);
  background-size: 74px 74px;
  box-shadow: 0 18px 60px rgba(14, 36, 36, 0.08);
}

.paper-sheet {
  position: absolute;
  z-index: 1;
  right: 36px;
  top: 30px;
  width: min(78%, 355px);
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(14, 36, 36, 0.12);
  transform: rotate(2deg);
}

.home-paper .paper-sheet {
  right: 42px;
}

.clinic-paper .paper-sheet {
  right: 28px;
  top: 22px;
}

.sheet-label {
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sheet-field,
.sheet-rule,
.sheet-list li {
  display: block;
  border-radius: 99px;
  background: #d9e4e2;
}

.sheet-field {
  width: 76%;
  height: 12px;
  margin-bottom: 12px;
}

.sheet-field.short {
  width: 46%;
}

.sheet-rule {
  width: 100%;
  height: 2px;
  margin: 28px 0;
  background: var(--line);
}

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

.sheet-list li {
  position: relative;
  width: 88%;
  height: 10px;
}

.sheet-list li:nth-child(2) {
  width: 72%;
}

.sheet-list li:nth-child(3) {
  width: 94%;
}

.sheet-list li:nth-child(4) {
  width: 62%;
}

.sheet-list li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.sheet-note {
  position: absolute;
  right: 28px;
  bottom: 24px;
  max-width: 180px;
  color: var(--accent-dark);
  font-family: "Segoe Print", "Bradley Hand ITC", cursive;
  font-size: 15px;
  line-height: 1.35;
  transform: rotate(-3deg);
}

.paper-side-note,
.comparison-note {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 64px;
  display: grid;
  gap: 7px;
  width: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(14, 36, 36, 0.08);
}

.paper-side-note strong,
.comparison-note strong {
  font-size: 22px;
  line-height: 1.05;
}

.paper-side-note span,
.paper-side-note em,
.comparison-note span {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.comparison-note {
  bottom: 76px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 58px;
  align-items: start;
}

.split p,
.section-heading p,
.about-box p,
.contact-grid p,
.two-column p,
.package-card p,
.service-list span {
  color: var(--muted);
}

.check-list,
.service-list,
.numbered-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.service-list li,
.numbered-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 650;
}

.service-list li {
  display: grid;
  gap: 6px;
  min-height: 118px;
}

.service-list strong {
  line-height: 1.25;
}

.service-list span {
  font-size: 14px;
  line-height: 1.55;
}

.check-list li::before,
.service-list li::before,
.numbered-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.numbered-list {
  counter-reset: checks;
}

.numbered-list li {
  padding-left: 58px;
}

.numbered-list li::before {
  counter-increment: checks;
  content: counter(checks, decimal-leading-zero);
  top: 16px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

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

.two-column article,
.about-box {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 32px;
}

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

.package-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.package-card.featured {
  border-color: rgba(0, 111, 104, 0.55);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 16px;
  color: var(--ink) !important;
  font-size: 28px;
  font-weight: 760;
  line-height: 1.1;
}

.price span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.package-points {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  list-style: none;
}

.package-points li {
  position: relative;
  padding-left: 18px;
}

.package-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

.addon-list span {
  padding: 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--soft);
  font-weight: 700;
}

.about-box {
  max-width: 820px;
}

.about-box p {
  font-size: 18px;
}

.about-box p:last-child {
  margin-bottom: 0;
}

.focus-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.focus-panel-with-note {
  grid-template-columns: minmax(0, 1fr) auto 190px;
}

.focus-panel p {
  max-width: 720px;
  color: var(--muted);
}

.focus-panel p:last-child {
  margin-bottom: 0;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-card p {
  margin-bottom: 6px;
}

.contact-card a {
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 800;
}

.mini-paper {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(14, 36, 36, 0.08);
  transform: rotate(1.5deg);
}

.mini-paper span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-paper p {
  color: var(--ink);
  font-weight: 720;
}

.mini-paper i {
  display: block;
  width: 82%;
  height: 2px;
  margin-top: auto;
  background: var(--accent);
}

.contact-section {
  padding-bottom: 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  color: var(--accent-dark);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(8, 118, 111, 0.18);
  border-color: var(--accent);
}

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

.site-footer {
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-grid,
  .split,
  .two-column,
  .contact-grid,
  .focus-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .paper-visual {
    min-height: 460px;
  }

  .home-visual {
    min-height: 440px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .site-header .button {
    width: 100%;
  }

  .nav {
    justify-content: space-between;
    gap: 12px;
  }

  h1 {
    font-size: 42px;
  }

  .home-hero h1 {
    font-size: 36px;
  }

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

  .paper-visual,
  .home-visual {
    min-height: 430px;
  }

  .paper-visual::before,
  .home-visual::before {
    inset: 34px 0;
  }

  .paper-sheet,
  .home-paper .paper-sheet,
  .clinic-paper .paper-sheet {
    right: 0;
    top: 12px;
    width: 88%;
    min-height: 350px;
    padding: 24px;
  }

  .sheet-note {
    display: none;
  }

  .paper-side-note,
  .comparison-note {
    left: 0;
    bottom: 12px;
    width: 215px;
  }

  .check-list,
  .service-list,
  .numbered-list,
  .addon-list {
    grid-template-columns: 1fr;
  }

  .two-column article,
  .about-box,
  .focus-panel,
  .contact-card,
  .contact-form,
  .package-card {
    padding: 24px;
  }
}
