/* Product explainer layout for the visit, printable, and between-appointment pages.
   Phone geometry matches src/components/PhoneFrame.tsx. Colors are the locked sky/zinc tokens. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.explain {
  font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fafafa;
  color: #18181b;
  letter-spacing: -0.006em;
}
.explain header,
.explain main,
.explain footer {
  max-width: 1120px;
}
.explain h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 16ch;
}
.explain h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.028em;
  font-weight: 700;
  line-height: 1.15;
}
.explain .lede {
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #52525b;
}
.explain .note { color: #52525b; }

.hero-block { padding-bottom: .25rem; }
.section-head { max-width: 36rem; margin: 2.75rem 0 1.25rem; }
.section-head p { margin: .5rem 0 0; color: #52525b; }

.step-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 960px) {
  .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
}
.step-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 28px;
  padding: 1.25rem 1.15rem 1rem;
  box-shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 16px 40px -28px rgba(9, 9, 11, .35);
}
.step-kicker {
  margin: 0;
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0069a8;
}
.step-card h3 {
  margin: .4rem 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #09090b;
}
.step-card .step-copy {
  margin: .45rem 0 0;
  color: #52525b;
  line-height: 1.5;
  min-height: 4.5rem;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.chip {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 18px;
  padding: .9rem 1rem;
  box-shadow: 0 1px 2px rgba(9, 9, 11, .04);
}
.chip strong { display: block; color: #09090b; font-size: .98rem; }
.chip span { display: block; margin-top: .2rem; color: #52525b; font-size: .9rem; line-height: 1.4; }

.link-grid {
  display: grid;
  gap: .65rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.link-grid a {
  display: block;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: .85rem 1rem;
  text-decoration: none;
  color: #18181b;
  font-weight: 650;
}
.link-grid a:hover { border-color: #0069a8; }
.link-grid span { display: block; margin-top: .2rem; font-weight: 450; color: #52525b; }

.faq-item {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: .95rem 1.05rem;
  margin: .65rem 0;
}
.faq-item h3 { font-size: 1.02rem; }
.explain footer { padding-top: .5rem; }

/* Canonical phone frame, static. 1 pt = 100cqw / 414. */
.gt-phone-stage {
  margin-top: auto;
  border-radius: 22px;
  padding: 1.35rem 1rem .85rem;
  background:
    radial-gradient(60% 45% at 50% 52%, rgba(255,255,255,.7), transparent 72%),
    radial-gradient(80% 40% at 90% 10%, #f0f9ff, transparent 70%),
    linear-gradient(180deg, #fff 0%, #f4f4f5 55%, #f0f9ff 100%);
}
.gt-phone { container-type: inline-size; position: relative; width: min(100%, 220px); margin: 0 auto; --pt: calc(100cqw / 414); }
.gt-phone-body {
  position: relative; isolation: isolate; aspect-ratio: 414 / 868; padding: calc(12 * var(--pt));
  border-radius: calc(66 * var(--pt));
  background: linear-gradient(160deg, #6e747c 0%, #3a3e44 18%, #1c1e22 46%, #2a2d32 78%, #5c626a 100%);
  box-shadow:
    inset 0 0 0 calc(.6 * var(--pt)) rgba(255,255,255,.22),
    0 calc(8 * var(--pt)) calc(16 * var(--pt)) rgba(9,9,11,.22),
    0 calc(28 * var(--pt)) calc(40 * var(--pt)) calc(-16 * var(--pt)) rgba(0,105,168,.18);
}
.gt-phone-body::before {
  content: ""; position: absolute; inset: calc(2.6 * var(--pt)); border-radius: calc(63.4 * var(--pt));
  background: #0a0a0c;
}
.gt-phone-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(54 * var(--pt)); background: #f4f4f5;
}
.gt-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gt-phone-island {
  position: absolute; left: 50%; top: calc(11 * var(--pt)); translate: -50% 0;
  width: calc(120 * var(--pt)); height: calc(35 * var(--pt)); border-radius: 999px; background: #000;
}
.gt-phone-home {
  position: absolute; left: 50%; bottom: calc(8 * var(--pt)); translate: -50% 0; z-index: 2;
  width: calc(132 * var(--pt)); height: calc(5 * var(--pt)); border-radius: 999px; background: rgba(9,9,11,.88);
}
.gt-phone-status { position: absolute; inset: 0 0 auto 0; height: calc(54 * var(--pt)); color: #09090b; pointer-events: none; }
.gt-phone-time {
  position: absolute; left: calc(66 * var(--pt)); top: calc(29.5 * var(--pt)); translate: -50% -50%;
  font-weight: 650; font-size: calc(16 * var(--pt)); letter-spacing: -.02em; line-height: 1;
}
.gt-phone-icons {
  position: absolute; right: calc(22 * var(--pt)); top: calc(29.5 * var(--pt)); translate: 0 -50%;
  display: flex; align-items: center; gap: calc(5 * var(--pt));
}
.gt-phone-icons svg { height: calc(11 * var(--pt)); width: auto; display: block; }
.gt-phone-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 34%);
}
.gt-phone-btn { position: absolute; width: calc(3.2 * var(--pt)); border-radius: calc(1.4 * var(--pt)); z-index: 2; }
.gt-phone-btn-silent { left: calc(-2.4 * var(--pt)); top: 12.4%; height: 2.4%; background: linear-gradient(90deg, #8b9198, #2c2f33); }
.gt-phone-btn-l { left: calc(-2.6 * var(--pt)); background: linear-gradient(90deg, #8b9198, #2a2d31 55%, #1a1c1f); }
.gt-phone-btn-r { right: calc(-2.6 * var(--pt)); background: linear-gradient(90deg, #1a1c1f, #2a2d31 45%, #8b9198); }

.paper-stage {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(9,9,11,.04), 0 24px 50px -32px rgba(9,9,11,.4);
}
#log-sheet {
  min-width: 720px;
  background: #fff;
  color: #18181b;
  border: 1px solid #e4e4e7;
  border-radius: 18px;
  padding: 1.25rem 1.15rem 1rem;
  box-shadow: inset 0 0 0 1px #fff;
}
#log-sheet h2 { margin: 0 0 .35rem; font-size: 1.35rem; letter-spacing: -0.02em; }
#log-sheet .sheet-rule { height: 3px; width: 4.5rem; background: #0069a8; border-radius: 99px; margin: 0 0 .85rem; }
#log-sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
#log-sheet th, #log-sheet td { border: 1px solid #d4d4d8; padding: .45rem; text-align: left; vertical-align: top; font-size: .78rem; }
#log-sheet th { background: #f4f4f5; font-weight: 650; color: #18181b; }
#log-sheet td { height: 2.15rem; background: #fff; }
#log-sheet .q-line { border-bottom: 1px solid #d4d4d8; min-height: 1.7rem; margin: .35rem 0; }
