:root {
    --accent: #8a241c;
    --text-dark: #1a1a1a;
    --text-body: #5a5a5a;
    --divider: #dcdcdc;
  }

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
  }

  /* ---------- Hero ---------- */

  .hero {
    position: relative;
    display: grid;
    grid-template-areas: "stack";
  }

  .hero-bg {
    grid-area: stack;
    width: 100%;
    height: auto;
    align-self: start;
    justify-self: stretch;
    display: block;
    z-index: 0;
  }

  .hero-scrim {
    grid-area: stack;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.9) 28%,
      rgba(255, 255, 255, 0.4) 42%,
      rgba(255, 255, 255, 0) 56%
    );
    z-index: 1;
  }

  .hero-content {
    grid-area: stack;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 32px 40px clamp(40px, 7vw, 72px);
  }

  .hero-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(32px, 8vw, 72px);
  }

  .logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .logo img {
    height: clamp(48px, 6vw, 72px);
    width: auto;
    display: block;
  }

  .logo-word {
    font-family: "Arial Black", Arial, sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    color: var(--accent);
    transform: skewX(-6deg);
    white-space: nowrap;
  }

  .logo-mark {
    width: clamp(60px, 8vw, 90px);
    height: auto;
    flex-shrink: 0;
    margin-left: -4px;
  }

  .hero-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: 600;
  }

  .hero-nav a:hover {
    color: var(--accent);
  }

  .hero-headline {
    font-size: clamp(1.7rem, 3vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 clamp(18px, 3vw, 26px);
    max-width: 760px;
  }

  .hero-subtext {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-body);
    max-width: 620px;
    margin: 0 0 clamp(28px, 4vw, 40px);
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--accent);
    white-space: nowrap;
  }

  .btn-primary {
    background: var(--accent);
    color: #ffffff;
  }

  .btn-primary:hover {
    background: #741e15;
  }

  .btn-outline {
    background: transparent;
    color: var(--accent);
  }

  .btn-outline:hover {
    background: rgba(138, 36, 28, 0.06);
  }

  .btn-outline .play-icon {
    display: inline-flex;
  }

  .hero-features-wrap {
    max-width: 1400px;
    margin: 0 auto;
  padding: clamp(10px, 4vw, 22px) 10px clamp(4px, 1vw, 8px);
  }

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 60px;   /* the 18px is the horizontal spacing — lower it to tighten */
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 0 0 auto;   /* was: flex: 1 1 220px; */
    min-width: 0;     /* was: min-width: 100px; */
}

  .hero-feature svg {
    width: 30px;
    height: 30px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .hero-feature h3 {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 400;
    margin: 0 0 4px;
  }

  .hero-feature p {
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
  }

  @media (max-width: 640px) {
    .hero-content {
      padding: 24px 20px 48px;
    }

    .hero-scrim {
      background: rgba(255, 255, 255, 0.94);
    }

    .hero-buttons {
      flex-direction: column;
      align-items: stretch;
    }

    .btn {
      justify-content: center;
    }

    .hero-features {
      flex-direction: column;
      gap: 22px;
    }

        .hero-feature {
      flex: none;
      min-width: 0;
    }

    .hero-features-wrap {
      padding: 16px 20px 4px;
    }
  }

  .columns {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    gap: 0;
  }

  .column {
    flex: 1;
    min-width: 0;
    padding: 0 24px;
  }

  .column:first-child {
    padding-left: 0;
  }

  .column:last-child {
    padding-right: 0;
  }

  .column:not(:last-child) {
    border-right: 1px solid var(--divider);
  }

  .column-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
  }

  .icon {
    width: 68px;
    height: 68px;
    border-radius: 15px;
    flex-shrink: 0;
    display: block;
  }

  .column-title h2 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 6px 0;
  }

  .column-title .subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
  }

  .description {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 18px 0;
  }

  .learn-more {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
  }

  .learn-more:hover {
    text-decoration: underline;
  }

  .device-image {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    margin: 36px auto 0;
  }

/* ---------- Footer ---------- */

