:root {
  --orange: #ff5a1f;
  --orange-soft: #fff1e9;
  --green: #159447;
  --green-bright: #22b75b;
  --ink: #17151a;
  --muted: #67616b;
  --line: #e9e5e2;
  --surface: #f8f7f5;
  --white: #ffffff;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-display: clamp(3rem, 5.4vw, 4.9rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2 { margin-top: 0; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

.landing {
  width: min(1160px, calc(100% - 48px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark,
.feed-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 11px 7px 12px 7px;
  box-shadow: 3px 3px 0 #ffcd2f;
  transform: rotate(-5deg);
}

.brand-name {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: var(--text-base);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.brand-name span { color: var(--orange); }

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 650;
}

.topbar-note i {
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 183, 91, 0.12);
}

.fold {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
  align-items: center;
  gap: clamp(56px, 8vw, 104px);
  min-height: 610px;
  padding: 72px 0 58px;
}

.hero-copy { max-width: 670px; }

.badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 12px;
  color: #b73c13;
  background: var(--orange-soft);
  border-radius: 7px;
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: 0.015em;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-subtitle {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: min(100%, 480px);
  min-height: 62px;
  padding: 15px 24px;
  color: #fff;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  border: 1px solid #087637;
  border-radius: 12px;
  box-shadow: 0 5px 0 #087637, 0 16px 28px rgba(21, 148, 71, 0.2);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: var(--text-base);
  font-weight: 900;
  text-decoration: none;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.cta:hover { filter: brightness(1.04); transform: translateY(-2px); }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #087637, 0 8px 16px rgba(21, 148, 71, 0.18); }
.cta svg { width: 25px; height: 25px; fill: currentColor; }

.microtrust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: min(100%, 480px);
  margin: 17px 0 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 650;
}

.microtrust span::before { content: "✓"; margin-right: 5px; color: var(--green); font-weight: 900; }

.offer-feed {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #ded9d5;
  border-radius: 20px;
  box-shadow: 0 26px 65px rgba(39, 28, 23, 0.13), 0 3px 9px rgba(39, 28, 23, 0.06);
  transform: rotate(1.2deg);
}

.feed-head {
  display: grid;
  grid-template-columns: 40px 1fr 9px;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  background: #f4f3f1;
  border-bottom: 1px solid var(--line);
}

.feed-avatar { width: 40px; height: 40px; border-radius: 50%; }
.feed-head > span:nth-child(2) { display: grid; }
.feed-head strong { font-size: var(--text-sm); line-height: 1.2; }
.feed-head small { color: var(--muted); font-size: var(--text-xs); }
.feed-head i { width: 9px; height: 9px; background: var(--green-bright); border-radius: 50%; }

.offer-list { display: grid; padding: 6px 16px; }

.offer-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.offer-item:last-child { border-bottom: 0; }

.offer-image {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface);
}

.offer-image-one { object-position: 50% 17%; }
.offer-image-two { object-position: 50% 24%; }
.offer-image-three { object-position: 50% 23%; }
.offer-item > div { display: grid; min-width: 0; }
.offer-label { color: var(--orange); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.offer-item strong { margin: 2px 0 4px; font-size: var(--text-sm); }
.offer-item small { overflow: hidden; color: var(--muted); font-size: var(--text-xs); text-overflow: ellipsis; white-space: nowrap; }
.offer-item small b { color: var(--ink); }

.feed-disclaimer {
  margin: 0;
  padding: 10px 16px 12px;
  color: #8a838c;
  background: #faf9f8;
  font-size: var(--text-xs);
  text-align: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.proof-strip p:first-child { padding-left: 0; }
.proof-strip p:last-child { padding-right: 0; border-right: 0; }
.proof-strip strong { font-size: var(--text-sm); }
.proof-strip span { color: var(--muted); font-size: var(--text-xs); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: var(--text-xs);
}

footer span { color: var(--ink); font-weight: 800; }
footer p { margin: 0; }
.mobile-sticky { display: none; }

dialog {
  width: min(420px, calc(100% - 32px));
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(23, 21, 26, 0.35);
  text-align: center;
}

dialog::backdrop { background: rgba(23, 21, 26, 0.72); backdrop-filter: blur(4px); }
dialog h2 { margin: 15px 0 9px; font-size: var(--text-xl); line-height: 1.1; }
dialog p { color: var(--muted); }

.dialog-close {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 38px;
  height: 38px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: var(--text-xl);
  cursor: pointer;
}

.dialog-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: var(--text-xl);
  font-weight: 900;
}

.dialog-ok {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  font-size: var(--text-base);
  font-weight: 800;
  cursor: pointer;
}

:focus-visible { outline: 4px solid #ffcd2f; outline-offset: 4px; }

@media (max-width: 880px) {
  .landing { width: min(650px, calc(100% - 32px)); }
  .fold { grid-template-columns: 1fr; gap: 46px; padding: 54px 0 48px; }
  .hero-copy { max-width: 650px; text-align: center; }
  h1, .hero-subtitle { margin-right: auto; margin-left: auto; }
  .cta { margin-inline: auto; }
  .microtrust { justify-content: center; margin-inline: auto; }
  .offer-feed { width: min(440px, 100%); margin: 0 auto; transform: none; }
}

@media (max-width: 620px) {
  :root { --text-display: clamp(2.45rem, 12.5vw, 3.4rem); }
  .landing { width: min(100% - 28px, 520px); min-height: auto; }
  .topbar { min-height: 66px; }
  .topbar-note { display: none; }
  .fold { gap: 34px; min-height: auto; padding: 38px 0 30px; }
  .badge { margin-bottom: 17px; }
  h1 { margin-bottom: 17px; line-height: 0.98; }
  .hero-subtitle { margin-bottom: 25px; font-size: var(--text-base); }
  .cta { min-height: 58px; padding: 14px 16px; border-radius: 11px; font-size: var(--text-base); }
  .microtrust { gap: 5px 12px; font-size: var(--text-xs); }
  .offer-feed { border-radius: 16px; }
  .offer-list { padding: 4px 12px; }
  .offer-item { grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; }
  .offer-image { width: 72px; height: 72px; border-radius: 8px; }
  .offer-item strong { font-size: var(--text-sm); }
  .proof-strip { grid-template-columns: 1fr; margin-top: 2px; }
  .proof-strip p, .proof-strip p:first-child, .proof-strip p:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip p:last-child { border-bottom: 0; }
  footer { flex-direction: column; width: min(100% - 28px, 520px); padding-bottom: 106px; text-align: center; }
  .mobile-sticky {
    position: fixed;
    z-index: 20;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 60px;
    padding: 12px 16px;
    color: #fff;
    background: var(--green);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 13px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.27);
    text-decoration: none;
  }
  .mobile-sticky span { font-weight: 900; }
  .mobile-sticky small { opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
