:root {
  --orange: #e65100;
  --orange-deep: #ac1900;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #fff8f2;
  --white: #ffffff;
  --shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  z-index: 100;
}

.wrap {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
}

.wrap-wide {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 242, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    backdrop-filter: blur(12px);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 0.55rem;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 200ms var(--ease), background 200ms var(--ease),
    border-color 200ms var(--ease), color 200ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--small {
  padding: 0.58rem 1rem;
  font-size: 0.88rem;
}

.btn--primary {
  background: var(--orange);
  color: #fff !important;
}

.btn--primary:hover {
  background: var(--orange-deep);
  color: #fff !important;
}

.btn--ghost {
  background: #fff;
  color: var(--ink) !important;
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
}

.btn--ghost-on-dark {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: 2.75rem 0 0;
  background: linear-gradient(180deg, #fff1e4 0%, #fff8f2 55%, #f8fafc 100%);
}

.hero__copy {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  max-width: 36rem;
  justify-self: start;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  color: var(--orange);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.hero__lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 30rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.85rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  padding: 0 1.25rem 2.5rem;
}

.phone {
  position: relative;
  width: min(100%, 300px);
  border-radius: 2.1rem;
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
  border: 11px solid #111827;
}

.phone--hero {
  width: min(100%, 340px);
}

.phone img {
  width: 100%;
  height: auto;
}

.trust {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0.25rem 0 2.75rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

.trust p {
  margin: 0 auto;
  max-width: 42rem;
}

.features {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.features h2,
.showcase h2,
.split h2,
.download h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}

.feature-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  padding: 4rem 0 1.5rem;
  overflow: hidden;
  background: #fffaf5;
}

.showcase__intro {
  margin-bottom: 1.75rem;
}

.section-lede {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.showcase__rail {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  padding: 1rem 1.25rem 2.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot {
  margin: 0;
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: start;
}

.shot .phone {
  width: 100%;
  transition: transform 280ms var(--ease);
}

.shot:hover .phone {
  transform: translateY(-10px);
}

.shot figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-weight: 600;
  color: var(--ink-soft);
}

.split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  padding: 2.5rem 0 4.5rem;
}

.split__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.phone--tilt {
  margin: 0 auto;
  transform: rotate(-3.5deg);
}

.download {
  background: linear-gradient(135deg, #e65100 0%, #c2410c 50%, #9a3412 100%);
  color: #fff;
  padding: 4.25rem 0;
}

.download__inner {
  max-width: 40rem;
}

.download h2 {
  color: #fff;
}

.download p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.75rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.logo--footer {
  color: #fff;
  margin: 0 0 0.35rem;
}

.muted {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.copyright {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Legal pages */
body:not(.home) {
  background: #f8fafc;
}

body:not(.home) header {
  padding: 2.5rem 0 1rem;
}

body:not(.home) .brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body:not(.home) .brand a {
  color: inherit;
  text-decoration: none;
}

body:not(.home) .tag {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

body:not(.home) main {
  padding: 1rem 0 3rem;
}

body:not(.home) h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

body:not(.home) h2 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

body:not(.home) .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
  margin: 1rem 0;
}

body:not(.home) .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

body:not(.home) .links a {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

body:not(.home) footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

body:not(.home) .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .site-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    min-height: calc(100vh - 4.5rem);
    padding-top: 3.5rem;
  }

  .hero__copy {
    width: auto;
    margin: 0;
    padding: 0 0 4.5rem;
    justify-self: end;
    margin-left: max(1.25rem, calc((100vw - 1120px) / 2));
  }

  .hero__visual {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 max(1.25rem, calc((100vw - 1120px) / 2)) 0 0;
  }

  .phone--hero {
    width: min(100%, 390px);
    margin-bottom: -2rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
  }

  .showcase__rail {
    padding-left: max(1.25rem, calc((100vw - 1120px) / 2));
    padding-right: max(1.25rem, calc((100vw - 1120px) / 2));
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }

  .shot {
    width: 270px;
  }
}

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

  .btn,
  .shot .phone {
    transition: none;
  }
}
