@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.8f704806.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: oklch(0.58 0.15 55);
  --accent-deep: oklch(0.4 0.08 55);
  --accent-tint: oklch(0.98 0.02 55);
  --accent-saving: oklch(0.45 0.1 55);
  --green: oklch(0.4 0.1 145);
  --green-mid: oklch(0.5 0.1 145);
  --green-deep: oklch(0.3 0.075 145);
  --ink: oklch(0.22 0.01 145);
  --ink-strong: oklch(0.28 0.02 145);
  --ink-mid: oklch(0.35 0.01 145);
  --ink-soft: oklch(0.4 0.01 145);
  --ink-faint: oklch(0.45 0.01 145);
  --ink-muted: oklch(0.5 0.01 145);
  --ink-dim: oklch(0.55 0.01 145);
  --surface: oklch(0.99 0.003 100);
  --card: oklch(1 0 0);
  --line: oklch(0.85 0.05 145);
  --line-soft: oklch(0.88 0.02 145);
  --line-faint: oklch(0.9 0.02 145);
  --on-accent: oklch(1 0 0);
  --pattern-opacity: 0.15;
}

* { box-sizing: border-box; }

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
}

.page {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* The pattern hangs off body, not .page: .page is capped at max-width, so a
   pattern anchored there stops short of the viewport edges on wide screens.
   repeat-x, not repeat — the tile is seamless horizontally but seams vertically.
   Band height must equal the rendered tile height or the flip pivots wrong. */
body::before,
body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 594px;
  z-index: 0;
  pointer-events: none;
  opacity: var(--pattern-opacity);
  background: url('/assets/img/pattern-page.603f22af.webp') repeat-x center top / 900px auto;
}

body::before { top: 0; transform: scaleY(-1); }
body::after { bottom: 0; }

.page > * { position: relative; z-index: 1; }

h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h1, h2 { text-transform: uppercase; }
.nav-brand, .eyebrow, .eyebrow-sm, .tier-name, .badge { text-transform: uppercase; }
.btn { text-transform: none; }
p { margin: 0; }
a { color: var(--green); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 8px;
}
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { color: var(--on-accent); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink-strong); }
.btn--sm { padding: 9px 14px; font-size: 15px; }
.btn--block { display: block; margin-top: 14px; padding: 14px 12px; }

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--green);
  margin-bottom: 5px;
}
.eyebrow-ar {
  font-family: 'Segoe UI', Tahoma, 'Arabic Typesetting', serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0;
  display: inline-block;
  white-space: nowrap;
}
.eyebrow-sm {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 10px; padding: 16px 0; }
.nav-logo { width: 34px; height: 34px; object-fit: contain; }
.nav-brand { font-size: 14px; font-weight: 800; letter-spacing: 0.05em; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; }
.nav-links a:not(.btn) { display: none; }

.hero { padding: 20px 0 32px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.hero-copy { display: contents; }
.hero h1 { font-size: 20px; line-height: 1.25; font-weight: 900; text-wrap: balance; order: 1; }
.hero-title-tail { display: block; }
.accent { color: var(--accent); }
.hero-sub { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-wrap: pretty; max-width: 313px; order: 2; }
.hero-actions { display: flex; gap: 10px; width: 100%; order: 4; }
.hero-actions .btn { flex: 1; padding-inline: 10px; }
.hero-img { width: 80%; max-width: 280px; order: 3; }
.worksWith {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft);
  order: 5;
}
.sumup-logo { height: 18px; width: auto; }
.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line-faint); width: 100%;
  order: 6;
}
.proof-mini { height: 24px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; flex-shrink: 0; }

