:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #16202c;
  --muted: #5a6776;
  --border: #e6eaf0;
  --accent: #2f6fed;
  --accent-dark: #1f56c4;
  --accent-soft: #eaf1ff;
  --gold: #c79a3a;
  --gold-soft: #fbf4e2;
  --slate: #334155;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.04),
    0 4px 14px rgba(20, 30, 50, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 30, 50, 0.08);
  --radius: 14px;
  --max: 1080px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand .logo {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #5b8bff);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn.secondary {
  background: #fff;
  color: var(--accent);
  border-color: var(--border);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--accent-soft);
  border-color: #cfe0ff;
}

.btn[disabled],
.btn.is-disabled {
  background: #eef1f6;
  color: var(--muted);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

/* ---------- Generic page main (legal/support) ---------- */
main {
  max-width: var(--reading);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

main.page h1 {
  font-size: 2rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 20px;
  box-shadow: var(--shadow-sm);
}

.card h2 {
  margin-top: 0;
}

.notice {
  background: var(--gold-soft);
  border: 1px solid #ecdaae;
  border-radius: 12px;
  padding: 16px 18px;
  color: #6b531c;
  font-size: 0.98rem;
}

.notice strong {
  color: #5a4514;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.tag.gold {
  color: var(--gold);
  background: var(--gold-soft);
}

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 85% -10%,
      var(--accent-soft),
      transparent 60%
    ),
    radial-gradient(900px 500px at -10% 10%, #f3f7ff, transparent 55%),
    linear-gradient(180deg, #ffffff, var(--bg));
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 80px;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-copy .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c77b;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), #6aa0ff 60%, #8ab4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.sub {
  font-size: 1.22rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-fine {
  margin: 22px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Home: phone mockup ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 38px;
  background: linear-gradient(160deg, #1c2533, #0f1622);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(20, 30, 50, 0.22),
    0 6px 16px rgba(20, 30, 50, 0.12);
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0f1622;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ps-top {
  padding: 28px 18px 16px;
  background: linear-gradient(135deg, var(--accent), #5b8bff);
  color: #fff;
}

.ps-top .ps-app {
  font-size: 0.78rem;
  opacity: 0.9;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ps-top .ps-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2px;
}

.ps-photo {
  margin: 16px 16px 0;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dfe7f5, #c9d6ee 55%, #b9c8e6);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
}

.ps-photo span {
  font-size: 0.78rem;
  color: #5566808a;
  color: rgba(60, 78, 110, 0.6);
  font-weight: 600;
}

.ps-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.ps-row .ps-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.ps-row .ps-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.ps-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1c7a4a;
  background: #e4f7ed;
  border-radius: 999px;
  padding: 3px 10px;
}

.ps-bar {
  height: 8px;
  border-radius: 999px;
  background: #e9eef6;
  overflow: hidden;
}

.ps-bar > i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #6aa0ff);
}

/* ---------- Home sections ---------- */
.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: 1.85rem;
  margin: 8px 0 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.eyebrow-c {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}

.product-card.live:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cfe0ff;
}

.product-card.soon {
  background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
}

.pc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: var(--accent-soft);
  border: 1px solid #d8e5ff;
}

.pc-icon.gold {
  background: var(--gold-soft);
  border-color: #ecdaae;
}

.product-card h3 {
  font-size: 1.3rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.product-card p {
  color: var(--muted);
  margin: 0 0 20px;
}

.product-card .pc-cta {
  margin-top: auto;
}

.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}

.badge.live {
  color: #1c7a4a;
  background: #e4f7ed;
  border: 1px solid #b9e8cd;
}

.badge.soon {
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid #ecdaae;
}

/* Why / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.feature .f-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  background: var(--accent-soft);
  border: 1px solid #d8e5ff;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.feature p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Home CTA strip */
.cta-strip .wrap {
  background: linear-gradient(135deg, #16335f, #244e9c);
  border-radius: 20px;
  padding: 44px 40px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.cta-strip h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #fff;
}

.cta-strip p {
  margin: 0;
  color: #cdd9f0;
}

.cta-strip .btn {
  background: #fff;
  color: var(--accent-dark);
}

.cta-strip .btn:hover {
  background: #eef3ff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-about {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 14px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col nav a {
  color: var(--slate);
  font-size: 0.95rem;
}

.footer-col nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 24px;
}

.footer-bottom .contact {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-bottom .copy {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Stone Worth AI result mockup (product-specific) ---------- */
.swa-mock {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(20, 30, 50, 0.16),
    0 4px 14px rgba(20, 30, 50, 0.08);
  overflow: hidden;
}

.swa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #16335f, #244e9c);
  color: #fff;
}

.swa-head .swa-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.1rem;
}

.swa-head .swa-app {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.swa-head .swa-screen {
  font-size: 0.78rem;
  opacity: 0.85;
}

.swa-body {
  padding: 18px 20px 22px;
}

.swa-result-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.swa-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
}

.swa-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.swa-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dfe7f5, #c9d6ee 55%, #b9c8e6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
}

.swa-thumb::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 6px;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.85),
    rgba(124, 148, 190, 0.45) 70%
  );
}

.swa-candidate .swa-cand-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.swa-candidate .swa-cand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.swa-candidate .swa-cand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.swa-score-block {
  margin-top: 16px;
}

.swa-score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.swa-score-row .swa-score-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
}

.swa-score-row .swa-score-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1c7a4a;
}

.swa-score-bar {
  height: 10px;
  border-radius: 999px;
  background: #e9eef6;
  overflow: hidden;
}

.swa-score-bar > i {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34c77b, #2f9e63);
}

.swa-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.swa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.swa-badge.green {
  color: #1c7a4a;
  background: #e4f7ed;
  border: 1px solid #b9e8cd;
}

.swa-badge.blue {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid #cfe0ff;
}

.swa-badge.gold {
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid #ecdaae;
}

.swa-foot {
  margin-top: 16px;
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- How it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.step .step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #5b8bff);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.step p {
  font-size: 0.96rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Big disclaimer card ---------- */
.disclaimer-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--gold-soft);
  border: 1px solid #ecdaae;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.disclaimer-card .dc-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: #fff;
  border: 1px solid #ecdaae;
}

.disclaimer-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #5a4514;
}

.disclaimer-card p {
  margin: 0;
  color: #6b531c;
}

/* ---------- Legal & support link cards ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.link-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cfe0ff;
}

.link-card .lc-title {
  font-weight: 700;
  font-size: 1.02rem;
}

.link-card .lc-sub {
  font-size: 0.9rem;
  color: var(--muted);
}

.link-card .lc-arrow {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
    text-align: center;
  }
  .hero p.sub {
    max-width: none;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .link-grid {
    grid-template-columns: 1fr;
  }
  .disclaimer-card {
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-strip .wrap {
    padding: 32px 24px;
    text-align: center;
    justify-content: center;
  }
  .site-footer .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
