/* Kapi: The Brave Capybara – presentation website. Sunny, candy-coloured, chunky "game button" look. */

:root {
    --cream: #fff8ec;
    --cream-2: #ffefd6;
    --ink: #3d2a1e;
    --ink-soft: #6e5546;
    --white: #ffffff;
    --sun: #ffd23f;
    --sun-dark: #e8b400;
    --yuzu: #ff9a3c;
    --yuzu-dark: #e5711a;
    --sky: #5ec8f2;
    --sky-light: #c9efff;
    --sky-dark: #2c9fd0;
    --grass: #6fd08c;
    --grass-light: #dcf7e3;
    --grass-dark: #3fae62;
    --pink: #ff7eb6;
    --pink-light: #ffe0ee;
    --grape: #8f6bf2;
    --grape-light: #ece5ff;
    --grape-dark: #6a46d6;
    --kapi: #c98b55;
    --radius: 22px;
    --radius-big: 32px;
    --shadow: 0 10px 30px rgba(61, 42, 30, 0.12);
    --font-head: 'Baloo 2', 'Trebuchet MS', sans-serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--yuzu-dark);
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.15;
    margin: 0 0 0.4em;
}

p {
    margin: 0 0 1em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

.container-narrow {
    width: min(820px, 100% - 32px);
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(3px);
}

.btn:focus-visible,
.filter:focus-visible,
.world-open:focus-visible,
.lang-pill:focus-visible {
    outline: 4px solid var(--sky-dark);
    outline-offset: 3px;
}

.btn-orange {
    background: var(--yuzu);
    color: var(--white);
    box-shadow: 0 6px 0 var(--yuzu-dark);
}

.btn-orange:active {
    box-shadow: 0 2px 0 var(--yuzu-dark);
}

.btn-ghost {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 6px 0 var(--cream-2), inset 0 0 0 3px var(--cream-2);
}

.btn-store {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 6px 0 #1d130c;
    padding-inline: 26px 30px;
}

.btn-store-icon {
    width: 26px;
    height: 26px;
}

.btn-small {
    padding: 9px 18px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 236, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--cream-2);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.logo-kapi {
    width: 56px;
}

/* "Kapi" with the localized "brave capybara" under it */
.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
}

