/* Ribbit — shared styles */
:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --paper-soft: #f1faef;
  --ink: #073b2a;
  --muted: #43675a;
  --line: #cce4d4;
  --green: #0b6b45;
  --green-2: #148253;
  --lime: #a8e86e;
  --lime-soft: #dcf8c3;
  --deep: #063523;
  --sun: #f1ff5f;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(4, 56, 36, .14);
  --radius-lg: 32px;
  --radius-md: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #071a13;
    --paper-soft: #0d251b;
    --ink: #edf9ef;
    --muted: #aec9ba;
    --line: #254c39;
    --green: #71d49e;
    --green-2: #91e7b7;
    --lime: #b1ee79;
    --lime-soft: #183d28;
    --deep: #03120c;
    --sun: #ddf65d;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(0, 0, 0, .32);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: fixed; left: 16px; top: -70px; z-index: 100;
  background: var(--sun); color: #063523; padding: 10px 14px;
  border-radius: 0 0 10px 10px; font-weight: 700;
}
.skip-link:focus { top: 0; }

nav {
  display: flex; align-items: center; justify-content: flex-end;
  min-height: 82px; gap: 30px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:not(.nav-cta):hover { color: var(--green-2); }
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 13px;
  background: var(--green); color: var(--paper); text-decoration: none;
  font-weight: 800; line-height: 1.2; box-shadow: 0 8px 22px rgba(11, 107, 69, .18);
}
@media (prefers-color-scheme: dark) {
  .nav-cta, .button { color: var(--deep); }
}
.nav-cta:hover, .button:hover { background: var(--green-2); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button.secondary:hover { background: var(--paper-soft); }

.hero {
  min-height: 700px; padding: 44px 0 88px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  color: var(--green); font-size: 14px; font-weight: 800;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 999px; background: var(--lime); }
h1, h2, h3 { margin: 0; font-family: "Bricolage Grotesque", sans-serif; line-height: 1.04; letter-spacing: -.035em; }
h1 { max-width: 660px; font-size: clamp(48px, 6vw, 79px); font-weight: 800; }
.hero h1 span { color: var(--green); }
.lead { max-width: 620px; margin: 26px 0 31px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-line { margin: 22px 0 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.trust-dot { width: 9px; height: 9px; background: var(--lime); border: 2px solid var(--green); border-radius: 50%; }

.hero-art { position: relative; min-height: 510px; }
.art-card {
  position: absolute; inset: 14px 0 0 34px; overflow: hidden;
  border-radius: 46% 46% 18% 18% / 38% 38% 18% 18%;
  background: var(--green); box-shadow: var(--shadow);
}
.art-grid {
  position: absolute; inset: 0; opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 34px 34px;
}
.frog-face { position: absolute; inset: 0; }
.eye {
  position: absolute; top: 50px; width: 145px; height: 145px;
  border: 17px solid var(--green); border-radius: 50%; background: var(--white);
  box-shadow: inset 0 0 0 2px rgba(5,53,35,.08);
}
.eye.left { left: 36px; }
.eye.right { right: 36px; }
.pupil { position: absolute; width: 48px; height: 65px; top: 39px; left: 49px; border-radius: 50%; background: #062a1d; }
.pupil::after { content: ""; position: absolute; width: 13px; height: 13px; left: 9px; top: 8px; border-radius: 50%; background: #fff; }
.smile { position: absolute; left: 50%; top: 230px; width: 205px; height: 92px; transform: translateX(-50%); border-bottom: 8px solid var(--deep); border-radius: 50%; }
.shield {
  position: absolute; left: 50%; bottom: 45px; width: 166px; height: 181px; transform: translateX(-50%);
  background: var(--lime); clip-path: polygon(50% 0, 93% 18%, 88% 66%, 50% 100%, 12% 66%, 7% 18%);
  display: grid; place-items: center; color: var(--deep);
  filter: drop-shadow(0 15px 20px rgba(0,0,0,.18));
}
.shield svg { width: 68px; }
.coin {
  position: absolute; display: grid; place-items: center; width: 88px; height: 88px;
  border-radius: 50%; background: var(--white); color: #0b6b45; font-family: "Bricolage Grotesque";
  font-size: 34px; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.coin.one { right: -15px; top: 105px; transform: rotate(12deg); }
.coin.two { left: -6px; bottom: 72px; transform: rotate(-12deg); background: var(--sun); }
.art-note {
  position: absolute; right: 8px; bottom: 16px; width: 166px; padding: 14px 16px;
  border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 700; line-height: 1.45;
}
.art-note b { display: block; color: var(--green); font-size: 18px; }

section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(38px, 5vw, 58px); }
.section-head p { margin: 19px 0 0; color: var(--muted); font-size: 18px; }

.why { background: var(--deep); color: #effbf2; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; width: 500px; height: 500px; right: -250px; bottom: -310px; border: 90px solid rgba(168,232,110,.12); border-radius: 50%; }
.why .section-head p { color: #b9d2c4; }
.why .eyebrow { color: var(--lime); }
.why .quote { color: #effbf2 !important; border-top-color: rgba(255,255,255,.18); }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.ai-card { padding: 32px 30px; border-radius: var(--radius-md); background: var(--paper-soft); border: 1px solid var(--line); }
.ai-card .num { display: inline-block; margin-bottom: 26px; color: var(--green); font-family: "Bricolage Grotesque"; font-size: 15px; font-weight: 800; }
.ai-card h3 { font-size: 23px; letter-spacing: -.02em; }
.ai-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.ai-note { margin-top: 30px; padding: 22px 26px; border-radius: var(--radius-md); background: var(--lime-soft); font-size: 15px; }
.ai-note strong { color: var(--green); }

.steps { margin-top: 46px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 0; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--paper); display: grid; place-items: center; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 20px; }
@media (prefers-color-scheme: dark) { .step-num { color: var(--deep); } }
.step h3 { font-size: 22px; }
.step p { margin: 8px 0 0; color: var(--muted); }
.badge { display: inline-block; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--lime-soft); color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; font-family: "DM Sans", sans-serif; }
.badge.live { background: var(--lime); color: #063523; }

.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.example-link { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; font-weight: 700; font-size: 17px; background: var(--paper); }
.example-link:hover { border-color: var(--green); background: var(--paper-soft); }
.example-link .q { color: var(--green); font-family: "Bricolage Grotesque"; font-weight: 800; flex: 0 0 auto; }
.example-link .arrow { margin-left: auto; color: var(--green); flex: 0 0 auto; }

.scam-strip { padding-top: 20px; }
.scam-box {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center;
  padding: 64px; border-radius: var(--radius-lg); background: var(--lime); color: #063523;
}
.scam-box h2 { font-size: clamp(38px, 5vw, 58px); }
.scam-box p { margin: 18px 0 0; color: #28563f; }
.signals { display: grid; gap: 12px; }
.signal { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 12px 16px; background: rgba(255,255,255,.62); border-radius: 12px; font-weight: 700; }
.signal-mark { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #063523; color: var(--lime); display: grid; place-items: center; font-size: 20px; }

.trust-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-top: 40px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); padding: 22px 26px; }
.trust-check { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: #063523; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.trust-item p { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.trust-item strong { display: block; font-size: 17px; color: var(--ink); }

.about { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.about .stamp { position: sticky; top: 30px; padding-top: 8px; color: var(--green); font-family: "Bricolage Grotesque"; font-size: 18px; font-weight: 800; }
.about-copy h2 { font-size: clamp(38px, 5vw, 62px); }
.about-copy p { margin: 25px 0 0; color: var(--muted); font-size: 19px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin: 34px 0 0; }
.fact { background: var(--paper); padding: 20px 24px; }
.fact dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.fact dd { margin: 6px 0 0; font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.quote { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink) !important; font-family: "Bricolage Grotesque"; font-size: 25px !important; font-weight: 700; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--green); font-weight: 800; text-decoration: none; font-size: 17px; }
.more-link:hover { text-decoration: underline; }

.status-list { display: grid; gap: 14px; margin-top: 36px; }
.status-row { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.status-row p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.status-row strong { font-size: 17px; }
.status-row .badge { margin-left: 0; margin-top: 2px; flex: 0 0 auto; }

.faq { background: var(--paper-soft); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.faq h2 { font-size: clamp(38px, 5vw, 58px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: "Bricolage Grotesque"; font-size: 20px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--green); font-size: 28px; font-family: "DM Sans"; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { margin: -4px 50px 24px 0; color: var(--muted); }

.final-cta { padding: 105px 0 70px; text-align: center; }
.final-cta h2 { max-width: 780px; margin: 0 auto; font-size: clamp(42px, 6vw, 72px); }
.final-cta p { max-width: 650px; margin: 22px auto 30px; color: var(--muted); font-size: 18px; }
.final-cta .button { min-width: 180px; }

.kontak { padding: 40px 0 20px; }
.kontak-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 58px; border-radius: var(--radius-lg); background: var(--deep); color: #effbf2;
  position: relative; overflow: hidden;
}
.kontak-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -190px; top: -240px; border: 70px solid rgba(168,232,110,.12); border-radius: 50%; }
.kontak-card > * { position: relative; z-index: 1; }
.kontak-card h2 { font-size: clamp(34px, 4vw, 52px); }
.kontak-card p { margin: 16px 0 0; color: #b9d2c4; }
.kontak-lines { display: grid; gap: 14px; }
.kontak-line { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.kontak-line .k-label { flex: 0 0 86px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); }
.kontak-line a { color: #effbf2; text-decoration: none; font-weight: 700; border-bottom: 2px solid var(--lime); }
.kontak-line a:hover { color: var(--lime); }

footer { padding: 28px 0 42px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.footer-inner strong { color: var(--ink); }
.footer-dot { color: var(--green); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--green-2); }

/* subpages */
.page-hero { padding: 70px 0 26px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); max-width: 820px; }
.page-hero .lead { max-width: 720px; }
.content-narrow { max-width: 800px; padding-bottom: 90px; }
.content-narrow h2 { font-size: 27px; margin: 42px 0 12px; }
.content-narrow p, .content-narrow li { color: var(--muted); }
.content-narrow > p { margin: 15px 0; }
.content-narrow ul, .content-narrow ol { padding-left: 24px; }
.content-narrow li { margin: 9px 0; }
.content-narrow a { color: var(--green); font-weight: 700; }

/* articles */
.article { padding: 46px 0 80px; max-width: 800px; }
.article h1 { font-size: clamp(36px, 5vw, 56px); }
.provenance { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.article .lead { font-size: 20px; max-width: 720px; }
.prose h2 { font-size: 27px; margin: 46px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p { margin: 15px 0; }
.prose ul, .prose ol { padding-left: 24px; margin: 15px 0; }
.prose li { margin: 9px 0; }
.prose .callout { background: var(--lime-soft); border-radius: var(--radius-md); padding: 22px 26px; margin: 30px 0; }
.prose .callout p { margin: 8px 0; }
.prose .callout strong { color: var(--green); }
.article-more { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-more h2 { font-size: 26px; margin-bottom: 18px; }
.article-more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.article-more a { font-weight: 700; text-decoration: none; color: var(--green); }
.article-more a:hover { text-decoration: underline; }
.learn-index { display: grid; gap: 14px; margin-top: 36px; }
.learn-index a { display: block; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; background: var(--paper); }
.learn-index a:hover { border-color: var(--green); background: var(--paper-soft); }
.learn-index strong { display: block; font-size: 19px; font-family: "Bricolage Grotesque", sans-serif; }
.learn-index span { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .hero-copy { max-width: 730px; }
  .hero-art { min-height: 500px; max-width: 560px; width: 100%; margin: 0 auto; }
  .learn-grid, .scam-box, .about, .faq-layout, .kontak-card { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .about { gap: 22px; }
  .about .stamp { position: static; }
  .faq-layout { gap: 42px; }
  .kontak-card { padding: 40px 30px; }
  .examples { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1160px); }
  nav { min-height: 68px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 42px; padding: 0 15px; font-size: 13px; }
  .hero { min-height: auto; padding: 30px 0 70px; }
  h1 { font-size: clamp(45px, 14vw, 62px); }
  .lead { font-size: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 380px; }
  .art-card { inset: 10px 5px 0; border-radius: 45% 45% 18% 18% / 34% 34% 18% 18%; }
  .eye { top: 38px; width: 105px; height: 105px; border-width: 12px; }
  .eye.left { left: 25px; }
  .eye.right { right: 25px; }
  .pupil { width: 35px; height: 48px; top: 28px; left: 35px; }
  .smile { top: 172px; width: 150px; height: 65px; border-width: 6px; }
  .shield { bottom: 32px; width: 118px; height: 130px; }
  .shield svg { width: 48px; }
  .coin { width: 66px; height: 66px; font-size: 26px; }
  .coin.one { right: -4px; top: 80px; }
  .coin.two { left: 0; bottom: 45px; }
  .art-note { right: 4px; bottom: 7px; width: 142px; padding: 10px 12px; font-size: 11px; }
  .art-note b { font-size: 15px; }
  section { padding: 78px 0; }
  .section-head { margin-bottom: 34px; }
  .scam-box { padding: 34px 22px; gap: 34px; }
  .signal { font-size: 14px; }
  .about-copy p { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .quote { font-size: 22px !important; }
  summary { font-size: 18px; padding-right: 38px; }
  .final-cta { padding-top: 78px; }
  .kontak-card { padding: 34px 24px; }
  .kontak-line { flex-direction: column; align-items: flex-start; gap: 2px; }
  .kontak-line .k-label { flex: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; }
  .step-num { width: 42px; height: 42px; font-size: 17px; }
}

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