@font-face {
  font-family: "Large9 Normal";
  src: url("./large9-normal.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #060606;
  --bg-soft: #111111;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f1efe8;
  --muted: #b8b2a7;
  --steel: #d6d6d2;
  --creel-green: #42553a;
  --creel-cream: #efe7da;
  --creel-rust: #b65436;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(214, 214, 210, 0.12), transparent 28%),
    linear-gradient(180deg, #101010 0%, var(--bg) 36%, #090909 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar,
.hero-content,
.feature-card,
.section-heading,
.app-grid {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 30px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  transform: translateY(-3px);
}

.brand-mark span {
  font-family: "Large9 Normal", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.48rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: 0.12em;
  transform: translateY(1px);
}

.nav-links {
  display: inline-flex;
  gap: 20px;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.brand-mark:hover,
.brand-mark:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-bottom: 34px;
}

.hero-content {
  min-height: calc(100vh - 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 18px;
}

.hero-copy,
.feature-card,
.app-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.panel-label,
.eyebrow,
.app-index {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-label,
.eyebrow {
  color: var(--steel);
  font-size: 0.76rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(239, 231, 218, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--steel);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(239, 231, 218, 0.28);
}

.section-heading h2,
.feature-copy h3,
.app-card h3,
.hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-copy h1 {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.hero-divider {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 0 0 8px;
}

.hero-divider-line {
  width: min(240px, 36vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(239, 231, 218, 0),
    rgba(239, 231, 218, 0.32),
    rgba(239, 231, 218, 0)
  );
}

.hero-divider-wedge {
  width: 22px;
  height: 22px;
  border-right: 1px solid rgba(239, 231, 218, 0.28);
  border-bottom: 1px solid rgba(239, 231, 218, 0.28);
  transform: rotate(45deg);
  background: linear-gradient(
    135deg,
    rgba(239, 231, 218, 0.01),
    rgba(239, 231, 218, 0.04)
  );
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  animation: hero-wedge-breathe 2.8s ease-in-out infinite;
}

.lede,
.section-copy,
.feature-copy p,
.app-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.hero-copy .lede {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.7;
  text-wrap: balance;
}

.hero-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.button {
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--creel-cream);
  color: #171717;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.store-badge {
  display: inline-block;
  width: 162px;
  height: 48px;
  overflow: hidden;
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
}

.store-badge-android {
  background-image: url("./google-play-badge.svg");
}

.store-badge-ios {
  background-image: url("./app-store-badge.svg");
}

.store-badge.is-disabled {
  opacity: 0.55;
  filter: grayscale(1);
  cursor: default;
}

.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;
}

.section {
  padding-top: 34px;
}

.apps-reveal {
  opacity: 0;
  transform: translateY(48px);
  pointer-events: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.apps-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading .eyebrow {
  margin: 0 0 10px;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(66, 85, 58, 0.22), rgba(182, 84, 54, 0.08));
}

.feature-card + .feature-card {
  margin-top: 20px;
}

.feature-card-frequency {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(26, 93, 208, 0.26), rgba(18, 34, 84, 0.3));
}

.feature-visual {
  display: grid;
  place-items: center;
}

.app-icon {
  width: min(100%, 220px);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 100%),
    var(--panel);
}

.app-index {
  display: inline-block;
  color: var(--creel-rust);
  font-size: 0.78rem;
}

.app-card h3 {
  margin: 20px 0 12px;
  font-size: 1.5rem;
}

.site-footer {
  padding: 72px 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-link {
  display: inline-flex;
  color: var(--creel-cream);
}

.footer-separator {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(239, 231, 218, 0.55);
  align-self: center;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #ffffff;
}

.support-hero {
  padding-bottom: 0;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.support-copy,
.support-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: 30px;
}

.support-copy {
  padding: 46px;
}

.support-card {
  padding: 30px;
}

.support-card h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 0.92rem;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(239, 231, 218, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.support-form input:focus,
.support-form textarea:focus {
  outline: 1px solid rgba(239, 231, 218, 0.35);
  border-color: rgba(239, 231, 218, 0.35);
}

.support-form textarea {
  resize: vertical;
  min-height: 150px;
}

.support-form .button {
  margin-top: 6px;
}

.privacy-hero {
  padding-bottom: 18px;
}

.privacy-intro {
  max-width: 860px;
}

.terms-intro {
  max-width: 1120px;
  padding-top: 0;
}

.terms-intro h1 {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.terms-intro .lede {
  max-width: 48ch;
}

.privacy-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: 30px;
}

.privacy-card-inner {
  display: grid;
  gap: 30px;
  padding: 34px;
}

.privacy-meta {
  margin: 0;
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-section {
  display: grid;
  gap: 12px;
}

.privacy-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.privacy-callout {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--creel-rust);
  color: var(--text);
}

.privacy-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.privacy-list li,
.privacy-section p {
  line-height: 1.7;
}

.privacy-inline-link {
  color: var(--creel-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-inline-link:hover,
.privacy-inline-link:focus-visible {
  color: #ffffff;
}

.app-page-shell {
  width: min(1220px, calc(100% - 32px));
}

.app-hero {
  display: grid;
  gap: 20px;
}

.app-hero-card,
.app-story,
.app-gallery,
.app-disclaimer {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: 30px;
}

.app-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(35, 149, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 100%),
    linear-gradient(135deg, rgba(18, 40, 104, 0.92), rgba(9, 18, 47, 0.96));
}

.app-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.app-brand img {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.app-brand-text h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.app-brand-text p {
  margin: 8px 0 0;
  color: rgba(241, 239, 232, 0.8);
}

.app-hero-copy .lede {
  max-width: 62ch;
  color: rgba(241, 239, 232, 0.86);
}

.store-links-app-page {
  margin-top: 6px;
}

.app-hero-visual {
  display: grid;
  place-items: center;
}

.app-hero-visual img {
  width: min(100%, 420px);
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.app-story {
  padding: 30px;
}

.app-story p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.app-story p + p {
  margin-top: 18px;
}

.app-story-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.app-story-list li {
  line-height: 1.7;
}

.app-section-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.app-gallery {
  padding: 30px;
  margin-top: 20px;
}

.app-carousel {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.app-carousel-viewport {
  overflow: hidden;
  width: min(100%, 920px);
}

.app-carousel-track {
  position: relative;
  min-height: 1px;
}

.app-carousel-slide {
  display: none;
}

.app-carousel-slide.is-active {
  display: block;
}

.app-gallery-card {
  padding: 18px;
  width: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-gallery-card img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 18px;
}

.app-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.app-carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(239, 231, 218, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--creel-cream);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.app-carousel-arrow:hover,
.app-carousel-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 231, 218, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.app-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.app-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(239, 231, 218, 0.3);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.app-carousel-dot:hover,
.app-carousel-dot:focus-visible {
  transform: scale(1.08);
}

.app-carousel-dot.is-active {
  background: var(--creel-cream);
}

.app-disclaimer {
  padding: 24px 28px;
  border-color: rgba(182, 84, 54, 0.34);
  background:
    linear-gradient(180deg, rgba(182, 84, 54, 0.16), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.app-disclaimer-label {
  margin: 0 0 10px;
  color: #ffd7cc;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.app-disclaimer p {
  margin: 0;
  color: #f3ddd7;
  line-height: 1.7;
  text-align: center;
}

.app-disclaimer-link {
  color: #fff1eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-disclaimer-link:hover,
.app-disclaimer-link:focus-visible {
  color: #ffffff;
}

@keyframes hero-wedge-breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: rotate(45deg) translateY(0) scale(1);
  }

  50% {
    opacity: 1;
    transform: rotate(45deg) translateY(6px) scale(1.08);
  }
}

@media (max-width: 960px) {
  .feature-card,
  .app-grid,
  .support-layout,
  .app-hero-card {
    grid-template-columns: 1fr;
  }
  .support-layout {
    gap: 22px;
  }

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

  .privacy-card-inner {
    padding: 28px;
  }

  .hero-copy h1 {
    max-width: 9.8ch;
  }

  .feature-visual img {
    width: min(100%, 200px);
  }

  .app-hero-visual {
    order: -1;
  }

  .app-hero-visual img {
    width: min(100%, 360px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .topbar {
    padding-bottom: 18px;
  }

  .hero-copy,
  .support-copy,
  .feature-card,
  .app-card,
  .support-card,
  .privacy-card-inner,
  .app-hero-card,
  .app-story,
  .app-gallery,
  .app-disclaimer {
    padding: 22px;
  }

  .hero-content {
    min-height: calc(100vh - 96px);
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .hero-copy .lede,
  .support-copy .lede,
  .feature-copy p {
    font-size: 0.98rem;
  }

  .brand-mark {
    gap: 14px;
    font-size: 0.92rem;
  }

  .brand-mark img {
    width: 58px;
    height: 58px;
    transform: translateY(-2px);
  }

  .hero-kicker {
    padding: 9px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-kicker::before,
  .hero-kicker::after {
    width: 12px;
  }

  .hero-actions,
  .store-links {
    gap: 12px;
  }

  .feature-card {
    gap: 24px;
  }

  .feature-copy h3,
  .support-card h2 {
    margin-bottom: 10px;
  }

  .support-form {
    gap: 14px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .button {
    width: 100%;
  }

  .store-badge {
    width: min(100%, 152px);
    height: 45px;
  }

  .app-brand {
    align-items: flex-start;
  }

  .app-brand img {
    width: 76px;
    height: 76px;
  }

  .app-brand-text h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 16px, 1160px);
  }

  .hero-copy,
  .support-copy,
  .feature-card,
  .support-card,
  .privacy-card-inner,
  .app-hero-card,
  .app-story,
  .app-gallery,
  .app-disclaimer {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .section-heading h2,
  .feature-copy h3,
  .support-card h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .feature-visual img {
    width: min(100%, 190px);
  }

  .app-brand {
    gap: 14px;
  }

  .app-brand img {
    width: 64px;
    height: 64px;
  }

  .site-footer {
    padding-top: 48px;
    font-size: 0.84rem;
  }
}
