:root {
  --bg: #f5f1ea;
  --bg-soft: #ece7de;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --ink: #0e0e0e;
  --ink-soft: #4b453f;
  --line: rgba(14, 14, 14, 0.12);
  --line-strong: rgba(14, 14, 14, 0.24);
  --accent: #0e0e0e;
  --accent-2: #8b7f73;
  --shadow: 0 24px 60px rgba(15, 15, 15, 0.1);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 34%),
    linear-gradient(180deg, #f8f4ed 0%, #efe8dd 48%, #f7f3ec 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 14, 14, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 14, 14, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

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

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

p,
li {
  color: var(--ink-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 234, 0.75);
  border-bottom: 1px solid rgba(14, 14, 14, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(14, 14, 14, 0.08);
  box-shadow: 0 10px 24px rgba(14, 14, 14, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(14, 14, 14, 0.08);
  color: var(--ink);
}

main {
  padding: 28px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 8px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: stretch;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(14, 14, 14, 0.96), rgba(41, 39, 37, 0.95));
  box-shadow: var(--shadow);
  color: #f7f3ec;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero h1,
.section-heading h2,
.page-heading h1 {
  margin: 0;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  max-width: 12ch;
}

.hero p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(247, 243, 236, 0.82);
  font-size: 1.03rem;
}

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

.button-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 160ms ease;
}

.button-link {
  background: #f7f3ec;
  color: var(--ink);
}

.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.ghost-link {
  background: transparent;
  color: #f7f3ec;
  border: 1px solid rgba(247, 243, 236, 0.22);
}

.ghost-link:hover,
.ghost-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero-rail {
  display: grid;
  gap: 16px;
  align-content: end;
}

.metric-card,
.floating-note,
.feature-card,
.legal-card,
.contact-card,
.download-card,
.quote-card,
.faq-card,
.principle-card,
.support-card,
.detail-card,
.data-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metric-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.metric-label {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.68);
}

.metric-value {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 700;
}

.metric-text {
  margin-top: 10px;
  color: rgba(247, 243, 236, 0.78);
}

.hero-image {
  border-radius: 28px;
  min-height: 440px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image img,
.page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after,
.page-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.02), rgba(14, 14, 14, 0.34));
}

.section {
  padding: 68px 0 0;
}

.section-heading,
.page-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p,
.page-heading p {
  margin: 16px 0 0;
  font-size: 1.02rem;
}

.section-heading h2,
.page-heading h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.quote-card,
.faq-card,
.principle-card,
.support-card,
.download-card,
.detail-card,
.data-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card strong,
.principle-card strong,
.support-card strong,
.detail-card strong {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.feature-index,
.step-index,
.mini-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.08);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 14px;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 22px;
  align-items: stretch;
}

.split-copy,
.panel-shell,
.legal-shell,
.contact-shell,
.download-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(14, 14, 14, 0.08);
  box-shadow: var(--shadow);
}

.page-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 460px;
  box-shadow: var(--shadow);
}

.bullet-list,
.number-list,
.legal-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li,
.number-list li,
.legal-list li {
  margin-top: 10px;
}

.tape {
  display: grid;
  gap: 16px;
}

.tape-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.tape-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.tape-row:last-child {
  padding-bottom: 0;
}

.tape-row h3,
.legal-block h2,
.contact-card h2,
.download-card h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.mini-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

.pill-row,
.meta-row,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.meta-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
}

.meta-row {
  margin-top: 20px;
}

.quote-card {
  min-height: 100%;
}

.quote-mark {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-2);
}

.cta-band {
  margin-top: 68px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(14, 14, 14, 0.98), rgba(54, 49, 44, 0.96));
  color: #f7f3ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
}

.cta-band p {
  color: rgba(247, 243, 236, 0.78);
  margin: 8px 0 0;
}

.legal-shell {
  max-width: 980px;
  margin: 0 auto;
}

.legal-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.legal-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.legal-card strong {
  display: block;
  margin-bottom: 8px;
}

.legal-block {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-block:first-of-type {
  border-top: 0;
  padding-top: 6px;
}

.note-box,
.highlight-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(14, 14, 14, 0.05);
  border: 1px solid rgba(14, 14, 14, 0.08);
}

.contact-shell,
.download-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

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

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(14, 14, 14, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(14, 14, 14, 0.18);
  outline-offset: 1px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.submit-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.submit-button {
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 22px;
  font: inherit;
  font-weight: 700;
  color: #f7f3ec;
  background: var(--accent);
  cursor: pointer;
  transition: 160ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.form-message {
  min-height: 22px;
  font-size: 0.95rem;
}

.form-message.error {
  color: #8d251f;
}

.form-message.success {
  color: #1d5b34;
}

.store-badge {
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 20px;
  background: #0e0e0e;
  color: #f7f3ec;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.store-badge.app-store {
  background: linear-gradient(135deg, #070707, #2a2a2a);
}

.store-badge.play-store {
  background: linear-gradient(135deg, #113727, #1f6e4d);
}

.store-badge span {
  font-size: 0.78rem;
  color: rgba(247, 243, 236, 0.72);
}

.site-footer {
  padding: 24px 0 46px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--ink-soft);
}

.about-h5 {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 56px;
}

.about-h5 .brand {
  margin-bottom: 26px;
}

.about-h5 .page-image {
  min-height: 260px;
}

.about-h5 .panel-shell,
.about-h5 .principle-card,
.about-h5 .detail-card {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.82);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 700ms ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 90ms;
}

.fade-in.delay-2 {
  animation-delay: 180ms;
}

.fade-in.delay-3 {
  animation-delay: 270ms;
}

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

@media (max-width: 1024px) {
  .hero-panel,
  .split-panel,
  .contact-shell,
  .download-shell,
  .grid-4,
  .grid-3,
  .grid-2,
  .legal-intro {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .cta-band,
  .footer-shell,
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .hero-panel,
  .split-copy,
  .panel-shell,
  .legal-shell,
  .contact-card,
  .download-card,
  .contact-shell,
  .download-shell {
    padding: 22px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .field-grid,
  .tape-row {
    grid-template-columns: 1fr;
  }

  .tape-row {
    gap: 10px;
  }

  .hero-image,
  .page-image {
    min-height: 300px;
  }

  .button-link,
  .ghost-link,
  .submit-button,
  .store-badge {
    width: 100%;
  }

  .store-row {
    width: 100%;
  }
}
