/* ==========================================================================
   Seen — Shared styles for inner (non-landing) pages
   Loaded after style.css — reuses the same design tokens (colors, radii,
   font, easing) so every page stays visually consistent with the brand.
   ========================================================================== */

/* ---------- Inner hero (breadcrumb header for sub-pages) ---------- */
.inner-hero {
  position: relative;
  background: var(--ink-900);
  color: var(--white);
  padding: 190px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.inner-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(650px 420px at 82% 0%, rgba(234,228,0,.14), transparent 60%);
  z-index: -1;
}
.inner-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-300); margin-bottom: 22px;
}
.inner-hero .breadcrumb a:hover { color: var(--yellow-200); }
.inner-hero .breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.inner-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; letter-spacing: -.5px; }
.inner-hero p.lead { color: var(--ink-300); font-size: 16.5px; max-width: 620px; }
.inner-hero.centered { text-align: center; }
.inner-hero.centered p.lead { margin: 0 auto; }
.inner-hero.centered .breadcrumb { justify-content: center; }
.inner-hero.compact { padding: 160px 0 70px; }

/* ---------- Auth (login / register) ---------- */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}
.auth-visual {
  position: relative;
  background: var(--ink-900);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px;
  overflow: hidden;
  isolation: isolate;
}
.auth-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 460px at 15% 10%, rgba(234,228,0,.18), transparent 60%),
    radial-gradient(500px 400px at 90% 90%, rgba(234,228,0,.1), transparent 60%);
  z-index: -1;
}
.auth-visual .hero-grid { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 75%);
}
.auth-visual .quote { font-size: 22px; font-weight: 700; line-height: 1.6; max-width: 420px; }
.auth-visual .quote span { color: var(--yellow-200); }
.auth-visual .auth-stats { display: flex; gap: 36px; }
.auth-visual .auth-stats b { display: block; font-size: 26px; font-weight: 800; }
.auth-visual .auth-stats span { font-size: 12.5px; color: var(--ink-300); }

.auth-form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
}
.auth-card { width: 100%; max-width: 400px; }
.auth-card .brand { margin-bottom: 40px; color: var(--ink-900); }
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.auth-card > p,
.auth-card h1 + p {
  color: var(--ink-200);
  font-size: 14.5px;
  margin-bottom: 32px;
}
.auth-switch { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--ink-200); }
.auth-switch a { color: var(--yellow-600); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--ink-300); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #ececec; }
.otp-inputs { display: flex; gap: 10px; direction: ltr; justify-content: center; margin-bottom: 8px; }
.otp-inputs input {
  width: 52px; height: 58px; text-align: center; font-size: 22px; font-weight: 700;
  border: 1.5px solid #e4e4e4; border-radius: var(--radius-sm); transition: border-color .25s, box-shadow .25s;
}
.otp-inputs input:focus { outline: none; border-color: var(--yellow-400); box-shadow: 0 0 0 4px var(--yellow-glow); }
.otp-timer { text-align: center; font-size: 13.5px; color: var(--ink-300); margin-top: 16px; font-variant-numeric: tabular-nums; }
.otp-timer a { color: var(--yellow-700); font-weight: 700; cursor: pointer; }

/* Resend: a clearly clickable secondary (ghost) button, subordinate to the
   primary CTA above it but obviously a button — with a distinct hover state. */