.logo-accent {
    margin-top: 2px;
    color: var(--yuzu);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav > a:not(.btn) {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.site-nav > a:not(.btn):hover {
    background: var(--cream-2);
}

.nav-cta {
    margin-left: 8px;
}

.lang-switch {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-left: 8px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px var(--cream-2);
}

.lang-pill {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.lang-pill:hover {
    background: var(--sky-light);
    color: var(--ink);
}

.lang-pill.is-active {
    background: var(--sky);
    color: var(--white);
}

/* header language menu (ten languages do not fit as pills) */
.lang-menu {
    position: relative;
    margin-left: 8px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: inset 0 0 0 2px var(--cream-2);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.lang-current::-webkit-details-marker {
    display: none;
}

.lang-current::after {
    content: '';
    width: 7px;
    height: 7px;
    margin: -3px 0 0 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.lang-menu[open] .lang-current {
    background: var(--sky-light);
}

.lang-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 4px;
    padding: 8px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.flag {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgba(61, 42, 30, 0.15);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--ink-soft);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.lang-option:hover {
    background: var(--sky-light);
    color: var(--ink);
}

.lang-option.is-active {
    background: var(--sky);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: var(--white);
    border: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 2px var(--cream-2);
    cursor: pointer;
}

.nav-toggle-bar {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--ink);
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding: 64px 0 140px;
    background: linear-gradient(180deg, #8fdcff 0%, #c9efff 55%, #fff3d6 100%);
    overflow: hidden;
}

.hero-sky {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sun {
    position: absolute;
    top: 40px;
    right: 8%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 0 18px rgba(255, 210, 63, 0.25), 0 0 0 40px rgba(255, 210, 63, 0.12);
    animation: pulse 4s ease-in-out infinite;
}

.cloud {
    position: absolute;
    width: 140px;
    height: 44px;
    border-radius: 44px;
    background: var(--white);
    opacity: 0.95;
    animation: drift 40s linear infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: var(--white);
    border-radius: 50%;
}

.cloud::before {
    width: 64px;
    height: 64px;
    left: 22px;
    top: -30px;
}

.cloud::after {
    width: 48px;
    height: 48px;
    left: 70px;
    top: -20px;
}

.cloud-1 {
    top: 70px;
    left: -10%;
}

.cloud-2 {
    top: 200px;
    left: -30%;
    transform: scale(0.7);
    animation-duration: 55s;
}

.cloud-3 {
    top: 120px;
    left: -60%;
    transform: scale(0.85);
    animation-duration: 48s;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 48px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--grape-dark);
    font-weight: 800;
    box-shadow: 0 4px 0 var(--grape-light);
}

.hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    font-weight: 700;
}

.hero-title-pop {
    display: block;
    color: var(--yuzu);
    text-shadow: 3px 3px 0 var(--white), 6px 6px 0 rgba(229, 113, 26, 0.18);
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 34em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 24px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.chip {
    padding: 6px 14px 6px 34px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    position: relative;
}

.chip::before {
    content: '✔';
    position: absolute;
    left: 12px;
}

.chip-green {
    background: var(--grass-light);
    color: var(--grass-dark);
}

.chip-sky {
    background: var(--white);
    color: var(--sky-dark);
}

.chip-pink {
    background: var(--pink-light);
    color: #d4498a;
}

.chip-sun {
    background: #fff4c2;
    color: #a87a00;
}

.hero-visual {
    position: relative;
}

.phone {
    padding: 14px;
    border-radius: 42px;
    background: var(--ink);
    box-shadow: 0 30px 60px rgba(61, 42, 30, 0.3), inset 0 0 0 3px #5b4334;
    transform: rotate(-3deg);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    border-radius: 28px;
    width: 100%;
}

.hero-kapi {
    position: absolute;
    left: -60px;
    bottom: -70px;
    width: 180px;
    filter: drop-shadow(0 10px 10px rgba(61, 42, 30, 0.25));
    animation: hop 2.6s ease-in-out infinite;
}

.hero-free {
    position: absolute;
    top: -26px;
    right: -10px;
    margin: 0;
    padding: 14px 18px;
    max-width: 170px;
    border-radius: 50%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--pink);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.15;
    transform: rotate(10deg);
    box-shadow: 0 6px 0 #d4498a;
}

/* ---------- waves (section edges) ---------- */
.wave {
    position: absolute;
    left: 0;
    right: 0;
    height: 70px;
    background-repeat: repeat-x;
    background-size: 1200px 70px;
    pointer-events: none;
}

.wave-cream {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 35 1100 0 1200 40 V70 H0Z' fill='%23fff8ec'/%3E%3C/svg%3E");
}

.wave-top-sky,
.wave-top-grape,
.wave-top-grass {
    top: -69px;
}

.wave-top-sky {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 35 1100 0 1200 40 V70 H0Z' fill='%23c9efff'/%3E%3C/svg%3E");
}

.wave-top-grape {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 35 1100 0 1200 40 V70 H0Z' fill='%238f6bf2'/%3E%3C/svg%3E");
}

.wave-top-grass {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 35 1100 0 1200 40 V70 H0Z' fill='%23dcf7e3'/%3E%3C/svg%3E");
}

/* ---------- stats ---------- */
.stats {
    position: relative;
    z-index: 2;
    margin-top: -90px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat {
    padding: 22px 16px;
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 6px solid;
}

.stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2.8rem;
    line-height: 1;
}

.stat span {
    font-weight: 800;
    color: var(--ink-soft);
}

.stat-sun {
    border-color: var(--sun);
}

.stat-sun strong {
    color: var(--sun-dark);
}

.stat-sky {
    border-color: var(--sky);
}

.stat-sky strong {
    color: var(--sky-dark);
}

.stat-pink {
    border-color: var(--pink);
}

.stat-pink strong {
    color: #e0559a;
}

.stat-grass {
    border-color: var(--grass);
}

.stat-grass strong {
    color: var(--grass-dark);
}

/* ---------- sections ---------- */
.section {
    position: relative;
    padding: 90px 0;
}

.section-sky {
    background: var(--sky-light);
    margin-top: 70px;
}

.section-grape {
    background: var(--grape);
    margin-top: 70px;
}

.section-grass {
    background: var(--grass-light);
    margin-top: 70px;
}

.section-cream {
    background: var(--cream-2);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-title-light,
.section-lead-light {
    color: var(--white);
}

.section-lead {
    max-width: 40em;
    margin: 0 auto 44px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--ink-soft);
}

.section-lead.section-lead-light {
    color: var(--white);
    opacity: 0.92;
}

/* tones shared by cards */
.tone-sun {
    --tone: var(--sun);
    --tone-dark: var(--sun-dark);
    --tone-light: #fff4c2;
}

.tone-sky {
    --tone: var(--sky);
    --tone-dark: var(--sky-dark);
    --tone-light: var(--sky-light);
}

.tone-grass {
    --tone: var(--grass);
    --tone-dark: var(--grass-dark);
    --tone-light: var(--grass-light);
}

.tone-pink {
    --tone: var(--pink);
    --tone-dark: #e0559a;
    --tone-light: var(--pink-light);
}

.tone-grape {
    --tone: var(--grape);
    --tone-dark: var(--grape-dark);
    --tone-light: var(--grape-light);
}

.tone-yuzu {
    --tone: var(--yuzu);
    --tone-dark: var(--yuzu-dark);
    --tone-light: #ffe6cf;
}

/* ---------- steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 22px 22px;
    border-radius: var(--radius-big);
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: -16px;
    left: 50%;
    translate: -50% 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tone);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    box-shadow: 0 4px 0 var(--tone-dark);
}

.step-icon,
.card-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 6px auto 14px;
    border-radius: 50%;
    background: var(--tone-light);
    font-size: 2.6rem;
}

.step-title,
.card-title {
    font-size: 1.4rem;
}

.step p,
.card p {
    margin: 0;
    color: var(--ink-soft);
}

/* ---------- rides ---------- */
.rides {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ride {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 12px;
    border-radius: 999px;
    background: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    box-shadow: 0 5px 0 var(--tone);
    transition: transform 0.2s ease;
}

.ride:hover {
    transform: translateY(-4px) rotate(-2deg);
}

.ride-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tone-light);
    font-size: 1.5rem;
}

/* ---------- worlds ---------- */
.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: -20px 0 34px;
}

.filter {
    padding: 9px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 0 0 3px var(--cream-2);
}

.filter.is-active {
    background: var(--grape);
    color: var(--white);
    box-shadow: 0 4px 0 var(--grape-dark);
}

.worlds {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.worlds.only-free .world:not(.is-free) {
    display: none;
}

.world-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 10px 10px 18px;
    border: 0;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 7px 0 var(--tone), var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.world-open:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 12px 0 var(--tone), var(--shadow);
}

.world-art {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    background: var(--tone-light);
}

.world-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.world-open:hover .world-art img {
    transform: scale(1.06);
}

.world-num {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tone);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 3px 0 var(--tone-dark);
}

.world-free {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--grass);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 0 var(--grass-dark);
}

