:root {
  --bg: #f7f0e3;
  --bg-soft: #fcf9f3;
  --surface: rgba(255, 250, 243, 0.78);
  --surface-strong: rgba(255, 248, 239, 0.94);
  --line: rgba(66, 39, 24, 0.12);
  --text: #20140f;
  --muted: #6f5447;
  --primary: #7a241c;
  --primary-strong: #5c1711;
  --accent: #c68f4a;
  --accent-soft: #efd4b0;
  --teal: #235d61;
  --teal-soft: #dff1ef;
  --shadow: 0 24px 60px rgba(79, 39, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 143, 74, 0.2), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(122, 36, 28, 0.14), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(35, 93, 97, 0.12), transparent 30%),
    linear-gradient(180deg, #f2ead9 0%, #fbf6ec 42%, #f7efdf 100%);
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.site-header,
.site-footer,
.hero,
.section,
.inner-main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 248, 241, 0.78);
  color: var(--primary);
  transform: translateY(-1px);
}

.section {
  padding: 34px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 44px;
}

.hero-copy h1,
.inner-hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.lead,
.hero-copy .lead {
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions,
.cta-actions,
.hero-meta,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-meta {
  margin-top: 18px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(92, 23, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.74);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8d3128 100%);
  color: #fff7f1;
  box-shadow: 0 16px 32px rgba(122, 36, 28, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(122, 36, 28, 0.28);
}

.btn-secondary,
.btn-card {
  background: rgba(255, 250, 243, 0.72);
  border-color: rgba(92, 23, 17, 0.1);
  color: var(--text);
}

.btn-card {
  width: 100%;
}

.btn.is-disabled {
  pointer-events: none;
  opacity: 0.54;
}

.hero-panel,
.section-band,
.cta-panel,
.content-card,
.store-card,
.reason-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 18px;
  overflow: hidden;
}

.device-frame {
  position: relative;
  min-height: 620px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(122, 36, 28, 0.2), rgba(35, 93, 97, 0.08)),
    linear-gradient(180deg, rgba(255, 252, 248, 0.82), rgba(251, 243, 233, 0.88));
  overflow: hidden;
}

.device-glow {
  position: absolute;
  inset: -12% 18% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 212, 176, 0.88), transparent 68%);
  filter: blur(6px);
}

.device-screen {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.screen-card,
.feature-tile {
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.84);
  border: 1px solid rgba(92, 23, 17, 0.08);
}

.screen-card {
  padding: 22px 22px 24px;
}

.screen-card h2 {
  margin: 8px 0 10px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.screen-card p,
.feature-tile p,
.section-heading p,
.content-card p,
.reason-card p,
.store-card p,
.cta-panel p,
.footer-brand p,
.footer-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.screen-label,
.feature-kicker {
  display: inline-block;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-tile {
  padding: 18px;
}

.feature-tile strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 1rem;
}

.section-band {
  padding: 28px;
}

.home-download-band {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 246, 236, 0.84)),
    rgba(255, 250, 243, 0.78);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.section-heading p {
  margin-top: 12px;
}

.store-grid,
.reason-grid,
.content-grid {
  display: grid;
  gap: 18px;
}

.store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.store-card,
.reason-card,
.content-card {
  padding: 24px;
}

.store-card h3,
.reason-card h3,
.content-card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
}

.home-card-tag,
.home-panel-kicker,
.about-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(122, 36, 28, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-card-tag-accent,
.about-kicker-accent {
  background: rgba(198, 143, 74, 0.16);
  color: #8a5b1f;
}

.home-card-tag-android,
.home-card-tag-teal,
.about-kicker-teal {
  background: rgba(35, 93, 97, 0.12);
  color: var(--teal);
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 36px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-icon-ios {
  background: rgba(35, 93, 97, 0.12);
  color: var(--teal);
}

.store-icon-android {
  background: rgba(198, 143, 74, 0.16);
  color: #8a5b1f;
}

.store-card .btn {
  margin: 18px 0 10px;
}

.store-status {
  min-height: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.store-status.is-ready {
  color: var(--teal);
}

.store-status.is-missing {
  color: var(--primary);
}

.reason-grid,
.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  margin-bottom: 44px;
}

.home-store-card,
.home-benefit-card,
.about-pillar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-store-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 247, 238, 0.84)),
    rgba(255, 250, 243, 0.78);
}

.home-story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: end;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 247, 238, 0.88)),
    rgba(255, 250, 243, 0.78);
}

.home-story-panel h2,
.about-overview-main h2,
.about-overview-side h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.home-panel-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.home-benefit-grid {
  margin-top: 20px;
}

.home-benefit-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 248, 240, 0.82)),
    rgba(255, 250, 243, 0.78);
}