.otp-resend {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: fit-content; margin: 14px auto 0;
  padding: 9px 20px;
  font-size: 14px; font-weight: 700; line-height: 1;
  color: var(--yellow-700);
  background: var(--white);
  border: 1.5px solid var(--yellow-300);
  border-radius: 100px;
  cursor: pointer;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.otp-resend svg { width: 16px; height: 16px; }
.otp-resend:hover { background: rgba(234, 228, 0, .12); border-color: var(--yellow-500); box-shadow: 0 8px 20px var(--yellow-glow); transform: translateY(-2px); }
.otp-resend:active { transform: translateY(0); box-shadow: 0 4px 12px var(--yellow-glow); }
.otp-resend:focus-visible { outline: none; border-color: var(--yellow-500); box-shadow: 0 0 0 4px var(--yellow-glow); }
.back-step { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-300); margin-bottom: 18px; cursor: pointer; }
.back-step:hover { color: var(--ink-800); }
.back-step svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* ---------- Form controls (shared) ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--ink-800); }
.field label .opt { font-weight: 500; color: var(--ink-300); font-size: 12.5px; }
.field .input-wrap { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e4e4e4;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-800);
  background: var(--white);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--yellow-400); box-shadow: 0 0 0 4px var(--yellow-glow);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .toggle-visibility {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-300); cursor: pointer; display: flex;
}
.field .toggle-visibility:hover { color: var(--ink-700); }
.field .hint { font-size: 12.5px; color: var(--ink-300); margin-top: 7px; }
.pw-hint {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.pw-hint li {
  position: relative;
  font-size: 12px;
  color: var(--ink-300);
  padding-right: 16px;
  line-height: 1.5;
  transition: color .2s;
}
.pw-hint li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  box-sizing: border-box;
}
.pw-hint li.is-ok { color: #1e7e34; font-weight: 600; }
.pw-hint li.is-ok::before {
  background: #1e7e34;
  border-color: #1e7e34;
}
.pw-hint li.is-bad { color: #a33; }
@media (max-width: 420px) {
  .pw-hint { grid-template-columns: 1fr; }
}
.field .error-msg { font-size: 12.5px; color: #C0392B; margin-top: 7px; display: none; align-items: center; gap: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #C0392B; }
.field.has-error .error-msg { display: flex; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-200); }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow-200); flex-shrink: 0; }
.field-check a { color: var(--ink-800); font-weight: 700; }
.form-submit-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-300); margin-top: 16px; justify-content: center; }
.btn[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: currentColor; animation: spin .7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert {
  display: none; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.form-alert.show { display: flex; }
.form-alert.success { background: rgba(46,160,67,.1); color: #1e7e34; }
.form-alert.error { background: rgba(192,57,43,.1); color: #C0392B; }
.form-alert svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Comparison / data table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid #ececec; }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare-table th, table.compare-table td { padding: 18px 20px; text-align: right; font-size: 14.5px; }
table.compare-table thead th {
  background: var(--ink-900); color: var(--white); font-weight: 700; font-size: 13.5px;
  position: sticky; top: 0;
}
table.compare-table thead th:first-child { border-top-right-radius: var(--radius-md); }
table.compare-table thead th:last-child { border-top-left-radius: var(--radius-md); }
table.compare-table tbody tr:nth-child(even) { background: var(--off-white); }
table.compare-table tbody tr.highlight { background: rgba(234,228,0,.1); }
table.compare-table tbody td:first-child { font-weight: 700; color: var(--ink-800); }
table.compare-table .yes { color: #1e7e34; display: inline-flex; align-items: center; gap: 6px; }
table.compare-table .no { color: var(--ink-300); display: inline-flex; align-items: center; gap: 6px; }
table.compare-table .yes svg, table.compare-table .no svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Tabbed comparison (price / pros&cons per line type) ---------- */
.compare-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.compare-tabs button {
  padding: 11px 26px; border-radius: 100px; font-size: 14px; font-weight: 700;
  border: 1.5px solid #e4e4e4; color: var(--ink-200); transition: all .25s;
}
.compare-tabs button.active, .compare-tabs button:hover { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.compare-tab-panel { display: none; }
.compare-tab-panel.active { display: block; }

/* ---------- Number type cards (dedicated numbers) ---------- */
.number-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.number-card {
  border: 1px solid #ececec; border-radius: var(--radius-lg); padding: 34px 28px; text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  display: flex; flex-direction: column;
}
.number-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(0,0,0,.09); border-color: var(--yellow-300); }
.number-card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.number-card .digits {
  font-size: 24px; font-weight: 800; letter-spacing: 1px; direction: ltr;
  background: var(--off-white); border: 1px dashed #ddd; border-radius: var(--radius-sm); padding: 14px;
  margin-bottom: 20px;
}
.number-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.number-card p { font-size: 13.5px; color: var(--ink-200); margin-bottom: 22px; min-height: 40px; flex: 1; }
.number-card-price {
  padding: 16px 0; margin-bottom: 22px;
  border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
}
.number-card-price b { font-size: 28px; font-weight: 800; color: var(--ink-900); }
.number-card-price span { font-size: 13px; font-weight: 600; color: var(--ink-300); margin-right: 4px; }
@media (max-width: 980px) { .number-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px) { .number-grid { grid-template-columns: 1fr; } }

/* ---------- Operator strip ---------- */
.operator-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.operator-card {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-md);
  background: var(--off-white); border: 1px solid #ececec;
}
.operator-card .op-ic {
  width: 50px; height: 50px; border-radius: 12px; background: var(--ink-900); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.operator-card .op-ic svg { width: 24px; height: 24px; }
.operator-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.operator-card p { font-size: 13px; color: var(--ink-200); }
@media (max-width: 720px) { .operator-strip { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-toolbar { display: flex; flex-direction: column; gap: 20px; align-items: center; margin-bottom: 50px; }
.faq-search { position: relative; width: 100%; max-width: 520px; }
.faq-search input {
  width: 100%; padding: 15px 50px 15px 20px; border-radius: 100px; border: 1.5px solid #e4e4e4;
  font-size: 15px; font-family: inherit; transition: border-color .25s, box-shadow .25s;
}
.faq-search input:focus { outline: none; border-color: var(--yellow-400); box-shadow: 0 0 0 4px var(--yellow-glow); }
.faq-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--ink-300); }
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.faq-cats button {
  padding: 9px 20px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
  border: 1.5px solid #e4e4e4; color: var(--ink-200); transition: all .25s;
}
.faq-cats button.active, .faq-cats button:hover { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }

.accordion { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid #ececec; border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.acc-item .acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--ink-800);
}
.acc-item .acc-q .plus {
  width: 30px; height: 30px; border-radius: 50%; background: var(--off-white); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease-out), background .3s;
}
.acc-item.open .acc-q .plus { background: var(--yellow-200); transform: rotate(135deg); }
.acc-item .acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.acc-item .acc-a-inner { padding: 0 24px 22px; color: var(--ink-200); font-size: 14.5px; line-height: 1.8; }
.acc-empty { text-align: center; color: var(--ink-300); padding: 40px 0; display: none; }
.acc-empty.show { display: block; }

/* ---------- Docs / guide layout ---------- */
.docs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: flex-start; }
.docs-sidebar {
  position: sticky; top: 110px;
  border: 1px solid #ececec; border-radius: var(--radius-md); padding: 20px;
  max-height: calc(100vh - 140px); overflow-y: auto;
}
.docs-sidebar .search-mini { position: relative; margin-bottom: 18px; }
.docs-sidebar .search-mini input {
  width: 100%; padding: 11px 40px 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid #e4e4e4; font-size: 13.5px; font-family: inherit;
}
.docs-sidebar .search-mini svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-300); }
.docs-sidebar nav ul { display: flex; flex-direction: column; gap: 2px; }
.docs-sidebar nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; color: var(--ink-200); font-weight: 600;
}
.docs-sidebar nav a svg { width: 17px; height: 17px; flex-shrink: 0; }
.docs-sidebar nav a:hover { background: var(--off-white); color: var(--ink-800); }
.docs-sidebar nav a.active { background: var(--ink-900); color: var(--white); }