.site-footer {
  background: #f4f4f4;
  border-top: 1px solid var(--divider);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.footer-graphic {
  width: clamp(160px, 22vw, 300px);   /* was: height: clamp(90px, 12vw, 150px); */
  height: auto;                        /* was: width: auto; */
  flex-shrink: 0;
}

.footer-text {
  flex: 1;
  min-width: 0;
}

.footer-text h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.footer-text p {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  max-width: 640px;
}

.footer-cta {
  flex-shrink: 0;
}

.footer-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* links line up with the button's edges */
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 780px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .footer-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

  /* Tablet */
  @media (max-width: 900px) {
    .columns {
      flex-direction: column;
      padding: 40px 24px;
    }

    .column {
      padding: 36px 0;
      border-right: none !important;
    }

    .column:first-child {
      padding-top: 0;
    }

    .column:last-child {
      padding-bottom: 0;
    }

    .column:not(:last-child) {
      border-bottom: 1px solid var(--divider);
    }

    .device-image {
      max-width: 220px;
    }
  }

  /* Mobile */
  @media (max-width: 480px) {
    .columns {
      padding: 32px 18px;
    }

    .column-head {
      gap: 14px;
    }

    .icon {
      width: 56px;
      height: 56px;
      border-radius: 12px;
    }

    .column-title h2 {
      font-size: 1.5rem;
    }

    .column-title .subtitle {
      font-size: 0.95rem;
    }

    .description {
      font-size: 0.95rem;
    }
  }

/* ---------- Site header (all pages) ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--divider); }
.site-header-inner {
  max-width: 1400px; margin: 0 auto; padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header .logo img { height: 72px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.site-nav a { color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .site-header-inner { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
}

/* ---------- App detail page ---------- */
.app-hero {
  max-width: 1400px; margin: 0 auto; padding: clamp(0px, 6vw, 32px) 40px;
  display: flex; align-items: center; gap: clamp(32px, 5vw, 72px);
}
.app-hero-text { flex: 1; min-width: 0; }
.app-hero-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-hero-head .icon { width: 76px; height: 76px; border-radius: 17px; }
.app-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 4px; }
.app-hero .subtitle { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; color: var(--text-dark); margin: 0; }
.app-hero .lead { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; color: var(--text-body); max-width: 560px; margin: 0 0 28px; }
.app-store-button img { width: 200px; height: auto; display: block; }
.app-hero-media { flex-shrink: 0; }
.app-hero-media img { width: clamp(300px, 40vw, 900px); height: auto; display: block; }
@media (max-width: 860px) {
  .app-hero { flex-direction: column; text-align: center; }
  .app-hero-head { justify-content: center; }
  .app-hero .lead { margin-left: auto; margin-right: auto; }
  .app-store-button img { margin: 0 auto; }
}
.app-section { max-width: 1400px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) 40px; border-top: 1px solid var(--divider); }
.app-section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin: 0 0 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.feature-card { display: flex; gap: 14px; align-items: flex-start; }
.feature-card svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; }
.feature-card p { font-size: 0.98rem; line-height: 1.55; color: var(--text-body); margin: 0; }

/* ---------- Content page (About / Contact / Privacy) ---------- */
.page-title { max-width: 1040px; margin: 0 auto; padding: clamp(20px, 3vw, 32px) 40px clamp(6px, 1vw, 10px); }
.page-title h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.page-body { max-width: 1040px; margin: 0 auto; padding: clamp(8px, 2vw, 16px) 40px clamp(32px, 5vw, 56px); color: var(--text-body); font-size: 1.05rem; line-height: 1.7; }
.page-body h2 { color: var(--text-dark); font-size: 1.4rem; margin: 32px 0 12px; }
.page-body p { margin: 0 0 16px; }
.page-body a:not(.btn) { color: var(--accent); font-weight: 600; }

