/* Styling for the marketing homepage. Standalone (not part of the app bundle),
   shares the Wares glass aesthetic with the blog/legal pages. Served at the
   site root in production; previewed at /preview/ during rollout. */
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('/fonts/Cinzel-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #fcfcfd;
  --surface: #f4f5f7;
  --border: #e3e6eb;
  --text: #1a1d24;
  --muted: #868d99;
  --accent: #14706b;
  --accent-dark: #0f5854;
  --accent-soft: #e4f0ee;
  --gold: #a8762a;
  --danger: #b4453a;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(160deg, #eaf0f1 0%, #f4ede2 50%, #e9f1ee 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 20px 60px;
}

/* Header */
header.site {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
header.site img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
header.site .brand {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
header.site nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
header.site nav a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
header.site nav a.cta-mini {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
}

/* Buttons */
.button {
  display: inline-block;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}
.button--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 112, 107, 0.28);
}
.button--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin: 18px 0 18px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
}
.hero h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p.sub {
  font-size: 19px;
  color: #45505f;
  margin: 0 0 24px;
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero .reassure {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Phone mockup */
.device {
  justify-self: center;
  width: 248px;
  background: #11151c;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(20, 35, 45, 0.28);
}
.device .screen {
  background: linear-gradient(170deg, #f7f9fa, #eef3f2);
  border-radius: 26px;
  overflow: hidden;
  padding: 16px 14px 18px;
}
.device .appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.device .appbar .title {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
}
.device .appbar .gear {
  color: var(--muted);
  font-size: 15px;
}
.device .mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 11px 13px;
  margin-bottom: 9px;
}
.device .stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding: 3px 0;
}
.device .stat .label {
  color: var(--muted);
}
.device .stat .v {
  font-weight: 800;
}
.device .stat .v.good {
  color: var(--accent);
}
.device .stat .v.bad {
  color: var(--danger);
}
.device .alert {
  background: #fdf4e3;
  color: #8a6212;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
}
.device .qbtns {
  display: flex;
  gap: 7px;
}
.device .qbtn {
  flex: 1;
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: 9px;
  padding: 8px 0;
  font-size: 11.5px;
  font-weight: 800;
}
.device .qbtn.alt {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 14px 0 40px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  text-align: center;
}
.trust span {
  font-weight: 800;
  font-size: 15px;
  color: #38424f;
}
.trust span b {
  color: var(--accent);
}

/* Section heads */
.section-head {
  text-align: center;
  margin: 46px 0 22px;
}
.section-head h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 28px;
  margin: 0 0 6px;
}
.section-head p {
  color: #45505f;
  font-size: 17px;
  margin: 0;
}

/* Benefit grid */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(28, 40, 60, 0.07);
  padding: 22px 22px 24px;
}
.benefit .glyph {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.benefit h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.benefit p {
  font-size: 15.5px;
  color: #45505f;
  margin: 0;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}
.plan {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(28, 40, 60, 0.08);
  padding: 24px 24px 26px;
}
.plan.pro {
  border: 2px solid var(--accent);
}
.plan .plan-name {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.plan .price {
  margin: 8px 0 2px;
}
.plan .price .amt {
  font-size: 34px;
  font-weight: 800;
}
.plan .price .strike {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}
.plan .price .once {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.plan li {
  font-size: 15px;
  padding: 6px 0 6px 24px;
  position: relative;
  color: #38424f;
}
.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.plan .note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
  box-shadow: 0 6px 22px rgba(28, 40, 60, 0.06);
}
.faq summary {
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 800;
}
.faq details[open] summary::after {
  content: '\2013';
}
.faq p {
  margin: 0 0 16px;
  color: #45505f;
  font-size: 16px;
}

/* Final CTA */
.final-cta {
  margin: 48px auto 0;
  max-width: 720px;
  text-align: center;
  background: var(--accent);
  border-radius: 22px;
  padding: 40px 28px;
  color: #fff;
}
.final-cta h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 28px;
  margin: 0 0 8px;
  color: #fff;
}
.final-cta p {
  color: #d7ebe8;
  font-size: 17px;
  margin: 0 0 22px;
}
.final-cta .button--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}
.final-cta .fine {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #b9ddd8;
}

footer.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
footer.site-footer nav {
  margin-bottom: 8px;
}
footer.site-footer a {
  margin: 0 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .actions {
    justify-content: center;
  }
  .device {
    order: -1;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
}