.docs-article { max-width: 720px; }
.docs-article section { margin-bottom: 52px; scroll-margin-top: 110px; }
.docs-article h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.docs-article h2 .step-badge {
  width: 34px; height: 34px; border-radius: 10px; background: var(--ink-900); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.docs-article p { color: var(--ink-200); font-size: 15px; margin-bottom: 14px; }
.docs-article ol, .docs-article ul.plain { padding-right: 20px; color: var(--ink-200); font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.docs-article ol { list-style: decimal; }
.docs-article .callout {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(234,228,0,.08); border: 1px solid rgba(234,228,0,.3); font-size: 14px; color: var(--ink-700);
}
.docs-article .callout svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--yellow-600); }
.docs-article code {
  background: var(--off-white); padding: 2px 8px; border-radius: 6px; font-size: 13.5px; direction: ltr; display: inline-block;
}
.docs-article pre {
  background: var(--ink-900); color: #d8f0d8; padding: 20px; border-radius: var(--radius-sm);
  overflow-x: auto; font-size: 13px; direction: ltr; text-align: left; margin-bottom: 14px;
}
@media (max-width: 980px) { .docs-layout { grid-template-columns: 1fr; } .docs-sidebar { position: static; max-height: none; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.3fr; gap: 50px; align-items: flex-start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-md);
  border: 1px solid #ececec; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.06); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .ic svg { width: 22px; height: 22px; color: var(--yellow-200); }
.contact-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 13.5px; color: var(--ink-200); display: block; }
.contact-card a:hover { color: var(--yellow-600); }

