/* Cardn3 homepage (2026-10-27). Design rules: toolhub-project/homepage-design/DESIGN-RULES.md.
   Neutral page + one accent (brand orange), Poppins (same family as the rest of the site, self-hosted),
   pill buttons, 24px bordered cards, 80px section rhythm. No framework: this page loads only this file. */

/* ---------- font: Poppins, self-hosted (assets/fonts/poppins), latin subset ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../assets/fonts/poppins/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../assets/fonts/poppins/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/fonts/poppins/poppins-600-latin.woff2") format("woff2"); }
/* metric-matched fallback so text doesn't jump when Poppins arrives */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }

:root {
    --font-sans: "Poppins", "Poppins Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;

    /* Poppins runs wide, so sizes sit a step below the system-font spec */
    --fs-h1: clamp(2.125rem, 1.25rem + 3.1vw, 3.375rem);   /* 34 → 54px */
    --fs-h2: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem);    /* 26 → 34px */
    --fs-h3-lg: 1.375rem;
    --fs-h3: 1.0625rem;
    --fs-h4: 0.96875rem;
    --fs-lead: 1.0625rem;
    --fs-body: 0.96875rem;
    --fs-small: 0.84375rem;
    --fs-micro: 0.75rem;
    --tracking-tight: -0.03em;
    --tracking-h2: -0.025em;

    --c-text: #171717;
    --c-text-2: #404040;
    --c-text-3: #525252;
    --c-muted: #6b6b6b;
    --c-faint: #a3a3a3;
    --c-border-strong: #d4d4d4;
    --c-border: #e7e7e7;
    --c-surface-alt: #fafafa;
    --c-surface: #ffffff;
    --c-ink: #0b0b0b;

    --accent: #F7931F;
    --accent-text: #B45F06;
    --on-accent: #111111;
    --accent-tint: #FEF1E2;
    --accent-gradient: linear-gradient(135deg, #F9A23A 0%, #F2600C 100%);
    --dark-panel: radial-gradient(120% 140% at 100% 0%, #4A2A0C 0%, #2A1C10 45%, #121110 100%);

    --c-whatsapp: #25D366;
    --c-telegram: #229ED9;

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
    --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
    --section-y: clamp(56px, 3.5rem + 2vw, 88px);
    --container: 1152px;
    --container-narrow: 860px;
    --gutter: 18px;
    --header-h: 64px;

    --r-pill: 9999px;
    --r-card: 24px;
    --r-lg: 16px;
    --r-md: 12px;
    --r-sm: 9px;
    --border: 1px solid var(--c-border);
    --shadow-art: 0 22px 48px -12px rgba(0, 0, 0, .28);
    --shadow-pop: 0 12px 28px -8px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .05);
    --shadow-hover: 0 14px 30px -14px rgba(0, 0, 0, .18);

    --ease: cubic-bezier(.4, 0, .2, 1);
    --t-fast: .15s;
    --t-base: .28s;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--c-text); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-surface-alt); }
.section--flush-top { padding-top: 0; }
.section__head { max-width: 640px; margin: 0 auto var(--s-12); text-align: center; }
.section__head .muted { margin-top: var(--s-3); }

.h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: var(--fw-semibold); letter-spacing: var(--tracking-tight); }
.h2 { font-size: var(--fs-h2); line-height: 1.18; font-weight: var(--fw-semibold); letter-spacing: var(--tracking-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.45; font-weight: var(--fw-medium); letter-spacing: -0.005em; }
.accent-word { color: var(--accent-text); }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); line-height: 1.6; }
.eyebrow { display: inline-block; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--accent-text); }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 52px; padding: 13px 28px;
    border: 1px solid transparent; border-radius: var(--r-pill);
    font: var(--fw-medium) 15px/1.2 var(--font-sans); letter-spacing: 0;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgba(242, 96, 12, .7); }