.home-benefit-card h3,
.about-pillar-card h2 {
  margin-bottom: 0;
}

.home-cta-panel {
  background:
    linear-gradient(135deg, rgba(122, 36, 28, 0.08), rgba(198, 143, 74, 0.12)),
    rgba(255, 250, 243, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 22px;
  align-items: center;
  padding: 0 0 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mark {
  width: auto;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-mark-square {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(79, 39, 18, 0.12);
}

.footer-brand strong {
  display: block;
  margin-bottom: 2px;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.94rem;
}

.inner-main {
  padding: 20px 0 44px;
}

.inner-hero {
  max-width: 780px;
  padding: 24px 0 8px;
}

.inner-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.97;
}

.about-overview-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
}

.about-overview-main,
.about-overview-side {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 247, 238, 0.88)),
    rgba(255, 250, 243, 0.78);
}

.about-overview-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-pillars-grid {
  margin-top: 24px;
}

.about-pillar-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 248, 240, 0.82)),
    rgba(255, 250, 243, 0.78);
}

.content-card a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.content-card p + p,
.content-card ul + p,
.content-card p + ul,
.content-card h2 + p,
.content-card h3 + p {
  margin-top: 12px;
}

.content-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.content-card li + li {
  margin-top: 8px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.policy-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.82);
  border: 1px solid rgba(92, 23, 17, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.support-topics {
  margin-top: 28px;
  align-items: stretch;
}

.support-topics .content-card,
.support-sections .content-card {
  height: 100%;
}

.support-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 20px;
  margin-top: 24px;
  align-items: start;
}

.support-topic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  padding: 24px 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(255, 248, 239, 0.82)),
    rgba(255, 250, 243, 0.78);
}

.support-topic-card h2 {
  margin-bottom: 0;
}

.support-topic-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(122, 36, 28, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-topic-tag-accent {
  background: rgba(198, 143, 74, 0.16);
  color: #8a5b1f;
}

.support-topic-tag-teal {
  background: rgba(35, 93, 97, 0.12);
  color: var(--teal);
}

.support-form-card,
.support-help-card {
  padding: 28px;
}

.support-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.support-section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-section-copy {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.support-help-card {
  position: sticky;
  top: 24px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.94), rgba(255, 247, 237, 0.88)),
    rgba(255, 250, 243, 0.78);
}

.feedback-banner {
  display: none;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(92, 23, 17, 0.1);
  background: rgba(255, 248, 241, 0.88);
  box-shadow: var(--shadow);
}

.feedback-banner.is-visible {
  display: block;
}

.feedback-banner.is-success {
  border-color: rgba(35, 93, 97, 0.18);
  background: rgba(234, 247, 245, 0.94);
}

.feedback-banner.is-error {
  border-color: rgba(122, 36, 28, 0.18);
  background: rgba(255, 243, 240, 0.95);
}

.feedback-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.support-form {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(92, 23, 17, 0.12);
  border-radius: 16px;
  background: rgba(255, 252, 248, 0.96);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.form-file-control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(92, 23, 17, 0.12);
  border-radius: 16px;
  background: rgba(255, 252, 248, 0.96);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-file-input:focus + .form-file-control,
.form-file-input:focus-visible + .form-file-control {
  border-color: rgba(122, 36, 28, 0.32);
  box-shadow: 0 0 0 4px rgba(122, 36, 28, 0.08);
}

.form-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(92, 23, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 248, 241, 0.9);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.form-file-status {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-word;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(122, 36, 28, 0.32);
  box-shadow: 0 0 0 4px rgba(122, 36, 28, 0.08);
}

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

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.support-help-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.support-help-list li {
  position: relative;
  padding-left: 24px;
}

.support-help-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #c68f4a 100%);
  transform: translateY(-50%);
}

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

.rise-in {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.82s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.rise-delay-1 {
  animation-delay: 90ms;
}

.rise-delay-2 {
  animation-delay: 180ms;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-story-panel,
  .about-overview-grid {
    grid-template-columns: 1fr;
  }

  .support-sections,
  .support-card-head {
    grid-template-columns: 1fr;
  }

  .support-help-card {
    position: static;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 158px;
  }

  .store-grid,
  .reason-grid,
  .content-grid,
  .screen-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .form-file-control {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    gap: 20px;
    padding-top: 20px;
  }

  .section,
  .inner-main {
    padding-top: 22px;
  }

  .device-frame {
    min-height: auto;
  }

  .section-band,
  .store-card,
  .reason-card,
  .content-card,
  .cta-panel,
  .hero-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .btn,
  .meta-pill {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .rise-in {
    opacity: 1;
    transform: none;
  }
}