.contact-map {
  margin-top: 6px; border-radius: var(--radius-md); overflow: hidden; height: 300px;
  border: 1px solid #ececec;
  background: var(--off-white);
  position: relative;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-map .pin { width: 46px; height: 46px; border-radius: 50% 50% 50% 0; background: var(--yellow-200); transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; }
.contact-map .pin svg { transform: rotate(45deg); width: 20px; height: 20px; }
.contact-form-card { border: 1px solid #ececec; border-radius: var(--radius-lg); padding: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } .contact-form-card { padding: 26px; } }

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 30px 20px; }
.value-card .ic-wrap {
  width: 60px; height: 60px; border-radius: 16px; background: var(--ink-900); margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.value-card .ic-wrap svg { width: 26px; height: 26px; color: var(--yellow-200); }
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--ink-200); }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; right: 20px; width: 2px; background: #ececec; }
.timeline-item { position: relative; padding-right: 56px; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .dot {
  position: absolute; right: 11px; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow-200); border: 4px solid var(--white); box-shadow: 0 0 0 2px #ececec;
}
.timeline-item .year { font-size: 13px; font-weight: 800; color: var(--yellow-600); margin-bottom: 6px; }
.timeline-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--ink-200); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--off-white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden;
}
.team-card .avatar svg { width: 46%; height: 46%; color: var(--ink-300); }
.team-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-card span { font-size: 12.5px; color: var(--ink-300); }
@media (max-width: 980px) { .value-grid, .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .value-grid, .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ---------- Bulk SMS composer (demo) ---------- */
.composer-shell {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: stretch;
  background: var(--ink-900); border-radius: var(--radius-lg); padding: 40px; color: var(--white);
}
.composer-panel .field label { color: var(--white); }
.composer-panel .field input, .composer-panel .field textarea, .composer-panel .field select {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--white);
}
.composer-panel .field input::placeholder, .composer-panel .field textarea::placeholder { color: var(--ink-300); }
.composer-panel .char-count { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-300); margin-top: 6px; }
.composer-preview {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
}
.composer-preview .phone-mini {
  background: #595959; border-radius: 24px; border: 5px solid #6B6B6B; padding: 18px 14px; flex: 1;
  display: flex; flex-direction: column; gap: 10px; min-height: 220px;
}
.composer-preview .result-log { font-size: 12.5px; color: var(--ink-300); margin-top: 16px; display: flex; flex-direction: column; gap: 6px; max-height: 110px; overflow-y: auto; }
.composer-preview .result-log .ok { color: #6cd67a; }
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.use-case-card { text-align: center; padding: 26px 18px; border-radius: var(--radius-md); background: var(--off-white); }
.use-case-card .ic-wrap { width: 50px; height: 50px; border-radius: 14px; background: var(--ink-900); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.use-case-card .ic-wrap svg { width: 22px; height: 22px; color: var(--yellow-200); }
.use-case-card h5 { font-size: 14.5px; font-weight: 700; }
@media (max-width: 980px) { .composer-shell { grid-template-columns: 1fr; } .use-case-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- Skeleton loading ---------- */
.skeleton { position: relative; overflow: hidden; background: var(--off-white); border-radius: var(--radius-sm); }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.skeleton-card { height: 320px; }
.skeleton-row { height: 52px; margin-bottom: 10px; }

/* ---------- Guide step screenshots (design team drops real files in later) ---------- */
.guide-shot-block { margin: 18px 0 32px; }
.guide-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1.5px dashed #ddd;
  background: var(--off-white);
  overflow: hidden;
}
.guide-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-shot .placeholder-icon {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  color: var(--ink-300);
}
.guide-shot .placeholder-icon svg { width: 15%; height: 15%; min-width: 32px; min-height: 32px; }
.guide-shot.is-placeholder img { display: none; }
.guide-shot.is-placeholder .placeholder-icon { display: flex; }
.guide-shot-caption {
  font-size: 12.5px; color: var(--ink-300); text-align: center; margin-top: 10px;
}

/* ---------- Allowed / not-allowed callout cards (service-line page) ---------- */
.allow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.allow-card { border-radius: var(--radius-md); padding: 28px; border: 1px solid #ececec; }
.allow-card.yes-card { background: rgba(46,160,67,.05); border-color: rgba(46,160,67,.2); }
.allow-card.no-card { background: rgba(192,57,43,.05); border-color: rgba(192,57,43,.2); }
.allow-card h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.allow-card h4 svg { width: 22px; height: 22px; flex-shrink: 0; }
.allow-card.yes-card h4 svg { color: #1e7e34; }
.allow-card.no-card h4 svg { color: #C0392B; }
.allow-card ul { display: flex; flex-direction: column; gap: 12px; }
.allow-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-200); }
.allow-card li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.allow-card.yes-card li svg { color: #1e7e34; }
.allow-card.no-card li svg { color: #C0392B; }
@media (max-width: 720px) { .allow-grid { grid-template-columns: 1fr; } }

/* ---------- Requirement checklist (service-line eligibility) ---------- */
.req-list { display: flex; flex-direction: column; gap: 14px; }
.req-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-800); padding: 14px 18px; background: var(--off-white); border-radius: var(--radius-sm); }
.req-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--yellow-600); }

/* ---------- Section callout (cross-link note above a pricing section) ---------- */
.section-callout {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 100%; margin: 0 auto 36px;
  padding: 13px 22px;
  background: rgba(234,228,0,.12);
  border: 1px solid rgba(234,228,0,.4);
  border-radius: 100px;
  font-size: 13.5px; color: var(--ink-700); font-weight: 600;
  text-align: center; flex-wrap: wrap;
}
.section-callout svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--yellow-700); }
.section-callout a { color: var(--yellow-700); font-weight: 800; text-decoration: underline; }
.section-callout-wrap { text-align: center; }

