/* Shared visual system for every public page. Page-specific layouts remain separate. */
:root {
  color-scheme: dark;
  --site-bg: #101917;
  --site-panel: #1d3027;
  --site-text: #eef4ed;
  --site-muted: #a8bab1;
  --site-gold: #edc565;
  --site-line: #ffffff18;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Arial, Helvetica, sans-serif;
  --navy: var(--site-bg);
  --black: var(--site-bg);
  --deep: #15231c;
  --card: var(--site-panel);
  --card-hi: #263d30;
  --blue: #bed59f;
  --cyan: #d7c58d;
  --teal: #87b498;
  --green: #bed59f;
  --green-dark: #96b17d;
  --green-soft: #bed59f14;
  --lime: #edc565;
  --purple: #b8a1da;
  --text: var(--site-text);
  --text-dim: var(--site-muted);
  --text-bright: #f5f7f2;
  --glow: 0 0 40px #bed59f12;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--font-body);
  width: 100%;
  margin: 0;
}
a,
button,
input,
textarea,
summary,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--site-gold);
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
.site-skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--site-gold);
  color: #14251c;
  padding: 12px 20px;
  z-index: 9999;
}
.site-skip:focus {
  top: 12px;
}
/* Explicit names keep the shell independent of legacy page nav/footer selectors. */
body .site-header {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  z-index: 10;
  background: var(--site-bg);
  border: 0;
  border-bottom: 1px solid var(--site-line);
  padding: 0;
  margin: 0;
  backdrop-filter: none;
}
.site-bar {
  max-width: 1220px;
  padding: 0 40px;
  margin: auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
body .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font:
    800 25px Arial,
    Helvetica,
    sans-serif;
  color: var(--site-text);
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.brand-period {
  color: var(--site-gold);
}
body .site-nav {
  display: flex;
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  min-height: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  margin: 0;
  gap: 30px;
  align-items: center;
}
body .site-nav a {
  color: var(--site-text);
  font:
    600 14px Arial,
    Helvetica,
    sans-serif;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
}
body .site-nav a:hover {
  color: var(--site-gold);
}
body .site-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--site-gold);
  color: #182c25;
  border: 0;
  border-radius: 8px;
  padding: 15px 21px;
  font:
    600 14px Arial,
    Helvetica,
    sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