.world-name {
    margin: 14px 8px 4px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.3rem;
}

.world-desc {
    margin: 0 8px;
    color: var(--ink-soft);
    font-size: 0.97rem;
    line-height: 1.45;
}

/* ---------- carousel ---------- */
.carousel {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    padding: 6px 4px 50px;
    margin: 0 0 -30px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 min(820px, 88%);
    scroll-snap-align: center;
}

.slide figure {
    margin: 0;
    padding: 12px;
    border-radius: var(--radius-big);
    background: var(--ink);
    box-shadow: 0 20px 40px rgba(30, 10, 60, 0.35);
}

.slide img {
    border-radius: 22px;
}

.slide figcaption {
    padding: 14px 10px 4px;
    color: #f3ead9;
}

.slide figcaption strong {
    display: block;
    color: var(--sun);
    font-family: var(--font-head);
    font-size: 1.3rem;
}

.carousel-btn {
    position: absolute;
    top: 40%;
    z-index: 2;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--sun);
    color: var(--ink);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--sun-dark);
}

.carousel-prev {
    left: -14px;
}

.carousel-next {
    right: -14px;
}

/* ---------- cards ---------- */
.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    padding: 28px 22px;
    border-radius: var(--radius-big);
    background: var(--white);
    box-shadow: 0 7px 0 var(--tone, var(--cream-2)), var(--shadow);
    text-align: center;
}

/* ---------- parents ---------- */
.trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.trust-item {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.trust-icon {
    flex: 0 0 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--grass-light);
    font-size: 1.8rem;
}

.trust-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.trust-item p {
    margin: 0;
    color: var(--ink-soft);
}

/* ---------- price ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    border-radius: var(--radius-big);
    background: var(--white);
    box-shadow: 0 8px 0 var(--cream-2), var(--shadow);
}

.plan-best {
    background: linear-gradient(160deg, #fff6d9 0%, #ffe3c4 100%);
    box-shadow: 0 8px 0 var(--yuzu), 0 20px 40px rgba(229, 113, 26, 0.25);
    transform: scale(1.03);
}

.plan-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    translate: -50% 0;
    margin: 0;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--pink);
    color: var(--white);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 0 #d4498a;
}

.plan-title {
    font-size: 1.6rem;
    text-align: center;
}

.plan-price {
    text-align: center;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--yuzu-dark);
    line-height: 1.1;
}

.plan-note {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink-soft);
}

.plan-list {
    flex: 1;
    padding: 0;
    margin: 6px 0 26px;
    list-style: none;
}

.plan-list li {
    position: relative;
    padding: 8px 0 8px 34px;
    border-bottom: 2px dashed var(--cream-2);
    font-weight: 700;
}

.plan-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grass);
    color: var(--white);
    font-size: 0.8rem;
}

/* ---------- faq ---------- */
.faq {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 5px 0 rgba(61, 42, 30, 0.08);
}

