:root {
  --color-paper: #f4f1ee;
  --color-surface: #fffdfb;
  --color-ink: #17343d;
  --color-muted: #657178;
  --color-petrol: #264653;
  --color-purple: #4b2e83;
  --color-sage: #8daa9d;
  --color-sage-light: #dce8e2;
  --color-gold: #d8a72f;
  --color-gold-light: #f3dfaa;
  --color-border: #ded8d1;
  --shadow-soft: 0 18px 45px rgba(38, 70, 83, 0.14);
  --shadow-phone: 0 24px 70px rgba(23, 52, 61, 0.22);
  --radius-card: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-purple);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-petrol);
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--color-ink);
  color: #ffffff;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(38, 70, 83, 0.1);
  background: rgba(244, 241, 238, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  color: var(--color-purple);
  font-size: 1.45rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0.35rem;
}

.site-nav a {
  border-radius: 6px;
  color: var(--color-ink);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(141, 170, 157, 0.22);
  color: var(--color-purple);
}

.section {
  padding: 4.5rem 0;
}

.section-band {
  background: var(--color-paper);
}

.soft-band {
  background: #fffaf1;
}

.hero {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 640px;
}

.hero-logo {
  width: 128px;
  height: 128px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--color-purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  color: var(--color-purple);
  font-size: 4.25rem;
  font-weight: 900;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 620px;
  color: var(--color-petrol);
  font-size: 1.3rem;
  line-height: 1.55;
}

.hero-note {
  max-width: 560px;
  margin: 1.25rem 0 0;
  color: var(--color-muted);
}

.hero-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  padding: 0.85rem 1.1rem;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--color-purple);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(75, 46, 131, 0.22);
}

.button-primary:hover {
  background: #3f2571;
  color: #ffffff;
}

.button-secondary {
  border-color: rgba(38, 70, 83, 0.28);
  background: rgba(255, 253, 251, 0.68);
  color: var(--color-petrol);
}

.button-secondary:hover {
  border-color: var(--color-sage);
  color: var(--color-purple);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.phone-mockup {
  margin: 0;
}

.phone-mockup img,
.gallery-phone img {
  width: 100%;
  border: 10px solid #151515;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow-phone);
}

.phone-main {
  width: min(72vw, 330px);
  margin-inline: auto;
  transform: rotate(-2deg);
}

.phone-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(50vw, 230px);
  transform: rotate(4deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 0;
}

.intro-section {
  background: var(--color-surface);
  padding: 3.5rem 0;
}

.intro-grid {
  display: grid;
  gap: 1.5rem;
}

.intro-copy p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

h2 {
  font-size: 2.35rem;
}

.section-heading p:not(.eyebrow),
.privacy-grid p,
.safety-content p,
.cta-content p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.steps-grid {
  display: grid;
  gap: 1rem;
}

.step-card,
.feature-list article,
.assurance-panel,
.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.step-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.step-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-gold-light);
  color: #5a4105;
  font-weight: 900;
}

.phone-card {
  justify-self: center;
  width: min(74vw, 235px);
}

.phone-card img {
  border-width: 8px;
  border-radius: 28px;
}

.step-card h3,
.feature-list h3,
.assurance-panel h3 {
  font-size: 1.2rem;
}

.step-card p,
.feature-list p,
.assurance-panel li,
.faq-list p {
  color: var(--color-muted);
}

.split-layout {
  display: grid;
  gap: 2rem;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
}

.feature-list article {
  padding: 1.1rem;
}

.feature-list h3 {
  margin-bottom: 0.45rem;
}

.feature-list p {
  margin: 0;
}

.feature-screens {
  display: grid;
  gap: 1rem;
  margin-top: 2.8rem;
}

.gallery-phone {
  margin: 0;
}

.gallery-phone img {
  border-width: 8px;
  border-radius: 28px;
}

figcaption {
  margin-top: 0.75rem;
  color: var(--color-petrol);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.privacy-section {
  background: var(--color-petrol);
  color: #ffffff;
}

.privacy-grid {
  display: grid;
  gap: 1.5rem;
}

.privacy-section .eyebrow,
.privacy-section h2,
.privacy-section p,
.privacy-section a {
  color: #ffffff;
}

.privacy-section .inline-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

.privacy-section .inline-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.privacy-highlight {
  border: 1px solid rgba(243, 223, 170, 0.5);
  border-left: 5px solid var(--color-gold);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 251, 0.1);
  margin-top: 1.5rem;
  padding: 1.15rem;
}

.privacy-highlight h3 {
  color: #ffffff;
  font-size: 1.3rem;
}

.privacy-highlight p {
  margin: 0.7rem 0 0;
}

.assurance-panel {
  background: rgba(255, 253, 251, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  padding: 1.2rem;
}

.assurance-panel h3,
.assurance-panel li {
  color: #ffffff;
}

.assurance-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.safety-band {
  background: #2e263b;
  color: #ffffff;
}

.safety-content {
  max-width: 820px;
}

.safety-band .eyebrow,
.safety-band h2,
.safety-band p {
  color: #ffffff;
}

.demo-video-card {
  max-width: 460px;
  margin: 0 auto;
}

.demo-video-frame {
  aspect-ratio: 9 / 16;
  border: 10px solid #151515;
  border-radius: 34px;
  background: #101417;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.demo-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: #101417;
  object-fit: contain;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--color-petrol);
  font-weight: 850;
}

.faq-list summary::marker {
  color: var(--color-gold);
}

.faq-list p {
  margin-bottom: 0;
}

.cta-band {
  background: var(--color-gold-light);
}

.cta-content {
  max-width: 760px;
}

.site-footer {
  background: #171f24;
  color: #d9e2e2;
  padding: 2.5rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.3rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer-grid p {
  max-width: 460px;
  color: #b8c6c7;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.6rem;
  padding-top: 1rem;
  color: #b8c6c7;
  font-size: 0.92rem;
}

.legal .site-main {
  width: min(100% - 2rem, 900px);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.legal .site-main h1 {
  color: var(--color-purple);
  font-size: 2.7rem;
}

.legal .site-main h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal .site-main p,
.legal .site-main li {
  color: #4f5c62;
}

.legal .site-main > p:first-of-type {
  color: var(--color-petrol);
  font-size: 1.08rem;
}

.legal .site-main ul,
.legal .site-main ol {
  padding-left: 1.25rem;
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding-left: 0;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .hero-visual {
    min-height: 455px;
  }

  .phone-secondary {
    right: 0.25rem;
  }
}

@media (min-width: 680px) {
  .steps-grid,
  .feature-screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-screens {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (min-width: 900px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
    gap: 3rem;
  }

  .hero-visual {
    min-height: 650px;
  }

  .phone-main {
    width: 360px;
  }

  .phone-secondary {
    right: 2rem;
    width: 250px;
  }

  .split-layout,
  .intro-grid,
  .privacy-grid,
  .footer-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .privacy-grid {
    align-items: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: end;
    min-width: 440px;
  }
}

@media (min-width: 1120px) {
  .phone-main {
    width: 390px;
  }

  .phone-secondary {
    width: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
