@font-face {
  font-family: Outfit;
  src: url("./outfit-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-text: #282832;
  --color-text-input: #575757;
  --color-background: #fffaf3;
  --color-card: #fff;
  --color-surface: #f3f3f5;
  --color-link: #008543;
  --color-brand-green: #017d40;
  --color-savings-dark: #1c7a5b;
  --color-savings-tint: #e9f7f2;
  --color-primary-on-dark: #f08e19;
  --color-border: rgba(27, 20, 100, 0.1);
  font-family: Outfit, system-ui, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: auto; padding-inline: 24px; }
:focus-visible { outline: 3px solid var(--color-brand-green); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: 8px; left: 8px; padding: 12px; transform: translateY(-160%); z-index: 10; background: white; color: var(--color-text); }
.skip:focus { transform: none; }
header { background: var(--color-background); color: var(--color-text); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 88px; }
.brand, .footer-brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.languages { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--color-card); color: var(--color-text-input); }
.languages a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.languages a[aria-current] { background: var(--color-savings-tint); color: var(--color-brand-green); font-weight: 600; box-shadow: 0 1px 4px #0001; }
.languages :focus-visible { outline-offset: -3px; }
.hero { overflow: hidden; color: var(--color-text); padding-top: 24px; background: var(--color-background); }
.hero-copy { text-align: center; }
h1 { max-width: 20ch; margin: auto; font-size: clamp(36px, 5vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
h1 em { color: var(--color-brand-green); font-style: normal; text-decoration: underline; text-decoration-color: var(--color-primary-on-dark); text-decoration-thickness: 4px; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.intro { color: var(--color-text-input); max-width: 43ch; margin: 20px auto 0; font-size: 20px; line-height: 1.4; text-wrap: pretty; }
.download { display: flex; gap: 12px; align-items: center; justify-content: center; max-width: 440px; min-height: 60px; margin: 24px auto 0; padding: 12px 20px; border-radius: 12px; background: var(--color-brand-green); color: var(--color-card); font-size: 18px; line-height: 1.35; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px #0001; }
.download:hover { background: var(--color-savings-dark); }
.download span { font-size: 28px; }
.store-links { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.store-links a { color: var(--color-link); display: inline-flex; align-items: center; padding: 8px; min-height: 44px; text-underline-offset: 4px; font-size: 14px; }
.preview { margin-top: 24px; padding-bottom: 28px; }
.fan { --screen-width: 238px; position: relative; width: min(100%, 570px); height: 570px; margin: auto; }
.screen { position: absolute; top: 0; left: 50%; width: var(--screen-width); max-width: none; height: auto; margin-left: calc(var(--screen-width) / -2); border: 5px solid white; border-radius: 20px; box-shadow: 0 12px 28px #0002; transform: translate(var(--x), var(--y)) rotate(var(--rotation)); }
.screen-0 { --x: -106px; --y: 30px; --rotation: -9deg; z-index: 1; }
.screen-1 { --x: 106px; --y: 38px; --rotation: 9deg; z-index: 2; }
.screen-2 { --x: 0px; --y: 0px; --rotation: -2deg; z-index: 3; }
.tag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 5px; background: var(--color-card); color: var(--color-brand-green); font-weight: 600; box-shadow: 0 4px 12px #0001; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-link); }
.tag-0 { top: 16px; left: 16px; transform: rotate(-7deg); }
.tag-1 { top: 39%; right: 16px; transform: rotate(6deg); }
.tag-2 { top: 70%; left: 12px; transform: rotate(-4deg); }
figcaption { color: var(--color-text-input); max-width: 54ch; margin: 8px auto 0; padding-inline: 24px; text-align: center; font-size: 13px; line-height: 1.45; }
.content-rail { max-width: 780px; }
.example { padding-top: 36px; }
.example h2, .faq h2 { font-size: 26px; }
.example-card, .faq-card { padding: 24px; border-radius: 20px; background: var(--color-card); box-shadow: 0 2px 8px #0001; }
.example-notice, .discount { display: inline-block; padding: 3px 7px; border-radius: 4px; font-size: 13px; }
.example-notice { background: var(--color-surface); color: var(--color-text-input); }
.discount { background: var(--color-savings-tint); color: var(--color-savings-dark); }
.saving-label { margin-top: 14px; font-weight: 600; }
.saving-value { display: inline-block; margin-top: 8px; padding: 3px 16px; border-radius: 16px; background: var(--color-savings-tint); color: var(--color-savings-dark); font-size: 36px; font-weight: 700; }
.example-items { list-style: none; margin: 18px 0 0; padding: 0; }
.example-items li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-block: 16px; border-top: 1px solid var(--color-surface); }
.item-description, .item-price > div { display: flex; flex-direction: column; }
.item-description span, .regular-price { color: var(--color-text-input); font-size: 14px; }
.item-price { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-left: auto; text-align: right; }
.item-price strong { color: var(--color-savings-dark); }
.discount { font-weight: 600; }
.example-totals { margin: 0; padding-top: 12px; border-top: 1px solid var(--color-surface); }
.example-totals > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.example-totals dd { margin: 0 0 0 auto; }
.deal-total { margin-top: 4px; font-weight: 600; color: var(--color-link); }
.example-explanation { margin-top: 12px; font-size: 13px; color: var(--color-text-input); }
.faq { padding-top: 36px; }
.faq-card { padding-block: 8px; }
.faq details + details { border-top: 1px solid var(--color-surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding-block: 14px; list-style: none; cursor: pointer; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--color-brand-green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--color-text-input); }
.download-qr { margin: 0 auto 20px; }
.download-qr a { display: block; width: 164px; margin: auto; }
.download-qr figcaption { margin-top: 0; }
.qr-help { max-width: 46ch; margin: 0 auto 16px; }
.get { max-width: 850px; padding-block: 48px; scroll-margin-top: 24px; }
.download-card { border-top: 4px solid var(--color-primary-on-dark); padding: 36px 24px; border-radius: 24px; background: var(--color-card); text-align: center; box-shadow: 0 2px 8px #0001; }
.app-icon { margin: 0 auto 20px; border-radius: 16px; }
h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.download-card > p { color: var(--color-text-input); }
.badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin: 24px auto; }
.store-badge { display: inline-flex; align-items: center; min-height: 48px; }
.store-badge img { width: auto; height: 48px; }
.availability { max-width: 48ch; margin: auto; font-size: 14px; }
footer { padding-bottom: 32px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--color-border); padding-top: 20px; }
.legal { display: flex; flex-wrap: wrap; gap: 0 16px; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-underline-offset: 4px; }
.disclaimer { margin-top: 16px; color: var(--color-text-input); font-size: 13px; }

@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .nav { min-height: 72px; }
  .hero { padding-top: 16px; }
  .hero-copy { text-align: left; }
  h1 { max-width: none; font-size: 36px; line-height: 1.16; }
  .intro { margin-top: 16px; font-size: 18px; }
  .download { margin-top: 20px; }
  .store-links { justify-content: flex-start; margin-left: -8px; }
  .preview { margin-top: 20px; }
  .fan { --screen-width: 200px; height: 492px; max-width: 430px; }
  .screen-0 { --x: -78px; }
  .screen-1 { --x: 78px; }
  .tag { font-size: 14px; padding: 7px 10px; }
  .get { padding-block: 28px; }
  .download-card { padding: 28px 16px; }
  .example-card, .faq-card { padding-inline: 16px; }
  .footer-row { gap: 12px; }
}

@media (max-width: 359px) {
  .wrap { padding-inline: 16px; }
  .brand img { width: 92px; height: auto; }
  h1 { font-size: 32px; }
  .fan { --screen-width: 180px; height: 450px; }
  .screen-0 { --x: -65px; }
  .screen-1 { --x: 65px; }
  .download { font-size: 17px; }
}

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