:root {
  color-scheme: light;
  --bg: #f5efe7;
  --panel: rgba(255, 252, 247, 0.78);
  --panel-strong: #fffaf1;
  --text: #18231f;
  --muted: #546159;
  --line: rgba(24, 35, 31, 0.12);
  --accent: #1f5b43;
  --accent-2: #a05c24;
  --accent-3: #0f2747;
  --rose: #e6c2b2;
  --gold: #d7b25b;
  --shadow: 0 22px 60px rgba(24, 35, 31, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(160, 92, 36, 0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(31, 91, 67, 0.18), transparent 22%),
    radial-gradient(circle at 70% 88%, rgba(15, 39, 71, 0.09), transparent 26%),
    linear-gradient(180deg, #faf6ef 0%, #f2e8da 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.65;
}

body::before {
  width: 18rem;
  height: 18rem;
  right: -6rem;
  top: 8rem;
  background: rgba(31, 91, 67, 0.12);
}

body::after {
  width: 20rem;
  height: 20rem;
  left: -8rem;
  bottom: 8rem;
  background: rgba(160, 92, 36, 0.12);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: auto;
  max-width: min(12rem, 34vw);
  height: 2.7rem;
}

.hero-icon {
  width: clamp(9rem, 24vw, 14rem);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.nav-link {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
}

.nav-link.is-active,
.nav-link:hover {
  background: rgba(35, 81, 58, 0.08);
  color: var(--accent);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero,
.section,
.page-hero,
.article,
.contact-layout {
  margin-top: 1.25rem;
}

.hero,
.section,
.article,
.contact-card,
.page-hero,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(31, 91, 67, 0.06), rgba(255, 255, 255, 0.0) 45%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 249, 241, 0.7));
}

.hero-content {
  padding: 0.5rem 0;
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-2);
}

h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  max-width: 10ch;
}

.hero-lede {
  margin: 1.1rem 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.store-row.inline {
  margin-top: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.ghost {
  background: rgba(35, 81, 58, 0.04);
  border-color: rgba(35, 81, 58, 0.15);
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(24, 35, 31, 0.08);
}

.store-link.ios {
  background: #18231f;
  color: #fff;
}

.store-link.android {
  background: linear-gradient(135deg, rgba(31, 91, 67, 0.12), rgba(31, 91, 67, 0.06));
  color: var(--accent);
  border-color: rgba(31, 91, 67, 0.18);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.72)),
    radial-gradient(circle at top right, rgba(160, 92, 36, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(31, 91, 67, 0.05), rgba(15, 39, 71, 0.06));
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-card,
.feature-card {
  overflow: hidden;
  background: var(--panel-strong);
}

.gallery-card {
  border-radius: 18px;
  border: 1px solid rgba(24, 35, 31, 0.08);
}

.gallery-card img,
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vector-accent {
  position: absolute;
  right: 1rem;
  bottom: 0.4rem;
  width: 7rem;
  opacity: 0.28;
}

.section,
.article,
.page-hero {
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.68));
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.section-heading h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  max-width: 14ch;
}

.section-heading-wide h2,
.store-badges .section-heading h2 {
  max-width: none;
}

.section-heading p {
  max-width: 62ch;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 1rem;
  align-items: center;
  grid-template-areas: "copy media";
  border-radius: 22px;
  border: 1px solid rgba(24, 35, 31, 0.08);
}

.feature-card.flip {
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "media copy";
}

.feature-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(31, 91, 67, 0.05), rgba(255, 255, 255, 0.96));
}

.feature-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(160, 92, 36, 0.07), rgba(255, 255, 255, 0.96));
}

.feature-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.06), rgba(255, 255, 255, 0.96));
}

.feature-copy {
  padding: 1.3rem;
  grid-area: copy;
}

.feature-copy h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
}

.doc-body p {
  margin: 0 0 0.9rem;
}

.doc-body p:last-child {
  margin-bottom: 0;
}

.doc-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.doc-body ul,
.doc-body ol {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.2rem;
}

.doc-body li + li {
  margin-top: 0.4rem;
}

.doc-body blockquote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: rgba(31, 91, 67, 0.05);
  border-radius: 0 16px 16px 0;
}

.doc-body-lede p {
  font-size: 1.08rem;
}

.doc-body-tight p {
  font-size: 0.98rem;
  line-height: 1.5;
}

.doc-image {
  margin: 0;
  padding: 0;
}

.doc-image img {
  width: 100%;
  border-radius: 18px;
}

.feature-media {
  grid-area: media;
  min-height: 260px;
}

.feature-media img {
  min-height: 260px;
}

.video-section {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.06), rgba(255, 255, 255, 0.9)),
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.7));
}

.video-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0d1712;
}

.video-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.logo-row img {
  max-height: 3rem;
  object-fit: contain;
  opacity: 0.9;
}

.store-badges {
  display: grid;
  gap: 1rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  max-width: min(100%, 190px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(24, 35, 31, 0.08);
}

.badge-link img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.badge-row-download {
  justify-content: flex-start;
}

.badge-link-google {
  width: 190px;
}

.badge-link-apple {
  width: 174px;
}

.compact {
  display: grid;
  gap: 0.4rem;
}

.article {
  overflow: hidden;
}

.article h2,
.article h3 {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.2;
}

.article h2 {
  margin-top: 1.5rem;
  font-size: 1.8rem;
}

.article p, .article li {
  color: var(--text);
}

.article ul {
  padding-left: 1.25rem;
}

.team-grid {
  display: grid;
  gap: 1rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "media copy";
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(24, 35, 31, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(31, 91, 67, 0.05), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow);
}

.team-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  grid-template-areas: "copy media";
  background:
    linear-gradient(135deg, rgba(160, 92, 36, 0.07), rgba(255, 255, 255, 0.96));
}

.team-card-media {
  grid-area: media;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  background: rgba(24, 35, 31, 0.04);
}

.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 0.35rem 0;
}

.team-card-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.team-card-copy p {
  margin: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255, 251, 245, 0.82));
}

.field-row {
  display: grid;
  gap: 0.45rem;
}

.field-row.full {
  grid-column: 1 / -1;
}

.field-row label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.field-row input,
.field-row textarea {
  width: 100%;
  border: 1px solid rgba(24, 35, 31, 0.14);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
}

.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .video-section,
  .feature-card,
  .intro-grid,
  .contact-card,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .feature-card,
  .feature-card.flip {
    grid-template-areas:
      "copy"
      "media";
  }

  .team-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
  }

  .team-card:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
  }

  .team-card-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 1rem, 1180px);
  }

  .topbar {
    padding: 0.9rem 1rem;
  }

  .hero,
  .section,
  .article,
  .page-hero {
    padding: 1rem;
  }

  .gallery-grid,
  .hero-mosaic {
    grid-template-columns: 1fr;
  }

  .badge-row {
    align-items: flex-start;
  }

  .badge-link {
    height: 54px;
  }
}
