@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
}

:root {
  --bg-canvas: #f6f0dd;
  --bg-cloud: #fcf9ee;
  --bg-deep: #26231e;
  --surface: #fffdf7;
  --surface-2: #f4ead0;
  --surface-3: #2f2b24;
  --text-strong: #242119;
  --text-body: #494230;
  --text-muted: #6b624e;
  --text-inverse: #f7f0db;
  --border: #dcc694;
  --border-soft: #e9dcbb;
  --accent: #e3b44c;
  --accent-2: #bf8f32;
  --accent-soft: #f4e5bf;
  --success: #2e9e64;
  --shadow-soft: 0 12px 34px rgba(34, 28, 17, 0.12);
  --shadow-strong: 0 28px 60px rgba(25, 21, 14, 0.24);
  --radius-sm: 0.75rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.7rem;
  --radius-xl: 2.2rem;
  --space-1: 0.3rem;
  --space-2: 0.55rem;
  --space-3: 0.85rem;
  --space-4: 1.15rem;
  --space-5: 1.6rem;
  --space-6: 2.2rem;
  --space-7: 3.1rem;
  --space-8: 4.4rem;
  --max-width: 73rem;
  --header-height: 4.35rem;
  --transition-fast: 170ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-medium: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-strong);
  background:
    radial-gradient(circle at 10% -5%, rgba(227, 180, 76, 0.35) 0%, rgba(227, 180, 76, 0) 45%),
    radial-gradient(circle at 92% 8%, rgba(58, 49, 34, 0.18) 0%, rgba(58, 49, 34, 0) 40%),
    linear-gradient(155deg, var(--bg-canvas), var(--bg-cloud));
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(85, 71, 44, 0.045) 0,
      rgba(85, 71, 44, 0.045) 2px,
      rgba(85, 71, 44, 0) 2px,
      rgba(85, 71, 44, 0) 18px
    );
  opacity: 0.4;
  z-index: 0;
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

a:hover {
  color: #9a6f17;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(227, 180, 76, 0.5);
  outline-offset: 2px;
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 247, 233, 0.82);
  border-bottom: 1px solid rgba(220, 198, 148, 0.65);
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.site-header.is-scrolled {
  background: rgba(252, 247, 233, 0.92);
  border-bottom-color: rgba(203, 172, 99, 0.9);
  box-shadow: 0 10px 22px rgba(45, 37, 24, 0.12);
}

.site-nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
}

.brand-logo {
  height: 2.05rem;
  width: auto;
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-strong);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}

.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--text-strong);
}

main {
  display: block;
}

section {
  padding-block: clamp(2.1rem, 6vw, 3.8rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.2rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  will-change: transform;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #2a2112;
  box-shadow: 0 10px 22px rgba(131, 93, 23, 0.32);
}

.button-primary:hover {
  color: #2a2112;
  box-shadow: 0 14px 28px rgba(131, 93, 23, 0.4);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-strong);
}

.button-secondary:hover {
  border-color: #c8a354;
}

.hero {
  padding-top: clamp(2.3rem, 6vw, 4.8rem);
  padding-bottom: clamp(1.6rem, 5vw, 3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.33rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 143, 50, 0.4);
  background: var(--accent-soft);
  color: #76531a;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.hero h1 {
  margin: var(--space-4) 0 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.15rem, 5.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin-top: var(--space-4);
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--text-body);
  max-width: 46ch;
}

.hero-actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.stat-row {
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.stat-row li {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
}

.stat-row strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: var(--space-1);
}

.stat-row span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.hero-showcase {
  position: relative;
}

.hero-orb {
  position: absolute;
  inset: 4% -12% auto auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 180, 76, 0.46) 0%, rgba(227, 180, 76, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-phone-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: var(--space-4);
  align-items: end;
}

.hero-frame {
  position: relative;
}

.hero-frame-primary {
  grid-row: 1 / span 2;
  transform: rotate(-3deg);
}

.hero-frame-offset {
  transform: translateY(-20%) rotate(4deg);
}

.hero-frame-secondary {
  transform: translateY(-8%) rotate(1.8deg);
}

.phone-frame {
  --frame-radius: 2.35rem;
  --frame-pad: 0.62rem;
  position: relative;
  border-radius: var(--frame-radius);
  padding: var(--frame-pad);
  background: linear-gradient(165deg, #5e5648 0%, #2f2b24 40%, #16130f 100%);
  border: 1px solid rgba(208, 185, 134, 0.35);
  outline: 2px solid rgba(21, 18, 13, 0.85);
  outline-offset: -2px;
  box-shadow:
    0 22px 44px rgba(26, 20, 12, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -12px 16px rgba(6, 5, 3, 0.54);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0a0907, #1f1b15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  z-index: 3;
}

.phone-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.19rem;
  transform: translateX(-50%);
  width: 24%;
  height: 0.13rem;
  border-radius: 999px;
  background: rgba(245, 236, 214, 0.72);
  z-index: 3;
}

.phone-hardware {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.phone-hardware::before,
.phone-hardware::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, #d7caad 0%, #6d624f 58%, #443a2c 100%);
}

.phone-hardware::before {
  left: 0.08rem;
  top: 39%;
  width: 0.18rem;
  height: 1.26rem;
}

.phone-hardware::after {
  right: 0.08rem;
  top: 33%;
  width: 0.18rem;
  height: 2.65rem;
}

.phone-frame img {
  width: 100%;
  border-radius: calc(var(--frame-radius) - 0.5rem);
  background: #000;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
}

.value-strip .section-heading {
  margin: 0;
}

.section-heading {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.95rem);
  line-height: 1.12;
}

