/* Wraith — light, editorial, generous whitespace */

:root {
  --paper: #faf9f6;
  --ink: #17170f;
  --muted: #71716a;
  --line: #e6e4dd;
  --green: #0c6b45;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── nav ── */
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.mark { width: 22px; height: 22px; color: var(--ink); }
.nav nav { display: flex; gap: 32px; align-items: center; }
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
}
.nav nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--paper) !important;
  background: var(--ink);
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 550;
}
.nav-cta:hover { opacity: 0.85; }

/* ── hero ── */
.hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 32px 96px;
  text-align: center;
}
.eyebrow {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.lede {
  max-width: 560px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 18px;
}
.actions {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 550;
  font-size: 15.5px;
  padding: 13px 28px;
  border-radius: 10px;
}
.btn:hover { opacity: 0.85; }
.link-btn {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.link-btn:hover { border-color: var(--ink); }

/* ── phone mockup ── */
.phone-wrap {
  display: flex;
  justify-content: center;
  padding: 0 32px 40px;
}
.phone {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px -32px rgba(23, 23, 15, 0.25);
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  font-size: 16px;
}
.phone-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.phone-status { color: var(--muted); font-size: 12.5px; }
.phone-body {
  padding: 24px 18px 28px;
  background: #f4f1ea;
}
.bubble {
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  padding: 14px 16px;
  max-width: 330px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.bubble-title { font-weight: 650; font-size: 14.5px; }
.bubble-meta {
  color: var(--muted);
  font-size: 12.5px;
  margin: 2px 0 12px;
}
.bubble-job {
  font-size: 13.5px;
  padding: 7px 0;
  border-top: 1px solid #f0ede6;
  line-height: 1.45;
}
.bubble-job span {
  display: inline-block;
  font-weight: 650;
  color: var(--green);
  min-width: 62px;
  font-size: 12.5px;
}
.bubble-more {
  color: var(--muted);
  font-size: 12.5px;
  padding-top: 10px;
  border-top: 1px solid #f0ede6;
}
.bubble-time {
  text-align: right;
  color: #b9b6ac;
  font-size: 11px;
  margin-top: 6px;
}

.phone-wrap { flex-direction: column; align-items: center; gap: 18px; }
.phone-caption {
  color: var(--muted);
  font-size: 13.5px;
}

/* ── industries ── */
.industries {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 20px;
}
.industries h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.015em;
}
.industries-lede {
  color: var(--muted);
  margin-top: 16px;
  max-width: 540px;
}
.industry-list {
  list-style: none;
  margin-top: 44px;
}
.industry-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
}
.industry-list li:last-child { border-bottom: 1px solid var(--line); }
.industry-name { font-weight: 550; font-size: 16px; }
.tag {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px 12px;
  white-space: nowrap;
}
.tag.live {
  color: var(--green);
  border-color: currentColor;
  font-weight: 550;
}
.tag.ask a { color: var(--ink); text-decoration: none; }
.tag.ask a:hover { text-decoration: underline; }

/* ── product specs ── */
.product {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 32px 40px;
}
.spec {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.spec:first-child { border-top: none; }
.spec-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 10px;
}
.spec-body h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.spec-body p {
  color: var(--muted);
  max-width: 560px;
  font-size: 16.5px;
}
@media (max-width: 640px) {
  .spec { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; }
}

/* ── figures ── */
.figures {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.figure strong {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.figure span { color: var(--muted); font-size: 14px; }

/* ── pricing ── */
.pricing {
  max-width: 720px;
  margin: 0 auto;
  padding: 130px 32px 40px;
}
.pricing h2, .closer h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.015em;
}
.pricing-lede {
  color: var(--muted);
  margin-top: 16px;
  max-width: 520px;
}
.plans { margin-top: 48px; }
.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
}
.plan-row:last-child { border-bottom: 1px solid var(--line); }
.plan-name { font-weight: 600; font-size: 16px; }
.plan-desc {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}
.plan-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 550;
  white-space: nowrap;
}
.plan-price small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.plan-row.skeleton {
  min-height: 68px;
  background: linear-gradient(100deg, transparent 40%, #f0ede6 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-row.skeleton { animation: none; }
}
.plans-error { color: var(--muted); font-size: 14.5px; margin-top: 24px; }
@media (max-width: 560px) {
  .plan-row { flex-wrap: wrap; }
  .plan-desc { flex-basis: 100%; order: 3; }
}

/* ── closer ── */
.closer {
  max-width: 780px;
  margin: 0 auto;
  padding: 150px 32px 170px;
  text-align: center;
}
.closer .btn { margin-top: 40px; }

/* ── footer ── */
footer {
  border-top: 1px solid var(--line);
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 32px 56px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── mobile ── */
@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px 20px 0;
  }
  .nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .nav nav a { font-size: 14px; }
  .nav-cta { padding: 8px 16px; }

  .hero { padding: 72px 20px 56px; }
  .eyebrow { margin-bottom: 20px; }
  .lede { font-size: 16.5px; margin-top: 24px; }
  .actions {
    flex-direction: column;
    gap: 18px;
    margin-top: 34px;
  }
  .actions .btn {
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 15px 16px;
  }

  .phone-wrap { padding: 0 20px 32px; }
  .phone { border-radius: 22px; }
  .phone-caption { font-size: 12.5px; text-align: center; padding: 0 8px; }

  .product { padding: 72px 20px 24px; }
  .spec { padding: 36px 0; }
  .spec-body h2 { font-size: 23px; }
  .spec-body p { font-size: 15.5px; }

  .industries { padding: 72px 20px 12px; }
  .industry-list li { flex-wrap: wrap; padding: 15px 2px; }
  .industry-name { font-size: 15px; }
  .tag { font-size: 11.5px; padding: 2px 10px; }

  .figures {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    padding: 44px 20px;
  }
  .figure strong { font-size: 32px; }
  .figure span { font-size: 13px; }

  .pricing { padding: 80px 20px 24px; }
  .pricing-lede { font-size: 15px; }
  .plan-row { padding: 18px 2px; }
  .plan-price { font-size: 19px; }

  .closer { padding: 96px 20px 110px; }
  .closer p { font-size: 15px; padding: 0 4px; }
  .closer .btn {
    display: block;
    text-align: center;
    margin: 32px auto 0;
    max-width: 420px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 32px 20px 44px;
  }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 33px; }
  .actions .btn { font-size: 14px; }
  .figures { grid-template-columns: 1fr; }
}