.benefits { padding: 12px 0 40px; }
.benefits h2 { font-size: 18px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.benefits-grid { display: flex; gap: 16px; align-items: center; }
.benefits-list { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.benefit p { font-size: 14px; color: var(--ink-mid); line-height: 1.5; text-wrap: pretty; }
.stand-img { width: 150px; flex-shrink: 0; order: -1; object-fit: contain; }

.pricing { padding: 12px 0 40px; }
.pricing-heading { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 16px; text-align: center; }
.tiers { display: flex; flex-direction: column; gap: 14px; }
.tier {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-top: 4px solid var(--green-mid);
  border-radius: 10px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 5px;
}
.tier--featured { background: var(--accent-tint); border: 2px solid var(--accent); border-top: 4px solid var(--accent); }
.tier--featured .tier-price { color: var(--accent-deep); }
.tier-name { font-size: 14px; font-weight: 700; }
.tier-price { font-size: 32px; font-weight: 900; color: var(--ink-strong); }
.tier-unit { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.tier-body { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.tier-saving { font-size: 13px; font-weight: 700; color: var(--accent-saving); margin-top: 3px; }
.badge {
  position: absolute; top: -12px; right: 14px;
  background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em;
  padding: 5px 9px; border-radius: 5px;
}
.badge--green { background: var(--green-mid); }
.footnote { font-size: 12px; margin-top: 8px; color: var(--ink-muted); }
.bonus {
  position: relative; margin-top: 30px; background: var(--card);
  border: 1px solid var(--line); border-top: 4px solid var(--green-mid);
  border-radius: 10px; padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.bonus-price { font-size: 16px; font-weight: 900; color: var(--ink-strong); }

.proof { padding: 24px 0 40px; border-top: 1px solid var(--line-soft); }
.proof h2 { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; margin: 12px 0 22px; text-align: center; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; justify-items: center; }
.proof-logo { height: 72px; width: auto; object-fit: contain; }

.faq { padding: 12px 0 40px; }
.faq h2 { font-size: 20px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 0; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  color: var(--green-mid);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-question:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 2px; }

.faq-answer { font-size: 13px; color: var(--ink-faint); line-height: 1.55; padding: 0 2px 16px; }

.contact { margin-bottom: 40px; }
.contact-card {
  position: relative; overflow: hidden;
  background: var(--green-deep); color: var(--on-accent);
  border-radius: 12px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/pattern-cta.121c7bf5.webp') center / cover; opacity: 0.3;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { font-size: 18px; font-weight: 800; text-align: center; }
.contact-sub { font-size: 14px; opacity: 0.85; padding-top: 5px; }
.contact-actions { display: flex; flex-direction: column; gap: 18px; }
.contact-details { display: flex; flex-direction: column; gap: 2px; }
.contact-details a { color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 15px; }
.contact-details a:last-child { font-weight: 400; font-size: 13px; opacity: 0.85; }

.notfound { padding: 60px 0 80px; text-align: center; }
.notfound-code {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--line);
  letter-spacing: -0.02em;
}
.notfound h1 { font-size: 22px; font-weight: 900; margin-top: 12px; }
.notfound-body {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 42ch;
  margin: 14px auto 0;
  text-wrap: pretty;
}
.notfound-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.foot { padding: 0 0 32px; font-size: 12px; color: var(--ink-dim); text-align: center; }
.foot-row { display: flex; align-items: center; justify-content: center; gap: 14px; }
.foot-links { display: flex; align-items: center; gap: 14px; }
.social { display: inline-flex; color: var(--ink-dim); }
.social:hover { color: var(--accent); }
.social-icon { width: 18px; height: 18px; display: block; }
.langswitch { display: flex; gap: 6px; }
.langswitch a { text-decoration: none; }
.langsep { opacity: 0.5; }
.trademark {
  margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
  font-size: 11px; line-height: 1.5; color: var(--ink-dim); text-wrap: pretty;
  max-width: 720px; margin-inline: auto;
}

@media (min-width: 900px) {
  .page { padding: 0 48px; }
  body::before,
  body::after { height: 924px; background-size: 1400px auto; }

  .nav { gap: 14px; }
  .nav-logo { width: 40px; height: 40px; }
  .nav-brand { font-size: 16px; letter-spacing: 0.06em; }
  .nav-links a:not(.btn) { display: inline; }
  .btn--sm { padding: 9px 18px; font-size: 14px; }

  .hero {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
    align-items: center; text-align: left; padding: 56px 0 40px;
  }
  .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  /* The image bleeds left to about x=548 while the text column runs to 639,
     so the headline needs its own ceiling or a short final word lands under
     the photo. Matches the subtitle's width. */
  .hero h1 { font-size: 48px; line-height: 1.12; order: initial; max-width: 480px; }
  .hero-sub { font-size: 18px; max-width: 480px; order: initial; }
  .hero-actions { width: auto; order: initial; }
  .hero-actions .btn { flex: none; padding-inline: 24px; }
  .hero-img { width: 130%; max-width: none; margin-right: -30px; order: initial; justify-self: end; }
  .worksWith { order: initial; }
  .hero-proof { justify-content: flex-start; gap: 24px; padding-top: 20px; order: initial; }
  .proof-mini { height: 32px; }

  .benefits { padding: 40px 0 60px; }
  .benefits h2 { font-size: 26px; margin-bottom: 32px; text-align: center; }
  .benefits-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
  .benefits-list { gap: 22px; }
  .stand-img { width: 194px; height: 386px; object-position: top; justify-self: center; }

  .pricing-heading { font-size: 22px; letter-spacing: 0.03em; margin-bottom: 20px; text-align: center; }
  .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tier { padding: 22px 24px; }
  .tier-price { font-size: 36px; }
  .bonus { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 24px; }
  .badge--green { left: 16px; right: auto; }
  .btn--block { width: fit-content; margin: 20px auto 0; padding: 16px 40px; font-size: 17px; }

  .proof h2 { font-size: 20px; letter-spacing: 0.05em; margin: 36px 0 28px; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .proof-logo { height: 96px; }

  .contact-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; }
  .contact-card h2 { font-size: 24px; }
  .contact-actions { align-items: flex-end; gap: 10px; }
  .contact-details { text-align: right; }
  .contact-card .btn--accent { white-space: nowrap; padding: 12px 22px; }

  .faq { padding: 20px 0 60px; }
  .faq h2 { font-size: 26px; margin-bottom: 32px; }
  .faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
  .faq-item { border-bottom: 0; }
  .faq-question { padding: 0 0 6px; font-size: 15px; cursor: default; }
  .faq-question::after { content: none; }
  .faq-answer { font-size: 14px; padding: 0; }
  /* Answers are always visible on desktop. Only ::details-content can force a
     closed <details> open; where it is unsupported the section degrades to the
     mobile accordion, which is usable and keeps the text in the DOM. */
  .faq-item::details-content { content-visibility: visible; }

  .hero-title-tail { display: inline; }
  .hero-sub { max-width: 480px; }
  .contact-card h2 { text-align: left; }
  .tier-name { color: var(--ink-faint); }

  .notfound { padding: 100px 0 120px; }
  .notfound-code { font-size: 96px; }
  .notfound h1 { font-size: 30px; }
  .notfound-actions { flex-direction: row; justify-content: center; gap: 12px; }
  .foot { padding-bottom: 40px; }
  .foot-row { justify-content: space-between; }
}
