/* Alpha Dental — home.alphadental.app
   Stratum: near-black ground, hairlines, one yellow fill per screen, never on type. */

@font-face { font-family: "GeistMono"; src: url("/fonts/GeistMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GeistMono"; src: url("/fonts/GeistMono-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ground: #0A0A0B;
  --ink: #F2EFE8;
  --bright: #9A9A9A;
  --grey: #5C5C5C;
  --hair: #262628;
  --hair-strong: #3A3A3D;
  --yellow: #FACC15;
  --on-yellow: #0A0A0B;

  --mono: "GeistMono", ui-monospace, "SF Mono", Menlo, monospace;
  --kufi: "Noto Kufi Arabic", "Cairo", system-ui, sans-serif;
  --cairo: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --display: var(--kufi);
  --body: var(--cairo);
  --display-weight: 700;

  --gutter: 16px;
  --max: 1120px;
  --measure: 34rem;
}
:root[lang="en"] { --display: var(--serif); --display-weight: 400; }

* { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  background: var(--ground);
  color: var(--ink);
  overflow-x: hidden;
}
:root[lang="en"] body { font-weight: 400; font-size: 16px; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-decoration-color: var(--grey); text-underline-offset: 0.2em; }
p a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--ground); }

h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.15; margin: 0; letter-spacing: 0; }
:root[lang="en"] h1, :root[lang="en"] h2 { font-variation-settings: "opsz" 144; letter-spacing: -0.01em; }
:root[lang="en"] h3 { font-family: var(--cairo); font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { color: var(--bright); margin-bottom: 14px; }
:root[lang="ar"] .eyebrow:not(.unit), :root[lang="ar"] .foot-copy { font-family: var(--cairo); font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; }
.note { color: var(--bright); font-size: 15px; }
.lead { font-size: 19px; line-height: 1.7; max-width: var(--measure); }
:root[lang="en"] .lead { font-size: 18px; }
.dim { color: var(--grey); }

/* one filled square: the plate marker */
.sq { display: inline-block; width: 8px; height: 8px; background: var(--ink); flex: none; }

/* ---------- band ---------- */
.band {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand right" "nav nav"; align-items: center; gap: 10px 16px;
  padding: 12px var(--gutter) 10px;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.brand { grid-area: brand; font-family: var(--display); font-weight: var(--display-weight); font-size: 18px; white-space: nowrap; }
:root[lang="en"] .brand { font-variation-settings: "opsz" 48; font-weight: 600; }
.nav { grid-area: nav; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; font-size: 15px; font-weight: 400; color: var(--bright); }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.band-right { grid-area: right; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--bright); white-space: nowrap; }
.band-right a:hover { color: var(--ink); }
.lang { font-family: var(--cairo); }
:root[lang="ar"] .lang { font-family: var(--serif); font-variation-settings: "opsz" 14; font-size: 15px; }

/* ---------- layout ---------- */
main { display: block; }
section { padding: 56px var(--gutter); max-width: var(--max); margin: 0 auto; }
section + section { border-top: 1px solid var(--hair); }
.page-head { padding-top: 72px; }
.page-head h1 { font-size: clamp(34px, 7vw, 64px); margin-bottom: 18px; }
.page-head .lead { margin-top: 8px; }
.closing { text-align: center; }
.closing .ctas { align-items: center; }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; align-items: flex-start; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--cairo); font-weight: 600; font-size: 16px;
  border: 1px solid var(--ink); border-radius: 0;
  width: 100%;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.btn-primary:hover { background: #ffd83b; border-color: #ffd83b; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.cta-note { color: var(--bright); font-size: 14px; margin-top: 2px; }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 64px;
  min-height: calc(100svh - 61px);
}
.hero h1 { font-size: clamp(52px, 14vw, 128px); line-height: 1.05; margin-bottom: 22px; }
:root[lang="en"] .hero h1 { line-height: 0.98; }
.hero .lead { color: var(--bright); }
.hero .ctas { margin-top: 36px; }
.hero-fig { margin: 0; }
.hero-fig figcaption { color: var(--grey); margin-top: 14px; text-transform: none; letter-spacing: 0.02em; font-family: var(--cairo); font-size: 13px; }
:root[lang="en"] .hero-fig figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.lattice { width: 100%; height: auto; }
.lattice .cell { fill: transparent; stroke: var(--hair-strong); stroke-width: 1; shape-rendering: crispEdges; }
.lattice .mark { fill: var(--ink); }
.hero-fig { max-width: 360px; }
.lattice .lbl { font-family: var(--mono); font-size: 9px; fill: var(--grey); letter-spacing: 0.08em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .lattice .mark { animation: fill .3s steps(1) both; animation-delay: calc(.5s + var(--i) * 18ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { fill: transparent; } to { fill: var(--ink); } }

/* ---------- hooks ---------- */
.hooks { display: grid; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.hook { display: grid; gap: 24px; align-items: center; }
.hook h3 { font-size: clamp(26px, 5.5vw, 40px); margin-bottom: 12px; }
.hook p:not(.eyebrow) { color: var(--bright); max-width: var(--measure); }
.shot { margin: 0; border: 1px solid var(--hair-strong); background: var(--ground); }
.shot img { width: 100%; }
.shot-phone { max-width: 320px; }

/* ---------- film ---------- */
.film-head { margin-bottom: 28px; }
.film-head h2 { font-size: clamp(30px, 6vw, 48px); margin-bottom: 10px; }
.film-head p:not(.eyebrow) { color: var(--bright); max-width: var(--measure); }
.video-frame { border: 1px solid var(--hair-strong); background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 40rem; }
.list li { display: flex; gap: 16px; align-items: baseline; font-size: 18px; }
.list .sq { position: relative; top: -2px; }
.list-titled li { align-items: flex-start; gap: 18px; }
.list-titled .sq { margin-top: 12px; }
.list-titled h3 { font-size: 22px; margin-bottom: 4px; }
.list-titled p { color: var(--bright); }

.steps h2 { font-size: clamp(30px, 6vw, 48px); margin-bottom: 28px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 40rem; }
.step-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; }
.step-n { color: var(--grey); font-size: 14px; }
.step-list h3 { font-size: 22px; margin-bottom: 2px; }
.step-list p { color: var(--bright); }

/* ---------- features catalogue ---------- */
.catalogue { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 24px; }
.feat-group { padding: 0; margin: 0; border-top: 1px solid var(--hair); }
.feat-group + .feat-group { border-top: 1px solid var(--hair); }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 14px; font-family: var(--cairo); font-weight: 600; color: var(--bright); padding: 22px 0 6px; letter-spacing: 0.04em; }
.feat { display: grid; grid-template-columns: 56px 1fr; gap: 12px 8px; padding: 26px 0 32px; border-top: 1px solid var(--hair); }
.feat-idx { color: var(--ink); display: flex; gap: 6px; align-items: baseline; padding-top: 4px; }
.feat-idx .dim { font-size: 10px; }
.feat h3 { font-size: clamp(22px, 4.5vw, 30px); margin-bottom: 8px; }
.feat .promise { font-size: 18px; max-width: var(--measure); }
.feat .note { margin-top: 4px; }
.feat .shot { grid-column: 2; margin-top: 16px; max-width: 240px; }

/* ---------- pricing ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin: 6px 0 10px; }
.price-from { font-size: 18px; color: var(--bright); }
.price-fig { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144; font-size: clamp(88px, 22vw, 180px); line-height: 0.9; letter-spacing: -0.02em; }
.price-unit { font-size: 18px; color: var(--bright); }
.price-billed { color: var(--bright); font-size: 16px; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 14px; max-width: 40rem; }
.contact-card {
  display: grid; gap: 4px; padding: 24px 22px;
  border: 1px solid var(--hair-strong);
  transition: border-color .18s ease, background .18s ease;
}
.contact-card:hover { border-color: var(--ink); }
.contact-card.is-primary { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.contact-card.is-primary:hover { background: #ffd83b; }
.contact-name { font-family: var(--display); font-weight: var(--display-weight); font-size: 24px; line-height: 1.2; }
:root[lang="en"] .contact-name { font-family: var(--cairo); font-weight: 600; }
.contact-text { font-size: 15px; opacity: .85; }
.contact-number { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.contact-number .mono { font-size: 18px; letter-spacing: 0.1em; text-transform: none; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 36px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; color: var(--bright); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; justify-content: space-between; }
.foot-links { margin-top: 18px; justify-content: flex-start; }
.foot a:hover { color: var(--ink); }
.brand-small { font-family: var(--display); font-weight: var(--display-weight); color: var(--ink); font-size: 16px; }
.foot .mono { text-transform: none; letter-spacing: 0.1em; font-size: 13px; }
.foot-copy { margin-top: 26px; color: var(--grey); }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .band { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav right"; padding: 14px var(--gutter); }
  .btn { width: auto; min-width: 220px; }
  .ctas { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta-note { width: 100%; }
  .hook { grid-template-columns: 1fr 300px; gap: 48px; }
  .hook .shot-phone { justify-self: end; }
  .feat { grid-template-columns: 72px 1fr; }
  .feat .shot { margin-top: 20px; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact-number { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  :root { --gutter: 48px; }
  section { padding-top: 80px; padding-bottom: 80px; }
  .hero { grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding-top: 48px; }
  .hero-fig { max-width: 440px; justify-self: end; }
  .hooks { gap: 96px; }
  .hook { grid-template-columns: 1fr 340px; gap: 72px; }
  .feat { grid-template-columns: 88px minmax(0, 1fr) 260px; gap: 12px 32px; padding: 36px 0 40px; align-items: start; }
  .feat .shot { grid-column: 3; grid-row: 1; margin-top: 0; }
  .band { padding-left: var(--gutter); padding-right: var(--gutter); }
  .nav { gap: 28px; }
}