.btn--primary:hover { background: #F08A12; box-shadow: 0 10px 24px -10px rgba(242, 96, 12, .8); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary { background: #fff; color: var(--c-text); border-color: var(--c-border-strong); }
.btn--secondary:hover { border-color: var(--c-text-3); }
.btn--inverse { background: #fff; color: var(--c-text); }
.btn--inverse:hover { background: #fff8f0; }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: var(--border); border-radius: var(--r-pill); background: #fff; font-size: 12.5px; line-height: 1.5; color: var(--c-text-2); white-space: nowrap; }
.chip .ico { width: 14px; height: 14px; color: var(--accent-text); }
.badge { display: inline-block; padding: 3px 11px; border-radius: var(--r-pill); font-size: var(--fs-micro); font-weight: var(--fw-medium); line-height: 1.6; background: var(--accent); color: var(--on-accent); }

.card { background: #fff; border: var(--border); border-radius: var(--r-card); padding: var(--s-6); }
.card__icon { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--accent-tint); color: var(--accent-text); flex: none; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--c-surface-alt); border-bottom: var(--border); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 42px; }
.topbar__promo { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: var(--fw-medium); text-decoration: none; white-space: nowrap; }
.topbar__promo .ico { color: var(--c-telegram); width: 16px; height: 16px; }
.topbar__promo span { color: var(--c-muted); font-weight: var(--fw-regular); }
.topbar__promo:hover span { color: var(--c-text); }
.topbar__chips { display: flex; gap: var(--s-2); }
@media (max-width: 860px) { .topbar__chips .chip:nth-child(n+2) { display: none; } }
@media (max-width: 480px) { .topbar__promo span, .topbar__chips { display: none; } .topbar .container { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); border-bottom: var(--border); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-6); }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s-6); font-size: 14.5px; }
.nav a:not(.btn) { position: relative; text-decoration: none; color: var(--c-text-3); transition: color var(--t-fast) var(--ease); }
.nav a:not(.btn):hover { color: var(--c-text); }
.nav__login { display: inline-flex; align-items: center; gap: 6px; }
.nav__login .ico { width: 17px; height: 17px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; padding: 9px; border-radius: var(--r-sm); border: var(--border); background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ico { width: 20px; height: 20px; }
.menu__sheet { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 2 * var(--gutter))); background: #fff; border: var(--border); border-radius: var(--r-lg); padding: var(--s-2); box-shadow: var(--shadow-pop); display: grid; gap: 2px; }
.menu__sheet a:not(.btn) { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-size: 15px; }
.menu__sheet a:not(.btn):hover { background: var(--c-surface-alt); }
.menu__sheet .btn { margin-top: var(--s-2); width: 100%; }
@media (max-width: 1023px) { .nav { display: none; } .menu { display: block; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 76px) clamp(48px, 7vw, 92px); overflow: hidden; }
.hero .container { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.15fr 1fr; } }
.proof { display: flex; align-items: center; gap: var(--s-3); font-size: 13.5px; line-height: 1.45; color: var(--c-text-3); margin-bottom: var(--s-5); }
.proof__dots { flex: none; }
@media (max-width: 480px) { .proof { font-size: 12.5px; gap: 10px; } }
.proof__dots { display: flex; }
.proof__dots span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.proof__dots span:first-child { margin-left: 0; background: #1A1F71; }
.proof__dots span:nth-child(2) { background: linear-gradient(90deg, #EB001B 50%, #F79E1B 50%); }
.proof__dots span:nth-child(3) { background: #2E77BC; }
.hero .lead { max-width: 33em; margin: var(--s-5) 0 var(--s-8); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 480px) { .actions .btn { width: 100%; } }
.hero__note { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); font-size: 13px; color: var(--c-muted); }
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note .ico { width: 15px; height: 15px; color: var(--accent-text); }

.hero__art { position: relative; aspect-ratio: 1.3; max-width: 460px; width: 100%; margin-inline: auto; }
.hero__art::before { content: ""; position: absolute; inset: 8% 4% 0; background: radial-gradient(closest-side, rgba(247, 147, 31, .22), transparent); filter: blur(10px); }
.hero__art .card-art { position: absolute; width: 74%; }
.hero__art .card-art:nth-child(1) { left: 0; top: 28%; transform: rotate(-8deg); }
.hero__art .card-art:nth-child(2) { left: 9%; top: 15%; transform: rotate(-2deg); }
.hero__art .hero__front { position: absolute; right: 0; top: 0; width: 74%; }
.hero__art .hero__front .card-art { position: relative; width: 100%; }

/* card artwork (CSS only) */
.card-art { aspect-ratio: 1.586; border-radius: 18px; padding: 6% 7%; color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-art); position: relative; overflow: hidden; isolation: isolate; }
.card-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 85% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.card-art--accent { background: var(--accent-gradient); color: var(--on-accent); }
.card-art--ink { background: linear-gradient(140deg, #1c1c1c, #3b3b3b); }
.card-art--stone { background: linear-gradient(140deg, #ece7df, #c8bfb1); color: #262626; }
.card-art__top, .card-art__bottom { display: flex; justify-content: space-between; align-items: center; font-size: clamp(10px, 1.6vw, 12px); letter-spacing: .04em; }
.card-art__brand { font-weight: var(--fw-semibold); font-size: clamp(12px, 2vw, 15px); letter-spacing: -0.01em; }
.card-art__chip { width: 15%; aspect-ratio: 1.35; border-radius: 6px; background: linear-gradient(135deg, #f6e2a6, #c9a24a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.card-art__num { font-family: var(--font-mono); font-size: clamp(12px, 2.3vw, 17px); letter-spacing: .08em; }
.card-art__net { font-weight: 700; font-style: italic; font-size: clamp(12px, 2vw, 16px); letter-spacing: -.01em; }
.card-art__net--mc { display: inline-flex; }
.card-art__net--mc i { width: 1.35em; height: 1.35em; border-radius: 50%; background: #EB001B; }
.card-art__net--mc i + i { margin-left: -.5em; background: #F79E1B; mix-blend-mode: multiply; opacity: .95; }

@keyframes float-art { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.float-art { animation: float-art 5.5s ease-in-out infinite; transform: rotate(4deg); }

/* ---------- strip ---------- */
.strip { border-block: var(--border); background: var(--c-surface-alt); }
.strip .container { display: flex; align-items: center; gap: var(--s-8); min-height: 62px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.strip .container::-webkit-scrollbar { display: none; }
@media (max-width: 767px) { .strip { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.strip__label { color: var(--c-muted); font-size: var(--fs-small); }
.strip__item { font-weight: var(--fw-medium); color: var(--c-text-2); font-size: 15px; }
.strip__item + .strip__item::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--c-border-strong); margin-right: var(--s-8); vertical-align: middle; transform: translateY(-2px); }

/* ---------- bento ---------- */
.bento { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__feature { grid-column: span 2; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento__feature { grid-column: span 2; grid-row: span 2; } }
.tile { display: flex; flex-direction: column; gap: var(--s-2); text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.tile:hover { border-color: var(--c-border-strong); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tile .h3 { margin-top: var(--s-3); }
.tile__from { margin-top: auto; padding-top: var(--s-3); font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--accent-text); }
.tile__from .ico { display: inline; width: 14px; height: 14px; vertical-align: -2px; transition: transform var(--t-fast) var(--ease); }
.tile:hover .tile__from .ico { transform: translateX(3px); }
.bento__feature { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); min-height: 280px; background: var(--accent-gradient); color: var(--on-accent); border: 0; }
.bento__feature::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.bento__feature .badge { align-self: flex-start; background: rgba(0, 0, 0, .14); color: var(--on-accent); }
.bento__feature h3 { font-size: var(--fs-h3-lg); font-weight: var(--fw-semibold); line-height: 1.3; letter-spacing: -0.02em; margin-top: var(--s-4); }
.bento__feature p { max-width: 30em; opacity: .82; font-size: var(--fs-small); }
.bento__feature .tile__from { color: var(--on-accent); position: relative; z-index: 1; }
.bento__list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); position: relative; z-index: 1; }
.bento__list > span { font-size: 12.5px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .42); }
.bento__feature .ico--big { position: absolute; right: 28px; bottom: 24px; width: 88px; height: 88px; opacity: .22; stroke-width: 1.2; }
.center-link { text-align: center; margin-top: var(--s-8); }
.text-link { color: var(--accent-text); font-weight: var(--fw-medium); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link .ico { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- feature split ---------- */
.split { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-16); } }
.split .h2 { margin: var(--s-2) 0 var(--s-8); }
.rows { display: grid; gap: var(--s-6); margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; gap: var(--s-4); }
.rows h3 { font-size: var(--fs-h4); font-weight: var(--fw-medium); }
.rows p { margin-top: 2px; }
.mock { background: #121212; color: #fff; border-radius: var(--r-card); padding: var(--s-6); max-width: 380px; width: 100%; margin-inline: auto; box-shadow: var(--shadow-art); }
.mock__head { display: flex; justify-content: space-between; align-items: center; }
.mock__label { font-size: var(--fs-micro); color: rgba(255, 255, 255, .6); }
.mock__dots { display: flex; gap: 4px; }
.mock__dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.mock__bal { font-size: 30px; font-weight: var(--fw-semibold); letter-spacing: -0.02em; margin: 2px 0 var(--s-5); }
.mock .card-art { box-shadow: none; }
.mock__btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-4); }
.mock__btns span { text-align: center; padding: 10px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: var(--fw-medium); background: rgba(255, 255, 255, .1); }
.mock__btns span:first-child { background: var(--accent); color: var(--on-accent); }
.mock__note { font-size: 11.5px; color: rgba(255, 255, 255, .5); margin-top: var(--s-3); }

/* ---------- dark crypto panel ---------- */
.panel { display: grid; gap: var(--s-10); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-card); background: var(--dark-panel); color: #fff; }
@media (min-width: 900px) { .panel { grid-template-columns: 1.15fr 1fr; } }
.panel__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-pill); font-size: 12.5px; color: rgba(255, 255, 255, .88); }
.panel__eyebrow .ico { width: 15px; height: 15px; color: var(--accent); }
.panel .h2 { margin: var(--s-4) 0 var(--s-3); }
.panel .h2 span { color: var(--accent); }
.panel p { color: rgba(255, 255, 255, .72); margin-bottom: var(--s-6); max-width: 32em; }
.facts { display: grid; gap: var(--s-3) var(--s-6); margin: 0 0 var(--s-8); padding: 0; list-style: none; font-size: var(--fs-small); color: rgba(255, 255, 255, .9); }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { display: flex; gap: var(--s-2); align-items: center; }
.facts .ico { color: var(--accent); width: 18px; height: 18px; }
.coins { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
.coins span { padding: 7px 13px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); font-size: 13px; transition: background var(--t-fast) var(--ease); }
.coins span:hover { background: rgba(255, 255, 255, .13); }

/* ---------- steps ---------- */
.steps { display: grid; gap: var(--s-8); margin: 0; padding: 0; list-style: none; position: relative; }
@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(3, 1fr); text-align: center; }
    .steps::before { content: ""; position: absolute; top: 22px; left: 16.6%; right: 16.6%; border-top: 1px dashed var(--c-border-strong); }
}
.steps li { position: relative; }
@media (max-width: 767px) { .steps li { display: grid; grid-template-columns: 44px 1fr; gap: 0 var(--s-4); } .steps li > *:not(.step__n) { grid-column: 2; } .step__n { grid-row: span 2; } }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); background: #fff; color: var(--accent-text); font-weight: var(--fw-semibold); position: relative; }
.steps h3 { margin: var(--s-4) 0 2px; }
@media (max-width: 767px) { .steps h3 { margin-top: 10px; } }

/* ---------- pricing ---------- */
.plans { display: grid; gap: var(--s-4); align-items: stretch; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--s-8) var(--s-6) var(--s-6); transition: box-shadow var(--t-fast) var(--ease); }
.plan:hover { box-shadow: var(--shadow-hover); }
.plan--featured { border: 1.5px solid var(--accent); box-shadow: 0 18px 40px -24px rgba(242, 96, 12, .55); }
.plan--featured .badge { position: absolute; top: -12px; left: 24px; }
@media (max-width: 767px) { .plan--featured { order: -1; } }
.plan__label { font-size: var(--fs-small); color: var(--c-muted); font-weight: var(--fw-medium); }
.plan__price { font-size: 38px; font-weight: var(--fw-semibold); letter-spacing: -0.03em; margin-top: var(--s-2); line-height: 1.2; }
.plan__price small { font-size: var(--fs-small); color: var(--c-muted); font-weight: var(--fw-regular); letter-spacing: 0; }
.plan__bal { font-size: 13px; color: var(--c-text-3); margin: 4px 0 var(--s-5); }
.plan ul { list-style: none; margin: 0 0 var(--s-6); padding: var(--s-5) 0 0; border-top: var(--border); display: grid; gap: var(--s-2); font-size: var(--fs-small); color: var(--c-text-3); }
.plan li { display: flex; gap: var(--s-2); align-items: center; }
.plan li .ico { width: 16px; height: 16px; color: var(--accent-text); }
.plan .btn { margin-top: auto; width: 100%; }
.fee-note { text-align: center; margin-top: var(--s-6); }

/* ---------- facts ---------- */
.stats { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--s-6) var(--s-4); }
.stat b { display: block; font-size: clamp(28px, 2rem + 1vw, 36px); font-weight: var(--fw-semibold); letter-spacing: -0.03em; color: var(--accent-text); line-height: 1.15; }
.stat span { font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- faq ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details { border: var(--border); border-radius: var(--r-lg); background: #fff; transition: border-color var(--t-fast) var(--ease); }
.faq details[open] { border-color: var(--c-border-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 17px var(--s-5); cursor: pointer; font-weight: var(--fw-medium); font-size: 15px; line-height: 1.5; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--c-muted); transition: transform var(--t-base) var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--accent-text); }
.faq summary:focus-visible { outline-offset: 2px; border-radius: var(--r-lg); }
.faq details p { padding: 0 var(--s-5) var(--s-5); color: var(--c-muted); font-size: 14.5px; line-height: 1.7; }
.faq__more { text-align: center; margin-top: var(--s-6); }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; background: var(--accent-gradient); color: var(--on-accent); border-radius: var(--r-card); padding: clamp(40px, 6vw, 68px) var(--s-6); text-align: center; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.cta::before { width: 280px; height: 280px; left: -90px; bottom: -150px; }
.cta::after { width: 200px; height: 200px; right: -60px; top: -90px; }
.cta > * { position: relative; z-index: 1; }
.cta p { margin: var(--s-3) auto var(--s-6); max-width: 30em; opacity: .85; }
.cta__support { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-top: var(--s-6); font-size: var(--fs-small); }
.cta__support a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: var(--fw-medium); }
.cta__support a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta__support .ico { width: 16px; height: 16px; }

/* ---------- footer ---------- */
.footer { background: var(--c-ink); color: var(--c-faint); margin-top: var(--section-y); padding-top: var(--s-16); font-size: var(--fs-small); }
.footer__grid { display: grid; gap: var(--s-10); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; max-width: 340px; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__word { font-size: 20px; font-weight: var(--fw-semibold); letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.footer__word b { color: #19B5A8; font-weight: inherit; }
.footer__brand p { margin-top: var(--s-3); line-height: 1.7; }
.footer h2 { color: #fff; font-size: var(--fs-small); font-weight: var(--fw-semibold); margin-bottom: var(--s-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color var(--t-fast) var(--ease); }
.footer a:hover { color: #fff; }
.footer__contact { display: grid; gap: 6px; margin-top: var(--s-4); }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .ico { width: 16px; height: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); border-top: 1px solid rgba(255, 255, 255, .1); margin-top: var(--s-12); padding-block: var(--s-6); padding-right: 70px; }

/* ---------- cookie notice ---------- */
.cookie { position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 70; max-width: 380px; padding: var(--s-5); background: #fff; border: var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); font-size: 13.5px; color: var(--c-text-3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.cookie.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.cookie__btns { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.cookie__btns .btn { flex: 1; }
@media (max-width: 575px) {
    .cookie { left: 12px; right: 76px; bottom: 12px; padding: 14px; font-size: 12.5px; line-height: 1.5; }
    .cookie p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
    .cookie__btns { margin-top: 10px; }
    .cookie__btns .btn { min-height: 36px; padding: 7px 12px; font-size: 13px; }
}

/* ---------- detailing: header elevation + scroll reveal (JS adds the classes; content is visible without JS) ---------- */
.header { transition: box-shadow var(--t-base) var(--ease), background-color var(--t-base) var(--ease); }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .28); background: rgba(255, 255, 255, .94); }
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* responsive pass (2026-10-28) */
/* phones: shrink the hero cards so the rotated back card stays inside the screen */
@media (max-width: 559px) { .hero__art { width: 86%; } }
/* tablets (2 columns): the last family tile fills the row instead of sitting alone */
@media (min-width: 640px) and (max-width: 1023px) { .bento > :last-child:nth-child(even) { grid-column: span 2; } }
/* tablets: Cards / Company / Legal side by side under the brand */
@media (min-width: 560px) and (max-width: 899px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