.section-intro {
  margin-top: var(--space-3);
  color: var(--text-body);
  max-width: 66ch;
}

.value-grid {
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.value-grid li {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(165deg, #fffdf6, #f5ecd5);
  box-shadow: var(--shadow-soft);
  padding: var(--space-5);
  overflow: hidden;
}

.value-grid li::after {
  content: "";
  position: absolute;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  right: -0.9rem;
  top: -0.9rem;
  background: radial-gradient(circle, rgba(227, 180, 76, 0.38), rgba(227, 180, 76, 0));
}

.value-grid strong {
  display: block;
  font-size: 1.03rem;
  margin-bottom: var(--space-2);
}

.value-grid span {
  color: var(--text-muted);
}

.privacy-panel {
  margin-top: var(--space-6);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(130deg, rgba(255, 249, 234, 0.16), rgba(255, 249, 234, 0) 44%),
    linear-gradient(152deg, #2c281f, #191611);
  border: 1px solid rgba(227, 180, 76, 0.25);
  box-shadow: var(--shadow-strong);
  color: var(--text-inverse);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  padding: clamp(1.3rem, 4vw, 2.2rem);
}

.privacy-panel h3 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.privacy-panel p,
.privacy-panel li {
  color: rgba(247, 240, 219, 0.92);
}

.privacy-panel a {
  color: #f4ca73;
}

.privacy-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: var(--space-2);
}

.pricing-grid {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.plan-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(167deg, #fffef9, #f4ecd6);
  box-shadow: var(--shadow-soft);
  padding: var(--space-5);
}

.plan-card h3 {
  margin: 0 0 var(--space-3);
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.45rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-body);
  display: grid;
  gap: var(--space-2);
}

.plan-card-pro {
  background:
    linear-gradient(145deg, rgba(227, 180, 76, 0.28), rgba(227, 180, 76, 0) 35%),
    linear-gradient(170deg, #332d22, #26211a 56%, #1d1812);
  border-color: rgba(227, 180, 76, 0.55);
  color: var(--text-inverse);
}

.plan-card-pro ul,
.plan-card-pro h3 {
  color: var(--text-inverse);
}

.plan-logo {
  width: min(8.8rem, 52%);
  margin-bottom: var(--space-3);
  border-radius: 1.2rem;
  box-shadow: 0 12px 28px rgba(28, 20, 10, 0.27);
}

.cta-band {
  margin-top: var(--space-7);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    linear-gradient(145deg, rgba(227, 180, 76, 0.24), rgba(227, 180, 76, 0) 43%),
    linear-gradient(126deg, #322d23, #1f1a14 72%);
  border: 1px solid rgba(227, 180, 76, 0.45);
  box-shadow: var(--shadow-strong);
  color: var(--text-inverse);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.2;
}

.cta-band p {
  margin: var(--space-3) 0 0;
  color: rgba(247, 240, 219, 0.9);
}

.page-hero {
  padding-top: clamp(2.3rem, 7vw, 4.3rem);
  padding-bottom: clamp(1.25rem, 3.5vw, 2rem);
}

.page-hero h1 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
}

.page-hero p {
  margin-top: var(--space-3);
  color: var(--text-body);
  max-width: 64ch;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: #76531a;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.3rem 0.72rem;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(170deg, #fffef9, #f8f0dc);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 3vw, 1.7rem);
}

.card h2,
.card h3 {
  margin-top: 0;
  font-family: "Fraunces", "Times New Roman", serif;
}

.card p,
.card li {
  color: var(--text-body);
}

.card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: var(--space-2);
}

.single-block {
  max-width: 56rem;
}

.single-block h2:not(:first-child) {
  margin-top: var(--space-5);
}

.site-footer {
  margin-top: clamp(2.2rem, 7vw, 4.8rem);
  border-top: 1px solid rgba(196, 167, 99, 0.72);
  background: rgba(248, 240, 220, 0.62);
}

.footer-grid {
  padding-block: var(--space-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: end;
}

.footer-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: flex-end;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][data-reveal-delay="1"] {
  transition-delay: 90ms;
}

[data-reveal][data-reveal-delay="2"] {
  transition-delay: 170ms;
}

[data-reveal][data-reveal-delay="3"] {
  transition-delay: 250ms;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 64rem) {
  .hero-grid,
  .privacy-panel,
  .pricing-grid,
  .cta-band,
  .footer-grid,
  .value-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-frame-primary {
    grid-row: auto;
    transform: none;
  }

  .hero-frame-offset,
  .hero-frame-secondary {
    transform: none;
  }

  .hero-phone-strip {
    grid-template-columns: repeat(3, minmax(10.5rem, 1fr));
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scroll-snap-type: x mandatory;
  }

  .hero-frame {
    scroll-snap-align: start;
  }

  .cta-band {
    justify-items: start;
  }
}

@media (max-width: 48rem) {
  .nav-toggle {
    display: none;
  }

  body.has-nav-toggle .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-wrap: wrap;
    padding-block: var(--space-3);
  }

  nav {
    width: 100%;
  }

  .nav-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  body.has-nav-toggle .nav-menu {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    transition: max-height var(--transition-medium), padding-top var(--transition-medium);
  }

  body.has-nav-toggle .nav-menu.is-open {
    max-height: 15rem;
    padding-top: var(--space-3);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
