:root {
  --bg: #eceef0;
  --ink: #0f1114;
  --mut: #4b5159;
  --line: #c3c8cd;
  --card: #ffffff;
  --chip: #8a9199;
  --acc: #8b5cf6;
  color-scheme: light;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono {
  font-family: "DM Mono", ui-monospace, Menlo, monospace;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--mut);
}
h1, h2 { font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
h1 { font-size: clamp(40px, 7.4vw, 84px); }
h2 { font-size: clamp(34px, 5.4vw, 60px); }
.ul {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100%/0% 1px no-repeat;
  transition: background-size 0.4s;
  padding-bottom: 2px;
}
.ul:hover { background-size: 100% 1px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font: 600 19px "Schibsted Grotesk", sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--ink);
  transition: gap 0.3s, background 0.3s, color 0.3s;
}
.btn:hover { gap: 20px; }
.solid { background: var(--ink); color: var(--bg); }
.solid:hover { background: var(--acc); border-color: var(--acc); color: #0f1114; }
.line { background: transparent; color: var(--ink); }
.line:hover { background: var(--ink); color: var(--bg); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.live {
  width: 10px; height: 10px; border-radius: 5px;
  background: var(--acc); display: inline-block;
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(139, 92, 246, 0); }
}
.in { opacity: 0; transform: translateY(28px); animation: in 1s cubic-bezier(0.2,0.8,0.2,1) forwards; }
.a1 { animation-delay: 0.1s; }
.a2 { animation-delay: 0.3s; }
.a3 { animation-delay: 0.5s; }
@keyframes in { to { opacity: 1; transform: none; } }
.rule {
  height: 1px; background: var(--ink);
  transform-origin: left; transform: scaleX(0);
  animation: draw 1.6s 0.2s cubic-bezier(0.7,0,0.2,1) forwards;
}
@keyframes draw { to { transform: scaleX(1); } }

/* nav */
.nav {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.nav b { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.nav div { display: flex; gap: 24px; font-weight: 600; }
.nav a { min-height: 44px; display: flex; align-items: center; }

/* hero */
.hero { padding: 56px 24px 72px; }
.meta {
  display: flex; flex-wrap: wrap; gap: 6px 28px;
  align-items: center; margin-bottom: 24px;
}
.meta span:first-child {
  color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.hero h1 { margin-bottom: 24px; max-width: 980px; }
.hero .lead {
  font-size: 21px; color: var(--mut); max-width: 640px; margin-bottom: 28px;
}
.price-badge {
  display: inline-flex; flex-wrap: wrap; gap: 6px 14px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 17px;
  margin-bottom: 28px;
}
.price-badge strong { font-weight: 800; }
.price-badge span { color: var(--mut); }

/* trust bar */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  align-items: center; justify-content: space-between;
}
.trustbar .mono { color: var(--mut); }

/* generic section */
.sec { padding: 104px 0; }
.sec h2 { margin: 14px 0 48px; max-width: 860px; }

/* 3-col grid */
.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.oc {
  border-top: 1px solid var(--ink);
  padding: 28px 0 40px;
}
.oc .mono { display: block; margin-bottom: 32px; }
.oc h3 {
  font-size: 30px; line-height: 1.05; letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.oc p { margin-bottom: 20px; }
.oc strong { font-family: "DM Mono", monospace; font-weight: 500; }

/* two-path block */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.path {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.path .tag {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid var(--acc);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.path h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.path p {
  color: var(--mut);
  font-size: 17px;
  margin-bottom: 18px;
}
.path ul {
  list-style: none; padding: 0; margin: 0;
}
.path li {
  display: flex; gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.path li::before { content: "✓"; color: var(--acc); font-weight: 800; }
.path .path-note {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  color: var(--mut);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* demo block (dark) */
.dark {
  background: #0f1114; color: #eceef0;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dark .mono { color: #a3aab2; }
.dh {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.dh h2 { max-width: 760px; margin-top: 14px; }
.demo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.demo-grid img {
  width: 100%; height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  border: 1px solid #2a2e35;
}
.demo-grid .mobile { max-width: 260px; justify-self: end; }
.demo-copy {
  color: #b4bac1; max-width: 720px; margin-bottom: 24px; font-size: 17px;
}
.demo-badge {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  background: rgba(139, 92, 246, 0.16);
  color: #c9b8ff;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.demo-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

/* pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.price-card.highlight {
  border: 2px solid var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
}
.price-card h3 {
  font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px;
}
.price-card .sub { color: var(--mut); font-size: 17px; margin-bottom: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0; }
.price-card li {
  display: flex; gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.price-card li::before {
  content: "✓"; color: var(--acc); font-weight: 800;
}
.price {
  font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 6px;
}
.price small { font-size: 16px; color: var(--mut); font-weight: 400; letter-spacing: 0; }
.price-meta { margin: 20px 0 28px; font-size: 17px; }
.price-meta strong { color: var(--ink); }
.price-meta .row { padding: 8px 0; border-top: 1px solid var(--line); }
.price-meta .row:last-child { border-bottom: 1px solid var(--line); }

/* contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 72px;
  align-items: start;
  padding: 104px 24px;
}
.contact h2 {
  font-size: clamp(40px, 7.4vw, 96px);
  line-height: 0.95;
  margin: 20px 0 28px;
}
.contact .lead {
  font-size: 21px; color: var(--mut);
  max-width: 520px; margin-bottom: 36px;
}
.mk {
  display: flex; gap: 20px; padding: 16px 0;
  border-top: 1px solid var(--ink); font-weight: 600;
}
.mk .mono { flex: 0 0 32px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 22px;
}
.chip {
  min-height: 48px; padding: 0 18px;
  border-radius: 999px;
  font: 600 18px "Schibsted Grotesk", sans-serif;
  cursor: pointer;
  background: transparent; color: var(--ink);
  border: 1px solid var(--chip);
  transition: background 0.25s, color 0.25s;
}
.chip[aria-pressed="true"] {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
label { display: block; margin-bottom: 8px; }
#biz, #email, #problem, #phone {
  font: inherit;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--chip);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  margin-bottom: 20px;
  field-sizing: fixed;
}
.hidden { display: none !important; }
.note { color: var(--mut); margin-top: 16px; font-size: 18px; }
.success {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  padding: 16px; border-radius: 12px; margin-bottom: 20px;
}
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  color: var(--mut);
  margin: 4px 0 16px;
}
.trust-badges span::before { content: "✓ "; color: var(--acc); }
.form-price {
  font-size: 15px; color: var(--mut); margin-bottom: 16px;
}
.form-price strong { color: var(--ink); }




@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .g3, .paths { grid-template-columns: 1fr; }
  .g3 { gap: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-grid .mobile { max-width: 100%; justify-self: center; }
  .sec, .contact { padding-top: 72px; padding-bottom: 72px; }
  .dark { padding: 72px 0; }
  .oc .mono { margin-bottom: 24px; }
}
@media (max-width: 600px) {
  .wrap, .hero, .contact { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 36px; }
  .nav div { gap: 20px; }
  .btn { width: 100%; }
  .card { padding: 22px; }
  .price { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .in { opacity: 1; transform: none; }
  .rule { transform: none; }
}

/* ============================================================
   FOOTER — shared across all pages
   Copy this whole block into ./assets/style/footer.css
   and remove it from here when you split the files.
   Requires root variables: --bg --ink --mut --line --card --chip --acc
   ============================================================ */
footer {
  background: #0f1114;
  color: #eceef0;
  border-top: 1px solid var(--line);
  padding: 96px 0 28px;
}
footer .mono { color: #a3aab2; }

.ft {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}
.ft h2 { max-width: 720px; margin-top: 18px; }

.clock {
  font: 500 clamp(48px, 6vw, 72px)/1 "DM Mono", monospace;
  letter-spacing: -0.04em;
  text-align: right;
}

/* dental strip — internal link to /dental */
.dental-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid #2a2e35;
  border-radius: 20px;
  margin-bottom: 56px;
}
.dental-strip .mono {
  color: var(--acc);
  display: block;
  margin-bottom: 8px;
}
.dental-strip p {
  color: #c9ced4;
  max-width: 640px;
}
.dental-strip .btn {
  flex: none;
}

.fg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
}
.fg .mono {
  display: block;
  margin-bottom: 20px;
}

.fl {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #2a2e35;
  background: none;
  font: inherit;
  color: #eceef0;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: padding 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fl:hover { padding-left: 16px; }
.fl i {
  font-style: normal;
  color: #a3aab2;
  transition: transform 0.4s, color 0.3s;
}
.fl:hover i {
  transform: translateX(6px);
  color: var(--acc);
}
.end { border-top: 1px solid #2a2e35; }

.st {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #2a2e35;
  color: #c9ced4;
}
.st .mono {
  color: var(--acc);
  flex: 0 0 32px;
}

.wm {
  font-weight: 800;
  font-size: clamp(44px, 11vw, 168px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #4a5058;
  margin-top: 88px;
  transition: color 0.7s, -webkit-text-stroke-color 0.7s;
  overflow: hidden;
}
.wm:hover {
  color: #eceef0;
  -webkit-text-stroke-color: #eceef0;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #2a2e35;
  margin-top: 28px;
  padding-top: 24px;
  color: #a3aab2;
}
