:root {
  --bg: #fbf6f0;
  --bg-soft: #f4ece2;
  --panel: #f3eadf;
  --card: #f7efe6;
  --card-2: #efe5d8;
  --ink: #2f2a22;
  --muted: #6f695f;
  --line: rgba(69, 54, 30, 0.12);
  --olive: #60783a;
  --olive-dark: #4c612e;
  --olive-light: #d8e5b3;
  --sand: #e4d3be;
  --shadow: 0 24px 60px rgba(63, 47, 30, 0.10);
  --shadow-soft: 0 14px 34px rgba(63, 47, 30, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: 1280px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(224, 205, 174, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(186, 209, 141, 0.24), transparent 26%),
    linear-gradient(180deg, #fffaf5 0%, #fbf6f0 34%, #f6ede3 100%);
}

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

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

.shell {
  width: min(var(--shell), calc(100vw - 28px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 245, 0.86);
  border-bottom: 1px solid rgba(69, 54, 30, 0.06);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand img {
  width: clamp(112px, 12vw, 168px);
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
}

.primary-nav a {
  color: rgba(47, 42, 34, 0.84);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.primary-nav a.is-active,
.primary-nav a:hover {
  color: var(--olive-dark);
  border-bottom-color: var(--olive);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 14px 28px rgba(96, 120, 58, 0.20);
}

.header-cta:hover,
.button-primary:hover {
  transform: translateY(-1px);
  background: var(--olive-dark);
}

.button-secondary {
  background: rgba(255, 250, 245, 0.88);
  color: var(--ink);
  border-color: rgba(69, 54, 30, 0.28);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  transform: translateY(-1px);
  background: #fffdf9;
}

.section {
  padding: 34px 0;
}

.hero {
  padding-top: 0;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 0 0 42px 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ede3d5;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0.62) 0%, rgba(255, 249, 242, 0.78) 46%, rgba(255, 249, 242, 0.92) 100%),
    url("/assets/site/battir-landscape.png") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  padding-top: 54px;
}

.hero-kicker {
  display: none;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text {
  width: min(650px, 100%);
  margin: 18px auto 0;
  color: rgba(47, 42, 34, 0.72);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.hero-mobile-preview {
  display: none;
}

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

.feature-card {
  padding: 22px 18px 16px;
  background: rgba(243, 234, 223, 0.58);
  border: 1px solid rgba(69, 54, 30, 0.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  min-height: 190px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.72);
  box-shadow: 0 8px 18px rgba(79, 62, 42, 0.08);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
}

.feature-card h2,
.split-copy h2,
.download-copy h2,
.footer-brand,
.section-title {
  margin: 0;
  font-family: var(--serif);
}

.feature-card h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p,
.split-copy p,
.download-copy p,
.footer-copy,
.muted-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ecdfcf;
  box-shadow: var(--shadow);
}

.split-copy {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-eyebrow {
  margin-bottom: 18px;
  color: #9a7244;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.split-copy p {
  margin-top: 22px;
  max-width: 520px;
  font-size: 1.04rem;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-weight: 700;
  color: var(--olive-dark);
}

.text-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 40px;
  padding: 56px 46px;
  border-radius: var(--radius-lg);
  background: var(--olive);
  color: #eff6da;
  box-shadow: var(--shadow);
}

.download-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: var(--olive-light);
}

.download-copy p {
  margin-top: 18px;
  max-width: 560px;
  color: rgba(239, 246, 218, 0.84);
  font-size: 1.02rem;
  line-height: 1.55;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff8f0;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(29, 24, 15, 0.12);
}

.device-frame {
  width: min(100%, 260px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.92), rgba(229, 220, 207, 0.88));
  box-shadow: 0 18px 34px rgba(34, 28, 18, 0.20);
}

.device-frame img {
  border-radius: 24px;
  width: 100%;
  height: auto;
}

.site-footer {
  margin-top: 18px;
  padding: 42px 0 48px;
  background: #ece2d3;
  border-top: 1px solid rgba(69, 54, 30, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  font-size: 1.35rem;
  color: var(--olive-dark);
}

.footer-copy {
  margin-top: 10px;
  max-width: 300px;
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: rgba(47, 42, 34, 0.72);
  text-decoration: underline;
}

.mobile-only {
  display: none;
}

.page-ar {
  direction: rtl;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.page-ar .header-inner {
  grid-template-columns: auto 1fr auto;
}

.page-ar .primary-nav {
  direction: rtl;
}

.page-ar .hero-stage::before {
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0.40) 0%, rgba(255, 249, 242, 0.86) 100%),
    radial-gradient(circle at top right, rgba(186, 209, 141, 0.28), transparent 26%),
    linear-gradient(180deg, #fffaf5 0%, #fbf6f0 100%);
}

.page-ar .hero-title,
.page-ar .feature-card h2,
.page-ar .split-copy h2,
.page-ar .download-copy h2,
.page-ar .footer-brand,
.page-ar .section-title {
  font-family: var(--serif);
}

.page-ar .hero-stage {
  min-height: auto;
  border-radius: 0 0 40px 40px;
}

.hero-image-panel {
  width: min(520px, 100%);
  margin: 34px auto 0;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffe8cb, #fff8ef);
  box-shadow: var(--shadow);
}

.hero-image-panel img {
  width: 100%;
  border-radius: 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-subtitle {
  margin: 10px auto 0;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card.tall {
  min-height: 360px;
  border-radius: 22px;
  background: #f8efe7;
  box-shadow: var(--shadow-soft);
}

.feature-card-media {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #ede4d8;
}

.feature-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feature-card-media.placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #c2b8a8;
  font-size: 2rem;
}

.feature-card-accent {
  background: #344635;
  color: #f6ecd7;
}

.feature-card-accent h2,
.feature-card-accent p {
  color: inherit;
}

.feature-card-accent .button-primary {
  min-height: 40px;
  padding: 0 18px;
  background: #60783a;
}

.feature-card-accent .feature-card-media {
  background: rgba(226, 199, 129, 0.46);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero-stage {
    min-height: 560px;
    border-radius: 0 0 34px 34px;
  }

  .card-grid,
  .feature-stack,
  .footer-inner,
  .split-card,
  .download-card {
    grid-template-columns: 1fr;
  }

  .split-visual {
    min-height: 340px;
  }

  .download-card {
    text-align: center;
  }

  .store-row {
    justify-content: center;
  }
}

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

  .site-header {
    position: static;
    background: rgba(255, 250, 245, 0.98);
  }

  .header-inner {
    min-height: 60px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 0;
  }

  .header-cta,
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .brand img {
    width: 74px;
  }

  .section {
    padding: 22px 0;
  }

  .hero-stage {
    min-height: auto;
    padding: 28px 0 18px;
    border-radius: 0;
    background: transparent;
  }

  .hero-stage::before {
    background:
      radial-gradient(circle at top center, rgba(216, 229, 179, 0.64), transparent 42%),
      linear-gradient(180deg, #fffaf5 0%, #fbf6f0 100%);
  }

  .hero-content {
    width: min(520px, calc(100% - 6px));
    padding-top: 0;
  }

  .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.96rem;
  }

  .hero-kicker svg {
    width: 16px;
    height: 16px;
    stroke: var(--ink);
  }

  .hero-title {
    font-size: 2.55rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-top: 12px;
  }

  .hero-text {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .hero-mobile-preview {
    display: block;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(34, 28, 18, 0.14);
    border: 1px solid rgba(69, 54, 30, 0.10);
  }

  .hero-mobile-preview img {
    width: 100%;
    height: auto;
  }

  .card-grid {
    gap: 16px;
  }

  .feature-card {
    min-height: auto;
    padding: 18px 14px;
  }

  .feature-card.tall {
    min-height: auto;
  }

  .split-copy,
  .download-card {
    padding: 26px 20px;
  }

  .split-copy h2,
  .download-copy h2,
  .section-title {
    font-size: 2rem;
  }

  .footer-inner {
    gap: 20px;
  }

  .site-footer {
    padding: 30px 0 34px;
  }

  .page-ar .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .page-ar .header-cta {
    display: inline-flex;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.86rem;
  }

  .page-ar .brand img {
    width: 112px;
  }
}
