/* Offerstep — iOS-style landing */

:root {
  --bg: #f2f1eb;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-secondary: #8e8e93;
  --accent: #007aff;
  --accent-hover: #0066d6;
  --border: rgba(60, 60, 67, 0.12);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    system-ui, sans-serif;
  --nav-h: 64px;
  --max: 1080px;
  --page-pad: clamp(1.25rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav.is-scrolled {
  background: rgba(242, 241, 235, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.nav__brand:hover {
  text-decoration: none;
}

.nav__icon {
  border-radius: 10px;
}

.nav__links {
  display: none;
  gap: 1.75rem;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn--ghost:hover {
  background: #f9f9f9;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.25;
}

.btn--store.btn--lg {
  border-radius: 10px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.5rem) var(--page-pad) 4rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: calc(var(--nav-h) + 4rem);
  }
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__icon {
  border-radius: 16px;
}

.hero__wordmark {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__headline {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__support {
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
}

.store-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

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

.qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr img {
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.5rem;
  box-shadow: var(--shadow);
}

.qr__label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}

.hero__visual img {
  width: min(320px, 100%);
  margin: 0 auto;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--page-pad);
}

.section--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .section--split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .section--reverse .section__copy {
    order: 2;
  }

  .section--reverse .section__media {
    order: 1;
  }
}

.band {
  background: var(--surface);
}

.band .section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lede {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section__media img {
  width: min(300px, 100%);
  margin: 0 auto;
}

/* Language chips */
.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.lang-list li {
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--border);
}

.band .lang-list li {
  background: var(--bg);
}

/* Pricing */
.section--stack {
  text-align: center;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .pricing {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: left;
}

.price-card--featured {
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--accent);
}

.price-card__badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-card__plan {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-card__amount {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-card__period {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.price-card__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card__list li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.price-card__list li:last-child {
  border-bottom: none;
}

.price-card .btn {
  width: 100%;
}

.pricing__note {
  max-width: 640px;
  margin: 2rem auto 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ */
.faq {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.faq details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Contact & CTA */
.contact,
.cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact__email {
  font-weight: 600;
}

.cta__icon {
  border-radius: 16px;
  margin: 0 auto 1rem;
}

.cta__wordmark {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.cta__legal {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cta__legal a {
  color: var(--text-secondary);
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--page-pad);
  margin-top: 2rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.footer__brand:hover {
  text-decoration: none;
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--text);
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
