/* ============================================================
   KAPITI DENTURE CLINIC — demo build by Nimblesite (v2)
   Playbook fingerprint: clinical white · deep teal · soft mint;
   Bricolage Grotesque + Instrument Sans; light split hero,
   utility bar, soft 14px cards, pill CTAs; type-led.
   Senior-friendly: large type, high contrast, phone-first.
   ============================================================ */

:root {
  --bg:        #fbfdfc;
  --panel:     #eef7f3;   /* soft mint panel */
  --panel-2:   #e2f0ea;
  --ink:       #143d3a;   /* deep teal text */
  --ink-strong:#0d2b29;
  --mut:       #4c6763;
  --teal:      #0e7569;   /* action colour */
  --teal-deep: #0a5a50;
  --line:      #d8e6e0;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Bricolage Grotesque", var(--sans);
  --pad: clamp(20px, 5vw, 48px);
  --r: 14px;
  --shadow: 0 6px 24px -12px rgba(13, 43, 41, .18);
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 1.16rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.page { max-width: 1060px; margin-inline: auto; padding-inline: var(--pad); }

.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.08rem; line-height: 1; padding: 1rem 1.7rem; border-radius: 999px; background: var(--teal); color: #fff; transition: background .2s, box-shadow .2s; box-shadow: var(--shadow); }
.btn:hover { background: var(--teal-deep); }
.btn.quiet { background: #fff; color: var(--teal-deep); border: 1.5px solid var(--line); box-shadow: none; }
.btn.quiet:hover { border-color: var(--teal); }
.btn.big { font-size: 1.16rem; padding: 1.1rem 2rem; }

/* utility bar + nav */
.util { background: var(--ink-strong); color: #dcefe9; font-size: .95rem; }
.util .page { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.util b { color: #fff; font-weight: 600; }
.util a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mast { position: sticky; top: 0; z-index: 50; background: rgba(251,253,252,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mast .page { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.wordmark { font-family: var(--disp); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink-strong); }
.wordmark span { color: var(--teal); }
.mast nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 1.9rem); font-weight: 600; font-size: 1rem; }
.mast nav a:not(.btn) { padding: .3rem 0; border-bottom: 2.5px solid transparent; transition: border-color .2s, color .2s; }
.mast nav a:not(.btn):hover, .mast nav a[aria-current="page"] { color: var(--teal-deep); border-bottom-color: var(--teal); }
.mast .btn { padding: .7rem 1.2rem; font-size: .98rem; box-shadow: none; }
@media (max-width: 720px) { .mast nav a:not(.btn) { display: none; } }

/* split hero on light */
.hero { padding-block: clamp(2.6rem, 7vw, 5.5rem) clamp(2.2rem, 5vw, 4rem); }
.hero .page { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .hero .page { grid-template-columns: 1fr; } }
.kicker { display: inline-block; background: var(--panel); color: var(--teal-deep); font-weight: 600; font-size: .92rem; padding: .45rem 1rem; border-radius: 999px; }
.hero h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(2.4rem, 1.4rem + 4vw, 3.9rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink-strong); margin-top: 1.1rem; max-width: 16ch; }
.hero .lead { color: var(--mut); max-width: 44ch; margin-top: 1.2rem; font-size: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.phone-note { margin-top: 1rem; color: var(--mut); font-size: 1rem; }

/* hero side card */
.side-card { background: var(--panel); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow); }
.side-card h2 { font-family: var(--disp); font-size: 1.25rem; font-weight: 700; color: var(--ink-strong); }
.side-card dl { margin-top: 1rem; }
.side-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--panel-2); }
.side-card dl div:last-child { border-bottom: 0; }
.side-card dt { color: var(--mut); font-weight: 600; font-size: 1rem; }
.side-card dd { font-weight: 600; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }

/* sections */
.sec { padding-block: clamp(2.6rem, 6vw, 4.5rem) 0; }
.sec:last-of-type { padding-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.sec-kicker { color: var(--teal-deep); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
h2.title { font-family: var(--disp); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -.015em; line-height: 1.12; color: var(--ink-strong); margin-top: .7rem; max-width: 26ch; }
.lead2 { color: var(--mut); max-width: 58ch; margin-top: 1rem; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(1.6rem, 4vw, 2.4rem); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; box-shadow: var(--shadow); }
.card h3 { font-family: var(--disp); font-weight: 700; font-size: 1.3rem; color: var(--ink-strong); }
.card p { color: var(--mut); margin-top: .5rem; font-size: 1.05rem; }
.card a { display: inline-block; margin-top: .9rem; color: var(--teal-deep); font-weight: 600; border-bottom: 2px solid var(--panel-2); }
.card a:hover { border-color: var(--teal); }

/* price table */
.price-table { margin-top: clamp(1.6rem, 4vw, 2.4rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 1.05rem 1.4rem; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--panel); font-family: var(--disp); font-weight: 700; color: var(--ink-strong); font-size: 1.02rem; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--teal-deep); white-space: nowrap; }
.price-note { color: var(--mut); font-size: 1rem; margin-top: 1rem; max-width: 60ch; }

/* mint band */
.band { margin-top: clamp(2.6rem, 6vw, 4.5rem); background: var(--panel); }
.band .page { padding-block: clamp(2.4rem, 5vw, 3.6rem); display: grid; grid-template-columns: 1.3fr auto; gap: 1.5rem; align-items: center; }
@media (max-width: 760px) { .band .page { grid-template-columns: 1fr; } }
.band h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.1rem); color: var(--ink-strong); max-width: 24ch; }
.band p { color: var(--mut); margin-top: .5rem; }

/* two-col */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 780px) { .two { grid-template-columns: 1fr; } }
.prose { color: var(--mut); max-width: 60ch; }
.prose p + p { margin-top: 1rem; }
.prose b { color: var(--ink); }
.note { background: var(--panel); border-left: 4px solid var(--teal); border-radius: 8px; padding: 1rem 1.2rem; color: var(--mut); font-size: 1rem; margin-top: 1.4rem; }

/* footer */
.foot { margin-top: clamp(3rem, 7vw, 5rem); background: var(--ink-strong); color: #bcd8d0; padding: 2.4rem 0 2.6rem; font-size: 1rem; }
.foot .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; }
.foot .wm { font-family: var(--disp); font-weight: 700; color: #fff; }
.foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot .credit { text-align: center; font-size: .85rem; opacity: .7; margin-top: 1.6rem; }
.foot .credit a { color: #bcd8d0; }