body .site-action:hover {
  background: #f5d68d;
}
body .site-footer {
  background: var(--site-bg);
  color: var(--site-text);
  border: 0;
  border-top: 1px solid var(--site-line);
  padding: 48px 40px 24px;
  text-align: start;
  margin: 0;
  position: relative;
}
.site-footer-grid {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 35px;
}
body .site-footer h2 {
  font:
    700 10px Arial,
    Helvetica,
    sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--site-text);
  border: 0;
  padding: 0;
  margin: 6px 0 20px;
  text-align: start;
  background: none;
  -webkit-text-fill-color: var(--site-text);
}
body .site-footer p {
  font:
    13px/1.7 Arial,
    Helvetica,
    sans-serif;
  color: var(--site-muted);
  margin: 16px 0;
  max-width: 240px;
}
body .site-footer a:not(.site-brand) {
  display: block;
  font:
    13px/1.6 Arial,
    Helvetica,
    sans-serif;
  color: var(--site-muted);
  text-decoration: none;
  margin: 11px 0;
}
body .site-footer a:hover {
  color: var(--site-gold);
}
.site-footer-bottom {
  max-width: 1140px;
  margin: 35px auto 0;
  border-top: 1px solid var(--site-line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font:
    11px/1.6 Arial,
    Helvetica,
    sans-serif;
  color: var(--site-muted);
}
/* Homepage: a product canvas rather than a device-specific illustration. */
.home-page .hero {
  padding-top: 75px;
  padding-bottom: 85px;
}
.home-page .product-canvas {
  position: relative;
  background: radial-gradient(ellipse at top right, #354936, #18291f 70%);
  border: 1px solid #c1d5b820;
  border-radius: 22px;
  min-width: 0;
  height: 445px;
  padding: 22px;
  isolation: isolate;
}
.canvas-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #a8bab1;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.canvas-dots {
  letter-spacing: 4px;
  color: #899d7b;
}
.canvas-note {
  position: absolute;
  top: 62px;
  left: 28px;
  right: 56px;
  background: #292536;
  border: 1px solid #cab8e529;
  border-radius: 15px;
  padding: 22px;
  transform: rotate(-3deg);
  box-shadow: 0 15px 35px #0003;
}
.canvas-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.canvas-label img {
  border-radius: 9px;
}
.canvas-wave {
  font-size: 29px;
  letter-spacing: 1px;
  color: #c7b4e4;
  white-space: nowrap;
  overflow: hidden;
  margin: 15px 0 8px;
}
.canvas-note p {
  font-size: 12px;
  color: #d0c7da;
  margin: 0 0 12px;
}
.canvas-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.canvas-tags span {
  font-size: 9px;
  border: 1px solid #ffffff20;
  border-radius: 5px;
  padding: 6px 8px;
}
.canvas-place {
  position: absolute;
  top: 240px;
  right: 20px;
  width: 68%;
  background: #263e30;
  border: 1px solid #bed59f29;
  border-radius: 15px;
  transform: rotate(4deg);
  padding: 18px;
  box-shadow: 0 15px 30px #0004;
}
.canvas-place .map {
  height: 68px;
  margin-top: 12px;
}
.canvas-place .pin {
  top: 17px;
  left: 55%;
}
.canvas-place-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 12px;
  color: #c4d2c6;
}
.canvas-stamp {
  position: absolute;
  bottom: 20px;
  left: -12px;
  background: var(--site-gold);
  color: #182c25;
  padding: 12px 18px;
  transform: rotate(-6deg);
  font:
    italic 18px Georgia,
    serif;
  border-radius: 8px;
  box-shadow: 0 5px 12px #0003;
}
.canvas-caption {
  position: absolute;
  bottom: -24px;
  right: 5px;
  font-size: 9px;
  color: var(--site-muted);
}
/* Product pages retain their explanatory layouts, using the site's palette. */
.product-page h1,
.product-page h2,
.product-page h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.035em;
}
.product-page .hero {
  padding-top: 65px;
}
.product-page .hero-bg .orb {
  opacity: 0.12;
}
.product-page .hero-grid {
  opacity: 0.15;
}
.product-page .highlight {
  background: none !important;
  color: #bed59f !important;
  -webkit-text-fill-color: #bed59f !important;
}
.product-page .cta-btn {
  background: var(--site-gold);
  color: #182c25;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--font-body);
}
.product-page .cta-btn:hover {
  background: #f5d68d;
  color: #182c25;
  box-shadow: 0 8px 20px #0002;
}
.product-page .phone-screen {
  background: linear-gradient(180deg, #233c2e, #17271e);
}
.product-page .phone-frame {
  border-color: #496456;
}
.product-page .feat-card,
.product-page .pain-card,
.product-page .faq-item,
.product-page .feature-card {
  border-radius: 16px;
  border-color: var(--site-line);
}
.product-page .feat-tags span {
  border-color: #ffffff20;
}
.product-page .badge {
  letter-spacing: 0.6px;
}
.product-page .badge-green,
.product-page .badge-blue {
  background: #bed59f12;
  border-color: #bed59f30;
  color: #bed59f;
}
.product-page .faq-q[role="button"] {
  cursor: pointer;
}
.product-page .reveal {
  opacity: 1;
  transform: none;
}
.product-page .section-title {
  font-size: clamp(30px, 3.5vw, 44px);
}
.product-page .final-cta {
  background: var(--deep);
}
/* Policy text and dates are unchanged; only presentation is shared. */
.legal-page > .site-header {
  margin-bottom: 0;
}
.legal-page #page-content > .container {
  max-width: 980px;
  padding: 65px 32px;
}
.legal-page .content {
  background: #192820;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  padding: 45px 50px;
  box-shadow: none;
  backdrop-filter: none;
}
.legal-page h1 {
  font:
    600 clamp(30px, 4vw, 44px) / 1.15 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -1.4px;
  text-align: start;
  margin-bottom: 25px;
}
.legal-page h2 {
  font:
    600 24px/1.3 Arial,
    Helvetica,
    sans-serif;
  margin: 36px 0 16px;
  padding-top: 26px;
  border-color: var(--site-line);
}
.legal-page p,
.legal-page li {
  color: #c6d2c9;
  line-height: 1.85;
}
.legal-page .meta {
  text-align: start;
  color: var(--site-muted);
}
.legal-page .content a {
  color: var(--site-gold);
  overflow-wrap: anywhere;
}
.legal-page .back-link {
  border-color: var(--site-line);
}
.legal-page .back-link a {
  background: #edc56518;
}
.legal-page strong {
  color: var(--site-text);
}
/* The guide has a full-width shell and a readable constrained content area. */
body.help-page {
  max-width: none;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}
