:root {
  --bg: #fffaf0;
  --bg-soft: #fff1cc;
  --panel: #fffdf5;
  --text: #1f2937;
  --muted: #5b6470;
  --border: #ead9ad;
  --banana: #f4c430;
  --banana-deep: #e9b100;
  --banana-ink: #543d00;
  --leaf: #2f7d45;
  --shadow: 0 12px 30px rgba(40, 33, 14, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 0%, #fff7dc 0, #fffaf0 44%),
    radial-gradient(circle at 95% 15%, #fff0b9 0, transparent 38%),
    var(--bg);
  min-height: 100vh;
}

a {
  color: #0d4ea0;
}

a:hover {
  color: #093a78;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 16px 42px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 22%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: #fff;
  display: block;
}

.brand .app-logo-ios {
  width: 56px;
  height: 56px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 -1px 0 rgba(255, 255, 255, 0.45) inset,
    0 10px 22px rgba(17, 24, 39, 0.2),
    0 2px 6px rgba(17, 24, 39, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
}

.brand-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-chip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: #4b5563;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  text-decoration: none;
}

.link-chip:hover {
  border-color: #d4ba79;
  color: #374151;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(24px, 5vw, 40px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.35) 0%, rgba(244, 196, 48, 0) 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(233, 177, 0, 0.45);
  background: rgba(244, 196, 48, 0.16);
  color: var(--banana-ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.14;
}

.hero h1 span {
  color: #8a5f00;
}

.lead {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 1.02rem;
  color: #424b57;
}

.hero p {
  margin: 0 0 18px;
}

.trust-bullets {
  margin: 10px;
  padding-left: 18px;
  color: #424b57;
}

.trust-bullets li + li {
  margin-top: 4px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.app-store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(95deg, var(--banana), var(--banana-deep));
  color: #2f2300;
  border-color: rgba(138, 95, 0, 0.26);
}

.btn-secondary {
  border-color: var(--border);
  color: #374151;
  background: rgba(255, 255, 255, 0.74);
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  margin-top: 16px;
  padding: 20px;
}

.section h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.section-intro {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 780px;
}

.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature,
.placeholder {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.feature h3,
.placeholder h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.feature p,
.placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 30px;
  margin-top: 8px;
}

.feature-bento .feature {
  grid-column: span 4;
  border-radius: 16px;
  border: 1px solid rgba(120, 120, 120, 0.2);
  padding: 20px;
  margin: 0;
  box-shadow: 0 12px 26px rgba(78, 60, 15, 0.09);
  position: relative;
  overflow: hidden;
}

.feature-bento .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color, #f59e0b);
}

.feature-bento .feature:nth-child(1) { --accent-color: #f59e0b; background: linear-gradient(165deg, #fff7d6 0%, #ffefc2 58%, #ffe5a6 100%); }
.feature-bento .feature:nth-child(2) { --accent-color: #10b981; background: linear-gradient(165deg, #e6fff3 0%, #d7fcea 58%, #c4f7df 100%); }
.feature-bento .feature:nth-child(3) { --accent-color: #3b82f6; background: linear-gradient(165deg, #e7f2ff 0%, #d8e9ff 58%, #c9deff 100%); }
.feature-bento .feature:nth-child(4) { --accent-color: #8b5cf6; background: linear-gradient(165deg, #f1ebff 0%, #e8ddff 58%, #ddceff 100%); }
.feature-bento .feature:nth-child(5) { --accent-color: #ec4899; background: linear-gradient(165deg, #ffedf7 0%, #ffe2f2 58%, #ffd5eb 100%); }
.feature-bento .feature:nth-child(6) { --accent-color: #0ea5e9; background: linear-gradient(165deg, #e8faff 0%, #d9f4ff 58%, #c8eeff 100%); }
.feature-bento .feature:nth-child(7) { --accent-color: #f97316; background: linear-gradient(165deg, #fff1e7 0%, #ffe6d8 58%, #ffdbc8 100%); }
.feature-bento .feature:nth-child(8) { --accent-color: #22c55e; background: linear-gradient(165deg, #ecfff0 0%, #defbe5 58%, #d0f6da 100%); }

.feature-bento .feature:nth-child(4),
.feature-bento .feature:nth-child(5) {
  grid-column: span 6;
}

.feature-bento .feature:nth-child(7) {
  grid-column: span 8;
}

.feature-bento .feature:nth-child(8) {
  grid-column: span 4;
}

.feature-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f2937;
}

.feature-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #49525e;
  font-size: 0.9rem;
}

.feature-list li + li {
  margin-top: 6px;
}

.feature-media {
  display: block;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(84, 61, 0, 0.18);
  box-shadow: 0 8px 18px rgba(22, 26, 36, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

.feature-media img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 160ms ease;
}

.feature-media:hover img,
.feature-media:focus-visible img {
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 14, 22, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-image {
  max-width: min(1200px, 92vw);
  max-height: 78vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.42);
  background: #0f172a;
}

.lightbox-caption {
  margin: 10px 0 0;
  color: #ecf2ff;
  text-align: center;
  font-size: 0.92rem;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-open {
  overflow: hidden;
}

.placeholder {
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(255, 241, 204, 0.55), rgba(255, 253, 245, 0.9));
}

.screenshot-carousel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffef8 0%, #fff8e8 100%);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(84, 61, 0, 0.08);
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
  gap: 10px;
}

.carousel-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7a5f22;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.carousel-caption {
  margin: 2px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-count {
  font-size: 0.84rem;
  font-weight: 700;
  color: #5b6470;
  min-width: 58px;
  text-align: center;
}

.carousel-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #374151;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: #bda15c;
  background: #fff6db;
}

.carousel-window {
  overflow: hidden;
  border: 1px solid #e1c98f;
  border-radius: 16px;
  background: #fff;
}

.carousel-track {
  display: flex;
  width: 100%;
  gap: 10px;
  transition: transform 340ms ease;
  will-change: transform;
}

.slide {
  min-width: calc((100% - 20px) / 3);
  margin: 0;
  padding: 10px;
  background: linear-gradient(180deg, #fffefb, #fff8e8);
  border-radius: 12px;
  border: 1px solid rgba(84, 61, 0, 0.12);
}

.shot-frame {
  border-radius: 14px;
  border: 1px solid rgba(84, 61, 0, 0.16);
  background: #fcfaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  min-height: 340px;
}

.shot-phone {
  min-height: 340px;
}

.shot-tablet {
  min-height: 260px;
}

.slide img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  border-radius: 12px;
  object-fit: contain;
}

.shot-tablet img {
  max-height: 240px;
}

.slide figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5b6470;
  text-align: center;
}

.carousel-dots {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #ceb16d;
  background: #f2ddb0;
  cursor: pointer;
  padding: 0;
  transition: transform 140ms ease, background-color 140ms ease;
}

.carousel-dots button.active {
  background: #cf9200;
  border-color: #8a5f00;
  transform: scale(1.25);
}

.policy-main {
  margin-top: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.policy-main h1 {
  margin: 0 0 8px;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
}

.effective {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.policy-section {
  margin-bottom: 18px;
}

.policy-section h2 {
  margin: 0 0 6px;
  font-size: 1.16rem;
}

.policy-section p {
  margin: 0 0 8px;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
}

.steps {
  margin: 0;
  padding-left: 20px;
  color: #424b57;
}

.steps li + li {
  margin-top: 10px;
}

.footer {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section {
    padding: 18px;
  }

  .carousel-head {
    align-items: center;
  }

  .carousel-caption {
    font-size: 0.88rem;
  }

  .slide {
    min-width: calc((100% - 10px) / 2);
    padding: 10px;
  }

  .shot-frame {
    min-height: 320px;
  }

  .shot-phone {
    min-height: 320px;
  }

  .shot-tablet {
    min-height: 240px;
  }

  .slide img {
    max-height: 300px;
  }

  .shot-tablet img {
    max-height: 220px;
  }

  .feature-bento {
    grid-template-columns: 1fr;
  }

  .feature-bento .feature,
  .feature-bento .feature:nth-child(4),
  .feature-bento .feature:nth-child(5),
  .feature-bento .feature:nth-child(7),
  .feature-bento .feature:nth-child(8) {
    grid-column: auto;
  }

  .feature-media img {
    height: 200px;
  }
}

@media (max-width: 560px) {
  .carousel-track {
    gap: 0;
  }

  .slide {
    min-width: 100%;
  }
}