.faq-item summary {
    position: relative;
    padding: 20px 60px 20px 24px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    translate: 0 -50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sun);
    font-size: 1.3rem;
    transition: rotate 0.2s ease;
}

.faq-item[open] summary::after {
    rotate: 45deg;
}

.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--ink-soft);
}

/* ---------- notify ---------- */
.notify {
    text-align: center;
}

.notify-kapi {
    width: 120px;
    margin: 0 auto 10px;
    animation: hop 2.6s ease-in-out infinite;
}

.notify-form {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.notify-input {
    flex: 1;
    min-width: 0;
    padding: 15px 22px;
    border: 3px solid var(--cream-2);
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    font-weight: 700;
    color: var(--ink);
}

.notify-input:focus {
    outline: none;
    border-color: var(--sky);
}

.hp {
    position: absolute;
    left: -9999px;
}

.notify-msg {
    display: none;
    margin: 18px auto 0;
    max-width: 560px;
    padding: 12px 18px;
    border-radius: 16px;
    font-weight: 800;
}

.notify-msg.is-shown {
    display: block;
}

.notify-ok {
    background: var(--grass-light);
    color: var(--grass-dark);
}

.notify-err {
    background: var(--pink-light);
    color: #c23778;
}

.notify-consent {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ---------- lightbox ---------- */
.lightbox {
    width: min(1000px, 94vw);
    padding: 14px;
    border: 0;
    border-radius: var(--radius-big);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox::backdrop {
    background: rgba(40, 20, 70, 0.7);
    backdrop-filter: blur(4px);
}

.lightbox-img {
    width: 100%;
    border-radius: 20px;
}

.lightbox-text {
    padding: 16px 10px 6px;
}

.lightbox-title {
    font-size: 1.6rem;
}

.lightbox-desc {
    margin: 0;
    color: var(--ink-soft);
}

.lightbox-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--cream-2);
}

/* ---------- other pages ---------- */
.page-card {
    margin-bottom: 20px;
    text-align: left;
}

.page-card .card-title {
    font-size: 1.3rem;
}

.page-back {
    text-align: center;
    margin-top: 30px;
}

/* ---------- footer ---------- */
.site-footer {
    position: relative;
    margin-top: 70px;
    padding: 40px 0 30px;
    background: var(--ink);
    color: #f3ead9;
}

.footer-wave {
    position: absolute;
    top: -69px;
    left: 0;
    right: 0;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C150 0 300 0 450 35 S750 70 900 35 1100 0 1200 40 V70 H0Z' fill='%233d2a1e'/%3E%3C/svg%3E");
    background-size: 1200px 70px;
    background-repeat: repeat-x;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-name {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    margin: 0;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-nav a {
    color: #f3ead9;
    font-weight: 700;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--sun);
}

.lang-switch-footer {
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.lang-switch-footer .lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f3ead9;
}

.lang-switch-footer .lang-pill.is-active {
    background: var(--yuzu);
}

.footer-copy {
    margin-top: 28px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ---------- animations ---------- */
@keyframes float {
    0%,
    100% {
        transform: rotate(-3deg) translateY(0);
    }
    50% {
        transform: rotate(-2deg) translateY(-12px);
    }
}

@keyframes hop {
    0%,
    60%,
    100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-24px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes drift {
    from {
        translate: 0 0;
    }
    to {
        translate: 160vw 0;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 16px 20px;
        background: var(--cream);
        border-bottom: 3px solid var(--cream-2);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a:not(.btn) {
        padding: 12px 14px;
    }

    .lang-menu {
        margin: 8px 0;
    }

    .lang-current {
        justify-content: center;
    }

    .lang-list {
        position: static;
        margin-top: 8px;
        box-shadow: inset 0 0 0 2px var(--cream-2);
    }

    .nav-cta {
        margin: 6px 0 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .hero-actions,
    .chips {
        justify-content: center;
    }

    .hero-visual {
        max-width: 640px;
        margin: 20px auto 0;
    }

    .steps,
    .cards-4 {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 34px;
    }

    .trust {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding: 36px 0 120px;
    }

    .sun {
        width: 80px;
        height: 80px;
        top: 20px;
    }

    .hero-kapi {
        width: 110px;
        left: -10px;
        bottom: -50px;
    }

    .hero-free {
        max-width: 120px;
        font-size: 0.85rem;
        padding: 10px;
        right: -6px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat strong {
        font-size: 2.2rem;
    }

    .section {
        padding: 64px 0;
    }

    .steps,
    .cards-4,
    .trust {
        grid-template-columns: 1fr;
    }

    .plans {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .plan-best {
        transform: none;
    }

    .notify-form {
        flex-direction: column;
    }

    .carousel-btn {
        display: none;
    }

    .slide {
        flex-basis: 92%;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-kapi {
        width: 46px;
    }
}