/* ---------- Related-service cross-link cards (no dedicated price of their own) ---------- */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.related-card {
  display: flex; align-items: center; gap: 18px;
  border: 1px solid #ececec; border-radius: var(--radius-lg); padding: 26px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.related-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.08); }
.related-card .ic-wrap { width: 54px; height: 54px; border-radius: 14px; background: var(--ink-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.related-card .ic-wrap svg { width: 24px; height: 24px; color: var(--yellow-200); }
.related-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.related-card p { font-size: 13.5px; color: var(--ink-200); margin-bottom: 10px; }
.related-card a { font-size: 13px; font-weight: 700; color: var(--yellow-600); }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages (terms / privacy) ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: var(--radius-lg);
  background: var(--off-white, #fafafa);
}
.legal-toc-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-300);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.legal-toc a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-200);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.legal-toc a:hover { background: #fff; color: var(--ink-800); }
.legal-doc { max-width: 760px; }
.legal-updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-300);
  background: var(--off-white, #fafafa);
  border: 1px solid #ececec;
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.legal-doc section { margin-bottom: 36px; scroll-margin-top: 100px; }
.legal-doc h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}
.legal-doc p,
.legal-doc li {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-200);
}
.legal-doc p { margin-bottom: 12px; }
.legal-doc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-doc ul li {
  position: relative;
  padding-right: 18px;
}
.legal-doc ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow-200);
}
.legal-doc a { color: var(--yellow-700); font-weight: 700; }
.legal-doc a:hover { text-decoration: underline; }
.legal-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.legal-cta p { color: rgba(255,255,255,.85); margin: 0; font-weight: 600; }
.legal-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Safe / public 404 ---------- */
.page-404 {
  min-height: 100vh;
  background: var(--ink-900);
  color: var(--white);
  overflow: hidden;
}
.nf-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 28px 64px;
  text-align: center;
  isolation: isolate;
}
.nf-shell .hero-grid {
  opacity: .35;
  z-index: 0;
}
.nf-glow {
  position: absolute;
  inset: auto;
  width: min(720px, 90vw);
  height: min(420px, 55vh);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(234, 228, 0, .22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: nfPulse 5.5s var(--ease-out) infinite alternate;
}
.nf-brand {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  color: var(--white);
  opacity: 0;
  animation: nfRise .7s var(--ease-out) .05s forwards;
}
.nf-brand:hover { opacity: 1; filter: brightness(1.05); }
.nf-main {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.nf-code {
  font-size: clamp(96px, 22vw, 168px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.06em;
  color: var(--yellow-200);
  margin: 0 0 18px;
  opacity: 0;
  animation: nfRise .8s var(--ease-out) .12s forwards;
  text-shadow: 0 18px 50px rgba(234, 228, 0, .25);
}
.nf-main h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 0 0 14px;
  color: var(--white);
  opacity: 0;
  animation: nfRise .75s var(--ease-out) .22s forwards;
}
.nf-lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  margin: 0 auto 32px;
  max-width: 420px;
  opacity: 0;
  animation: nfRise .75s var(--ease-out) .32s forwards;
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  opacity: 0;
  animation: nfRise .75s var(--ease-out) .42s forwards;
}
.nf-actions .btn-ghost {
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
}
.nf-actions .btn-ghost:hover {
  border-color: var(--yellow-200);
  color: var(--yellow-200);
}
@keyframes nfRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nfPulse {
  from { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -52%) scale(1.06); }
}
@media (max-width: 640px) {
  .nf-brand { top: 20px; right: 20px; left: 20px; justify-content: center; }
  .nf-actions { flex-direction: column; align-items: stretch; }
  .nf-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Small page utilities ---------- */
.section-tight { padding: 90px 0; }
.muted-strip { background: var(--off-white); }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