body.help-page::before {
  display: none;
}
.guide-shell {
  max-width: 1140px;
  margin: auto;
  padding: 60px 24px;
}
.help-page .toc-card {
  background: #192820;
}
.help-page .help-intro-card {
  background: #bed59f08;
  border-color: var(--site-line);
}
.help-page .privacy-item {
  background: #192820;
}
.help-page .help-section-img img {
  border-radius: 16px;
}
.help-page .help-toc {
  top: 24px;
}
@media (max-width: 900px) {
  .site-bar {
    padding: 0 24px;
    gap: 20px;
  }
  .site-nav {
    gap: 20px !important;
  }
  .site-action {
    font-size: 12px !important;
    padding: 13px 16px !important;
  }
  .site-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .site-footer-grid > div:last-child {
    grid-column: 2/4;
  }
  .home-page .product-canvas {
    height: 415px;
    padding: 16px;
  }
  .canvas-note {
    left: 14px;
    right: 22px;
    padding: 17px;
  }
  .canvas-place {
    right: 8px;
    width: 82%;
    top: 235px;
  }
  .canvas-stamp {
    font-size: 15px;
  }
  .home-page .hero {
    gap: 30px;
  }
}
@media (max-width: 650px) {
  .site-bar {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 16px 24px;
    min-height: 0;
  }
  .site-brand {
    font-size: 23px !important;
  }
  .site-brand img {
    width: 38px;
    height: 38px;
  }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    gap: 30px !important;
    border-top: 1px solid var(--site-line) !important;
    padding-top: 8px !important;
  }
  .site-nav a {
    font-size: 13px !important;
  }
  .site-action {
    margin-inline-start: auto;
    font-size: 11px !important;
    gap: 10px !important;
  }
  .site-footer {
    padding: 35px 24px 24px !important;
  }
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .site-footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer-grid > div:last-child {
    grid-column: auto;
  }
  .site-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .home-page .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    gap: 40px;
  }
  .home-page .hero h1 {
    font-size: clamp(48px, 11vw, 65px);
  }
  .home-page .product-canvas {
    width: 100%;
    max-width: 420px;
    margin: auto;
    height: 425px;
  }
  .canvas-note {
    left: 22px;
    right: 40px;
  }
  .canvas-place {
    width: 74%;
    right: 16px;
  }
  .canvas-heading {
    font-size: 9px;
  }
  .legal-page #page-content > .container {
    padding: 30px 16px;
  }
  .legal-page .content {
    padding: 28px 22px;
  }
  .legal-page h2 {
    font-size: 22px;
  }
  .legal-page p,
  .legal-page li {
    font-size: 15px;
  }
  .product-page .hero {
    padding-top: 40px;
  }
  .guide-shell {
    padding: 35px 18px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