/* ---------- Photo gallery ---------- */
.gallery { max-width: 1040px; margin: 0 auto; padding: clamp(8px, 2vw, 16px) 40px clamp(48px, 7vw, 80px); }
.gallery h2 { color: var(--text-dark); font-size: 1.4rem; margin: 0 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.gallery figure { margin: 0; }
.gallery .ph, .gallery img { width: 100%; border-radius: 12px; display: block; }
.gallery img { height: auto; }          /* keep the photo's natural shape — no cropping */
.gallery .ph {
  aspect-ratio: 4 / 3;                   /* placeholders stay as neat 4:3 boxes */
  background: #f0f0f0; border: 2px dashed #c8c8c8;
  display: flex; align-items: center; justify-content: center;
  color: #9a9a9a; font-weight: 600; font-size: 0.95rem; text-align: center; padding: 12px;
}
.gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--text-body); text-align: center; }

/* ---------- About: two-column layout (text + photo rail) ---------- */
.about-layout {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 16px) 40px clamp(48px, 7vw, 80px);
  display: flex;
  gap: clamp(28px, 4vw, 48px);
  align-items: flex-start;
}

.about-layout .page-body {
  flex: 1;
  min-width: 0;        /* lets the text column shrink and wrap cleanly */
  max-width: none;     /* override the standalone rules */
  margin: 0;
  padding: 0;
}

.about-layout .gallery {
  order: -1;           /* pulls the photos to the left on wide screens */
  flex: 0 0 clamp(220px, 26vw, 320px);
  max-width: none;
  margin: 0;
  padding: 0;
}

.about-layout .gallery-grid {
  grid-template-columns: 1fr;   /* single stacked column of photos */
}

/* Stack on smaller displays: text on top, photos below */
@media (max-width: 760px) {
  .about-layout {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-layout .gallery {
    order: 0;          /* back to source order → sits below the text */
    flex: none;
    width: 100%;
  }
}

.page-body ul { margin: 0 0 16px; padding-left: 22px; }
.page-body li { margin: 0 0 8px; line-height: 1.6; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 640px; margin: 8px 0 0; }

.form-row { display: flex; gap: 18px; }
.form-row .form-field { flex: 1; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid var(--divider);
  border-radius: 8px;
  padding: 12px 14px;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 36, 28, 0.12);
}

.contact-form button.btn { font: inherit; cursor: pointer; }

@media (max-width: 560px) {
  .form-row { flex-direction: column; gap: 0; }
}

/* ---------- App detail: extra sections ---------- */
.app-section > p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 760px;
  margin: 0 0 16px;
}

/* Numbered step badge (reuses .feature-card layout) */
.feature-card .num {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.95rem;
}

/* Image + text split (the carriage section) */
.app-split {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 40px;
  border-top: 1px solid var(--divider);
  display: flex; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.app-split .split-media { flex: 0 0 clamp(260px, 42%, 460px); }
.app-split .split-media img,
.app-split .split-media .ph { width: 100%; border-radius: 14px; display: block; }
.app-split .split-media .ph {
  aspect-ratio: 4 / 3; background: #f0f0f0; border: 2px dashed #c8c8c8;
  display: flex; align-items: center; justify-content: center;
  color: #9a9a9a; font-weight: 600; text-align: center; padding: 12px;
}
.app-split .split-text { flex: 1; min-width: 0; }
.app-split .split-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin: 0 0 16px; }
.app-split .split-text p { font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.7; color: var(--text-body); margin: 0 0 16px; }
@media (max-width: 820px) {
  .app-split { flex-direction: column; align-items: flex-start; }
  .app-split .split-media { flex: none; width: 100%; }
}

/* Download call-to-action band */
.app-cta { text-align: center; padding: clamp(40px, 6vw, 64px) 40px; border-top: 1px solid var(--divider); }
.app-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 0 0 20px; }

/* Alternating splits: add "flip" to put the image on the RIGHT instead of the left */
.app-split.flip { flex-direction: row-reverse; }

/* Keep the flipped ones stacking normally on small screens */
@media (max-width: 820px) {
  .app-split.flip { flex-direction: column; }
}

/* Benefits grid: fixed 3 columns (3 x 2), centered as a block */
.feature-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /*max-width: 1040px;
  margin-left: auto;
  margin-right: auto; */
}

/* Collapse gracefully on smaller screens */
@media (max-width: 860px) {
  .feature-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .feature-grid.cols-3 { grid-template-columns: 1fr; }
}