/* Vocalen landing page v2: playful, bright, rounded. Everything is scoped under .v2. */
.v2 {
 --v-bg: #fffaf2; --v-ink: #15213b; --v-muted: #5a6479; --v-line: #ece3d3;
 --v-main: #2fbf5a; --v-main-deep: #21943f;
 --v-sky: #2f8ff0; --v-sky-deep: #1d6dc0; --v-sky-soft: #e4f1ff;
 --v-sun: #ffc83d; --v-sun-soft: #fff3cc; --v-coral: #ff6b5a; --v-coral-soft: #ffe3de; --v-mint: #22c08a; --v-mint-soft: #d9f6ea;
 --v-round: "Readex Pro", "Vazirmatn", "Noto Sans Arabic", system-ui, sans-serif;   /* one font for the whole site */
 --v-r: 22px; --v-shadow: 0 2px 0 rgb(21 33 59 / .06), 0 14px 34px rgb(21 33 59 / .10);
 background: var(--v-bg); color: var(--v-ink);
}
.v2 h1, .v2 h2, .v2 h3, .v2 .v2-btn, .v2 .brand, .v2 .v2-kicker, .v2 strong { font-family: var(--v-round); }
.v2 h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.12; font-weight: 800; }
.v2 h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.2; font-weight: 800; }
.v2 h3 { font-size: 1.25rem; font-weight: 700; }
.v2-kicker { display: inline-block; justify-self: start; padding: 4px 14px; border-radius: 99px; background: var(--v-sun); color: var(--v-ink); font-weight: 700; font-size: .95rem; }
.v2-lead { font-size: 1.15rem; color: var(--v-muted); max-inline-size: 54ch; }
.v2-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* buttons: raised like a toy, they press down when tapped */
.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 48px; padding: 8px 22px; border: 0; border-radius: 16px; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, filter .12s; }
.v2-btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.v2-btn:active { transform: translateY(3px); }
.v2-btn-main { background: var(--v-main); color: #fff; box-shadow: 0 5px 0 var(--v-main-deep); }
.v2-btn-main:active { box-shadow: 0 1px 0 var(--v-main-deep); }
.v2-btn-white { background: #fff; color: var(--v-ink); box-shadow: 0 5px 0 #d9cfbd; }
.v2-btn-white:active { box-shadow: 0 1px 0 #d9cfbd; }
.v2-btn-big { min-block-size: 58px; padding-inline: 30px; font-size: 1.2rem; border-radius: 18px; }
.v2-btn-small { min-block-size: 44px; padding: 6px 16px; font-size: .98rem; border-radius: 14px; box-shadow: 0 4px 0 var(--v-main-deep); }
.v2-btn-white.v2-btn-small { box-shadow: 0 4px 0 #d9cfbd; }
[dir="rtl"] .v2-btn .icon:last-child:not(:first-child), [dir="rtl"] .v2-go .icon { transform: scaleX(-1); }

/* header */
.v2-top { position: sticky; top: 0; z-index: 20; background: rgb(255 250 242 / .88); backdrop-filter: blur(12px); }
.v2-top-row { display: flex; align-items: center; gap: 18px; min-block-size: 72px; }
.v2-nav { display: flex; gap: 4px; }
.v2-nav a { padding: 8px 14px; border-radius: 12px; text-decoration: none; color: var(--v-muted); font-weight: 600; }
.v2-nav a:hover { background: rgb(21 33 59 / .06); color: var(--v-ink); }
.v2-top-side { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }

/* hero: the park scene, Wolfi standing on its grass */
.v2-hero { position: relative; overflow: hidden; background: var(--scene) center 72% / cover no-repeat; min-block-size: min(86vh, 820px); display: grid; }
.v2-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgb(255 250 242 / .96) 0%, rgb(255 250 242 / .86) 36%, rgb(255 250 242 / 0) 64%); }
[dir="ltr"] .v2-hero::before { background: linear-gradient(to right, rgb(255 250 242 / .96) 0%, rgb(255 250 242 / .86) 36%, rgb(255 250 242 / 0) 64%); }
.v2-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding-block: 48px 0; }
.v2-hero-copy { display: grid; gap: 22px; align-content: center; padding-block-end: 48px; animation: v2-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.v2-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--v-muted); font-weight: 500; }
.v2-facts b { color: var(--v-ink); }
.v2-hero-wolfi { position: relative; align-self: end; justify-self: center; inline-size: min(380px, 100%); display: grid; justify-items: center; animation: v2-rise .9s .15s cubic-bezier(.2,.8,.2,1) both; }
.v2-wolfi { position: relative; inline-size: 100%; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; margin-block-end: clamp(-8px, -1vw, 0px); }
.v2-wolfi-vid, .v2-wolfi-still { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: contain; object-position: bottom; transition: opacity .22s; }
.v2-wolfi-vid { opacity: 0; } .v2-wolfi-vid.is-on { opacity: 1; }
.v2-wolfi-shadow { position: absolute; inset-inline-start: 25%; inline-size: 56%; inset-block-end: 2.5%; block-size: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(20 25 10 / .42), rgb(20 25 10 / .14) 60%, rgb(20 25 10 / 0)); }
.v2-wolfi:hover .v2-wolfi-vid.is-on, .v2-wolfi:hover .v2-wolfi-still { transform: translateY(-4px); transition: transform .2s, opacity .22s; }
.v2-bubble { position: relative; margin-block-end: 6px; padding: 12px 20px; border-radius: 22px; background: #fff; box-shadow: var(--v-shadow); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.v2-bubble::after { content: ''; position: absolute; inset-block-start: 100%; inset-inline-start: 50%; border: 10px solid transparent; border-block-start-color: #fff; transform: translateX(50%); }
.v2-bubble.is-pop { animation: v2-pop .4s; }

/* blocks */
.v2-block { padding-block: clamp(56px, 9vw, 110px); }
.v2-block > .wrap { display: grid; gap: 28px; }
.v2-head { display: grid; gap: 14px; }
.v2-head-row { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.v2-split { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px) !important; }
.v2-block-sky { background: var(--v-sky-soft); }
.v2-block-sun { background: var(--v-sun-soft); }
.v2-block-ink { background: var(--v-ink); color: #f2f5fb; }
.v2-block-ink .v2-lead { color: rgb(242 245 251 / .78); }

/* age paths */
.v2-tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v2-track { display: grid; grid-template-rows: auto 1fr; border-radius: var(--v-r); overflow: hidden; background: #fff; text-decoration: none; box-shadow: var(--v-shadow); transition: transform .18s, box-shadow .18s; }
.v2-track:hover { transform: translateY(-4px); box-shadow: 0 2px 0 rgb(21 33 59 / .06), 0 22px 44px rgb(21 33 59 / .16); }
.v2-track-pic { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--scene) center / cover; transition: transform .4s; }
.v2-track:hover .v2-track-pic { transform: scale(1.03); }
.v2-age { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 99px; background: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.v2-track-body { display: grid; gap: 6px; align-content: start; padding: 18px 20px 20px; border-block-start: 6px solid var(--tone); }
.v2-track-body strong { font-size: 1.4rem; line-height: 1.25; }
.v2-track-body small { color: var(--v-muted); font-size: .98rem; }
.v2-track-meta { display: flex; align-items: center; justify-content: space-between; margin-block-start: 10px; font-weight: 600; font-size: .92rem; }
.v2-go { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%; background: var(--tone); color: #fff; }
.v2-track-0 { --tone: var(--v-coral); } .v2-track-1 { --tone: var(--v-sky); } .v2-track-2 { --tone: var(--v-mint); } .v2-track-3 { --tone: #f2a516; }

/* try it: three real balloons */
.v2-try-card { display: grid; gap: 16px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--v-shadow); }
.v2-try-ask { text-align: center; font-weight: 700; font-size: 1.1rem; }
.v2-try-sky { display: flex; justify-content: center; gap: clamp(8px, 3vw, 28px); min-block-size: 230px; align-items: end; }
.v2-balloon { inline-size: clamp(80px, 11vw, 120px); border: 0; padding: 0; background: none; cursor: pointer; animation: v2-float 3.4s ease-in-out var(--d) infinite; filter: drop-shadow(0 12px 10px rgb(0 0 0 / .14)); transition: transform .2s; }
.v2-balloon img { display: block; inline-size: 100%; }
.v2-balloon:hover { transform: scale(1.06); }
.v2-balloon:focus-visible { outline: 4px solid var(--v-sky); outline-offset: 4px; border-radius: 40%; }
.v2-balloon.is-shake { animation: v2-shake .5s; }
.v2-balloon.is-popped img { animation: v2-burst .3s forwards; }
.v2-balloon.is-away { animation: v2-away .9s forwards; }
.v2-try-status { min-block-size: 1.8em; text-align: center; font-weight: 700; color: var(--v-main-deep); }

/* games: the eight places */
.v2-places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v2-place:hover { transform: translateY(-3px); } .v2-place { transition: transform .2s; }
.v2-place { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; background: var(--scene) center / cover; box-shadow: var(--v-shadow); overflow: hidden; }
.v2-place i { position: absolute; inset-block-end: 10px; inset-inline-start: 10px; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: #fff; font-style: normal; font-size: 1.4rem; box-shadow: 0 3px 10px rgb(0 0 0 / .15); }

/* pronunciation checker mock */
.v2-speak-card { position: relative; display: grid; gap: 18px; padding: 44px 30px 30px; border-radius: 28px; background: #fff; color: var(--v-ink); box-shadow: 0 30px 60px rgb(0 0 0 / .3); }
.v2-speak-line { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 1.8rem; font-weight: 700; font-family: var(--v-round); }
.v2-speak-line span { padding: 0 6px; border-radius: 10px; }
.w-ok { color: #12884a; background: #dcf7e7; } .w-close { color: #9a5b00; background: #fff0cc; } .w-fix { color: #c0392b; background: #ffe1dc; }
.v2-speak-score { display: flex; align-items: center; gap: 14px; }
.v2-speak-score b { font-family: var(--v-round); font-size: 2rem; }
.v2-meter { flex: 1; block-size: 14px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.v2-meter i { display: block; inline-size: 82%; block-size: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--v-sun), var(--v-main)); }
.v2-speak-tip { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--v-sky-soft); font-weight: 500; }
.v2-speak-tip .icon { color: var(--v-sky-deep); margin-block-start: 3px; }
.v2-mic { position: absolute; inset-block-start: -26px; inset-inline-start: 26px; display: grid; place-items: center; inline-size: 64px; block-size: 64px; border-radius: 50%; background: var(--v-coral); color: #fff; box-shadow: 0 5px 0 #d64c3d, 0 0 0 10px rgb(255 107 90 / .2); animation: v2-ping 2.2s infinite; }
.v2-mic .icon { inline-size: 30px; block-size: 30px; }

/* reasons */
.v2-reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v2-reason { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--v-r); background: var(--soft); }
.v2-reason p { color: var(--v-muted); }
.v2-reason-icon { display: grid; place-items: center; inline-size: 54px; block-size: 54px; border-radius: 18px; background: var(--tone); color: #fff; box-shadow: 0 4px 0 rgb(0 0 0 / .12); }
.v2-reason-icon .icon { inline-size: 28px; block-size: 28px; }
.v2-tone-sky { --tone: var(--v-sky); --soft: var(--v-sky-soft); } .v2-tone-sun { --tone: #f2a516; --soft: var(--v-sun-soft); }
.v2-tone-mint { --tone: var(--v-mint); --soft: var(--v-mint-soft); } .v2-tone-coral { --tone: var(--v-coral); --soft: var(--v-coral-soft); }

/* family */
.v2-family { position: relative; display: grid; gap: 14px; padding: 28px; padding-inline-end: 150px; border-radius: 28px; background: #fff; box-shadow: var(--v-shadow); }
.v2-member { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--v-bg); }
.v2-member > div { flex: 1; } .v2-member strong { display: block; line-height: 1.35; } .v2-member small { color: var(--v-muted); }
.v2-avatar { display: grid; place-items: center; flex: none; inline-size: 46px; block-size: 46px; border-radius: 50%; background: var(--v-sky); color: #fff; font-weight: 800; font-family: var(--v-round); font-size: 1.2rem; }
.v2-avatar-b { background: var(--v-coral); }
.v2-family-wolfi { position: absolute; inset-inline-end: -20px; inset-block-end: -10px; inline-size: 170px; filter: drop-shadow(0 10px 10px rgb(0 0 0 / .15)); }

/* closing call */
.v2-end { position: relative; padding-block: clamp(60px, 10vw, 120px); background: var(--scene) center 60% / cover; }
.v2-end::before { content: ''; position: absolute; inset: 0; background: rgb(21 33 59 / .45); }
.v2-end-box { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 36px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px rgb(0 0 0 / .25); }
.v2-end-wolfi { inline-size: 150px; margin-block: -60px -10px; }
.v2 .site-foot { background: var(--v-bg); }

@keyframes v2-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes v2-pop { 50% { transform: scale(1.1); } }
@keyframes v2-float { 50% { transform: translateY(-12px); } }
@keyframes v2-shake { 25% { transform: translateX(-10px) rotate(-6deg); } 75% { transform: translateX(10px) rotate(6deg); } }
@keyframes v2-burst { 60% { transform: scale(1.35); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
@keyframes v2-away { to { transform: translateY(-260px); opacity: 0; } }
@keyframes v2-ping { 0%, 100% { box-shadow: 0 5px 0 #d64c3d, 0 0 0 6px rgb(255 107 90 / .25); } 50% { box-shadow: 0 5px 0 #d64c3d, 0 0 0 16px rgb(255 107 90 / .08); } }

@media (max-width: 960px) {
 .v2-tracks, .v2-reasons { grid-template-columns: repeat(2, 1fr); }
 .v2-places { grid-template-columns: repeat(2, 1fr); }
 .v2-split, .v2-head-row { grid-template-columns: 1fr; }
 .v2-head-row > .v2-btn { justify-self: start; }
}
@media (max-width: 720px) {
 .v2-nav { display: none; }
 .v2-top-side .lang-select { display: none; }
 .v2-hero { background-position: 18% 72%; min-block-size: 0; }
 .v2-hero::before { background: linear-gradient(to bottom, rgb(255 250 242 / .95) 0%, rgb(255 250 242 / .9) 52%, rgb(255 250 242 / 0) 76%); }
 .v2-hero-grid { grid-template-columns: 1fr; padding-block-start: 28px; gap: 0; }
 .v2-hero-copy { padding-block-end: 8px; }
 .v2-hero-wolfi { inline-size: 250px; justify-self: start; }
 .v2-bubble { font-size: .98rem; }
 .v2-tracks { grid-template-columns: 1fr; }
 .v2-reasons { grid-template-columns: 1fr; }
 .v2-places { grid-template-columns: repeat(2, 1fr); }
 .v2-family { padding-inline-end: 28px; padding-block-end: 120px; }
 .v2-family-wolfi { inline-size: 130px; }
 .v2-end-box { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px; }
 .v2-end-wolfi { margin-block: -80px 0; }
 .v2-btn-big { inline-size: 100%; }
}
@media (prefers-reduced-motion: reduce) { .v2 *, .v2 *::before, .v2 *::after { animation: none !important; transition: none !important; } }

/* ───────── Entrance page for everyone (grown-up, calm, professional) ───────── */
.g2 {
 --g-bg: #f5f3ef; --g-surface: #fff; --g-ink: #0f1d2b; --g-muted: #556270; --g-line: #e4e2d8;
 --g-brand: #173b34; --g-brand-2: #0e2823; --g-lime: #c9f26c; --g-lime-deep: #9cc83c; --g-sky: #e8f1fb;
 --g-shadow: 0 1px 2px rgb(15 29 43 / .05), 0 18px 40px rgb(15 29 43 / .08);
 background: var(--g-bg); color: var(--g-ink);
}
.g2 h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.g2 h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; font-weight: 700; }
.g2 h3 { font-size: 1.12rem; font-weight: 600; }
.g2-kicker { font-size: .92rem; font-weight: 600; color: #1a7f4e; }
.g2-lead { font-size: 1.12rem; color: var(--g-muted); max-inline-size: 56ch; }
.g2-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.g2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 48px; padding: 9px 22px; border-radius: 14px; border: 1.5px solid transparent; font-weight: 600; text-decoration: none; transition: transform .15s, background-color .15s, border-color .15s, box-shadow .15s; }
.g2-btn:hover { transform: translateY(-1px); }
.g2-btn:active { transform: translateY(1px); }
/* buttons (option ط, chosen 1 Dec 2026): lime and raised like the lesson buttons, the second one white with a green edge */
.g2-btn-main { background: var(--g-lime); color: var(--g-ink); box-shadow: 0 4px 0 var(--g-lime-deep); }
.g2-btn-main:hover { box-shadow: 0 5px 0 var(--g-lime-deep); filter: brightness(1.03); }
.g2-btn-main:active { box-shadow: 0 1px 0 var(--g-lime-deep); }
.g2-btn-line { background: var(--g-surface); border-color: var(--g-brand); color: var(--g-brand); }
.g2-btn-line:hover { background: #ebf9cc; }
.g2-btn-lime { background: var(--g-lime); color: var(--g-ink); box-shadow: 0 3px 0 var(--g-lime-deep); }
.g2-btn-big { min-block-size: 56px; padding-inline: 28px; font-size: 1.06rem; }
.g2-btn-small { min-block-size: 44px; padding: 6px 16px; font-size: .95rem; }
.g2-btn-small.g2-btn-main { box-shadow: 0 3px 0 var(--g-lime-deep); }
[dir="rtl"] .g2-btn .icon:last-child:not(:first-child), [dir="rtl"] .g2-path-meta .icon { transform: scaleX(-1); }

.g2-top { position: sticky; top: 0; z-index: 20; background: rgb(247 246 241 / .9); backdrop-filter: blur(12px); border-block-end: 1px solid var(--g-line); }
.g2-top-row { display: flex; align-items: center; gap: 18px; min-block-size: 70px; }
.g2-nav { display: flex; gap: 4px; }
.g2-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--g-muted); font-weight: 500; }
.g2-nav a:hover { color: var(--g-ink); background: rgb(15 29 43 / .05); }
.g2-top-side { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }

/* hero: words on one side, the real pronunciation checker on the other */
.g2-hero { padding-block: clamp(40px, 7vw, 96px); background: radial-gradient(60% 80% at 15% 40%, #e6f3d0 0%, rgb(230 243 208 / 0) 70%), var(--g-bg); }
[dir="ltr"] .g2-hero { background: radial-gradient(60% 80% at 85% 40%, #e6f3d0 0%, rgb(230 243 208 / 0) 70%), var(--g-bg); }
.g2-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.g2-hero-copy { display: grid; gap: 22px; animation: v2-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.g2-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--g-muted); }
.g2-facts b { color: var(--g-ink); }
.g2-hero-visual { position: relative; padding: 36px 28px; animation: v2-rise .9s .12s cubic-bezier(.2,.8,.2,1) both; }
.g2-phone { position: relative; display: grid; gap: 18px; padding: 30px 26px 26px; border-radius: 28px; background: var(--g-surface); box-shadow: var(--g-shadow); border: 1px solid var(--g-line); }
.g2-phone-label { font-weight: 600; color: var(--g-muted); font-size: .92rem; }
.g2-speak-line { display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 1.7rem; font-weight: 600; }
.g2-speak-line span { padding: 0 6px; border-radius: 8px; }
.g2-score { display: flex; align-items: center; gap: 14px; }
.g2-score b { font-size: 1.8rem; }
.g2-meter, .g2-mini-meter { flex: 1; block-size: 10px; border-radius: 99px; background: #eef0ec; overflow: hidden; }
.g2-mini-meter { display: block; flex: none; }
.g2-meter i { display: block; inline-size: 82%; block-size: 100%; border-radius: 99px; background: linear-gradient(90deg, #f5a300, #1a7f4e); }
.g2-tip { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--g-sky); font-size: .96rem; }
.g2-tip .icon { color: #1d6dc0; margin-block-start: 3px; }
.g2-mic { position: absolute; inset-block-start: -24px; inset-inline-start: 24px; display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--g-brand); color: var(--g-lime); box-shadow: 0 0 0 8px rgb(23 59 52 / .1); }
.g2-mic .icon { inline-size: 26px; block-size: 26px; }
.g2-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: var(--g-surface); box-shadow: var(--g-shadow); font-size: .95rem; animation: v2-float 5s ease-in-out infinite; }
.g2-chip-a { inset-block-start: 0; inset-inline-end: 0; } .g2-chip-a .icon { color: #e8590c; }
.g2-chip-b { inset-block-end: 0; inset-inline-end: 8%; flex-direction: column; align-items: stretch; min-inline-size: 190px; animation-delay: -2.5s; }
.g2-mini-meter i { display: block; inline-size: 58%; block-size: 100%; background: var(--g-lime-deep); border-radius: 99px; }

.g2-block { padding-block: clamp(56px, 8vw, 104px); }
.g2-block > .wrap { display: grid; gap: 28px; }
.g2-block-soft { background: var(--g-surface); border-block: 1px solid var(--g-line); }
.g2-head { display: grid; gap: 12px; }
.g2-split { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px) !important; }

.g2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g2-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 22px; background: var(--g-surface); border: 1px solid var(--g-line); }
.g2-step p { color: var(--g-muted); }
.g2-step-num { position: absolute; inset-block-start: 18px; inset-inline-end: 22px; font-size: 2.4rem; font-weight: 700; color: #e4e9de; line-height: 1; }
.g2-step-icon, .g2-feat-icon { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 14px; background: #e6f3d0; color: var(--g-brand); }

.g2-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g2-feat { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; background: var(--g-bg); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.g2-feat p { color: var(--g-muted); font-size: .98rem; }
.g2-feat-link:hover { transform: translateY(-3px); box-shadow: var(--g-shadow); }

.g2-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g2-path { display: grid; gap: 6px; padding: 26px; border-radius: 22px; background: var(--g-brand); color: #eef4ea; text-decoration: none; transition: transform .18s; }
.g2-path:nth-child(2) { background: #1d3b5c; }
.g2-path:hover { transform: translateY(-3px); }
.g2-path strong { font-size: 1.5rem; } .g2-path p { color: rgb(238 244 234 / .8); }
.g2-path-age { justify-self: start; padding: 2px 12px; border-radius: 99px; background: var(--g-lime); color: var(--g-ink); font-weight: 600; font-size: .88rem; }
.g2-path-meta { display: flex; justify-content: space-between; align-items: center; margin-block-start: 10px; font-weight: 600; }
.g2-levels { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--g-line); background: var(--g-surface); }
.g2-levels li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-inline-start: 1px solid var(--g-line); }
.g2-levels li:first-child { border-inline-start: 0; }
.g2-levels strong { display: block; } .g2-levels small { color: var(--g-muted); }
.g2-level-dot { display: grid; place-items: center; flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%; background: #e6f3d0; color: var(--g-brand); font-weight: 700; }

/* the kids' door: the only colourful band on the entrance */
.g2-kids { padding-block: clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--g-bg), #fff3cc 30%, #fff3cc 70%, var(--g-bg)); }
.g2-kids .g2-kids-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 18px; border-radius: 36px; background: #fff; box-shadow: 0 30px 60px rgb(242 165 22 / .18); }
.g2-kids-scene { position: relative; display: grid; align-items: end; justify-items: center; min-block-size: 420px; border-radius: 26px; overflow: hidden; background: var(--scene) 22% 72% / cover; }
.g2-kids-scene .v2-hero-wolfi { inline-size: min(330px, 90%); }
.g2-kids-copy { display: grid; gap: 16px; padding: 12px 8px; }
.g2-kids-ages { display: flex; flex-wrap: wrap; gap: 10px; }
.g2-kids-age { display: grid; padding: 10px 18px; border-radius: 16px; text-decoration: none; color: var(--v-ink); transition: transform .15s; }
.g2-kids-age:hover { transform: translateY(-2px); }
.g2-kids-age b { font-family: var(--v-round); font-size: 1.15rem; } .g2-kids-age small { color: var(--v-muted); }
.g2-kids-age-0 { background: var(--v-coral-soft); } .g2-kids-age-1 { background: var(--v-sky-soft); }

.g2-family { display: grid; gap: 14px; padding: 26px; border-radius: 24px; background: var(--g-surface); box-shadow: var(--g-shadow); }
.g2-member { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--g-bg); }
.g2-member > div { flex: 1; } .g2-member strong { display: block; line-height: 1.35; } .g2-member small { color: var(--g-muted); }
.g2-avatar { display: grid; place-items: center; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--g-brand); color: var(--g-lime); font-weight: 700; }
.g2-avatar-b { background: #f5a300; color: var(--g-ink); }

.g2-end { padding-block: 0 clamp(56px, 8vw, 96px); }
.g2-end-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--g-brand); color: #eef4ea; }
.g2-end-box p { color: rgb(238 244 234 / .8); }
.g2 .site-foot { background: var(--g-bg); }

@media (max-width: 960px) {
 .g2-hero-grid, .g2-split, .g2-kids .g2-kids-box { grid-template-columns: 1fr; }
 .g2-steps, .g2-feats { grid-template-columns: 1fr 1fr; }
 .g2-levels { grid-template-columns: 1fr 1fr; }
 .g2-levels li:nth-child(3) { border-inline-start: 0; }
 .g2-levels li:nth-child(n+3) { border-block-start: 1px solid var(--g-line); }
}
@media (max-width: 720px) {
 .g2-nav, .g2-top-side .lang-select { display: none; }
 .g2-top-side { gap: 6px; } .g2-top-side .g2-btn-small { padding-inline: 12px; white-space: nowrap; font-size: .9rem; }
 .g2-steps, .g2-feats, .g2-paths, .g2-levels { grid-template-columns: 1fr; }
 .g2-levels li { border-inline-start: 0; border-block-start: 1px solid var(--g-line); }
 .g2-levels li:first-child { border-block-start: 0; }
 .g2-hero-visual { padding: 30px 6px 40px; }
 .g2-speak-line { font-size: 1.35rem; }
 .g2-kids-scene { min-block-size: 330px; }
 .g2-btn-big { inline-size: 100%; }
}

/* Iraqi backgrounds (Gemini, chosen 1 Dec 2026; prompts in design-preview/GEMINI-BACKGROUNDS-AR.md).
   The page carries a faint line drawing of Iraq's landmarks along its foot; the hero shows Basra's palms and the marshes
   on the side away from the text (mirrored for left-to-right languages, a tall picture on phones).
   The pictures' plain areas are #f5f3ef, the same as --g-bg, so no edge shows. */
.g2 { background: var(--g-bg) url(/media/backgrounds/iraq-landmarks.webp) center bottom / 100% auto no-repeat fixed; }
/* the picture fills the hero's height and stays on the far side, so its palms and reed houses never sit under the text */
.g2-hero, [dir="ltr"] .g2-hero { background: url(/media/backgrounds/hero-iraq.webp) left bottom / 70% auto no-repeat; }
[dir="ltr"] .g2-hero { background-image: url(/media/backgrounds/hero-iraq-ltr.webp); background-position: right bottom; }
.g2 .site-foot { background: transparent; }
@media (max-width: 720px) {
 .g2 { background-attachment: scroll; background-size: 220% auto; }
 .g2-hero, [dir="ltr"] .g2-hero { background: linear-gradient(to bottom, rgb(245 243 239 / 0) 82%, var(--g-bg)), var(--g-bg) center bottom / 100% auto no-repeat; }
}

/* The pronunciation card in the hero is smaller and sits low in the far corner, slightly see-through,
   so the palms and the marshes behind it stay visible (1 Dec 2026). The second floating chip is dropped. */
.g2-hero-grid { align-items: end; }
.g2-hero-visual { justify-self: start; inline-size: min(100%, 310px); padding: 28px 0 0; margin-block-start: clamp(120px, 16vw, 240px); }
.g2-phone { gap: 12px; padding: 22px 18px 18px; border-radius: 22px; background: rgb(255 255 255 / .9); backdrop-filter: blur(6px); }
.g2-speak-line { font-size: 1.25rem; gap: 6px 8px; }
.g2-score b { font-size: 1.3rem; }
.g2-tip { font-size: .86rem; padding: 10px 12px; }
.g2-mic { inline-size: 44px; block-size: 44px; inset-block-start: -18px; }
.g2-mic .icon { inline-size: 20px; block-size: 20px; }
.g2-chip-a { inset-block-start: 0; inset-inline-end: -12px; padding: 6px 12px; font-size: .85rem; }
.g2-chip-b { display: none; }
@media (max-width: 960px) {
 /* tablets and open foldables: the header keeps one line, the picture spans the hero's foot and the card moves next to the text */
 .g2-nav { display: none; }
 .g2-btn-small { white-space: nowrap; }
 .g2-hero, [dir="ltr"] .g2-hero { background-size: 100% auto; }
 .g2-hero-visual { margin-block-start: 0; justify-self: start; }
}
@media (max-width: 720px) {
 /* on phones the card stays to one side, so the marsh picture shows next to and under it */
 .g2-hero-visual { inline-size: 78%; padding: 26px 0 120px; justify-self: start; }
 .g2-speak-line { font-size: 1.1rem; }
}

/* Dual-screen phones opened flat (two screens side by side): the text sits on one screen and the card on the other,
   with the gap matching the hinge, so nothing is cut by the fold. */
@media (horizontal-viewport-segments: 2) {
 .g2-hero-grid { grid-template-columns: 1fr 1fr; column-gap: calc(env(viewport-segment-left 1 0, 0px) - env(viewport-segment-right 0 0, 0px) + 32px); }
}

/* free level test link under the hero buttons */
.g2-test-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 14px; background: var(--g-surface); border: 1px dashed var(--g-brand); color: inherit; text-decoration: none; }
.g2-test-link .icon { color: var(--g-brand); flex: none; }
.g2-test-link small { display: block; opacity: .75; }
.g2-test-link:hover { border-style: solid; }

/* ───────── Home page v3 (3 Dec 2026): who is learning, prices, and a calmer phone hero ───────── */
.g2-facts li { display: inline-flex; align-items: center; gap: 8px; }
.g2-facts .icon { inline-size: 20px; block-size: 20px; color: var(--g-brand); }

/* who is learning: four ages, each card opens its path */
.g2-whos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g2-who { display: grid; gap: 6px; align-content: start; padding: 22px 20px 18px; border-radius: 22px; background: var(--g-surface); border: 1px solid var(--g-line); border-block-start: 6px solid var(--tone); color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.g2-who:hover { transform: translateY(-3px); box-shadow: var(--g-shadow); }
.g2-who strong { font-size: 1.3rem; } .g2-who p { color: var(--g-muted); font-size: .98rem; }
.g2-who-age { justify-self: start; padding: 2px 12px; border-radius: 99px; background: var(--soft); font-weight: 600; font-size: .9rem; }
.g2-who-go { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 8px; font-weight: 600; color: var(--g-brand); }
.g2-who-go .icon { inline-size: 18px; block-size: 18px; }
[dir="rtl"] .g2-who-go .icon { transform: scaleX(-1); }
.g2-who-0 { --tone: #ff6b5a; --soft: #ffe3de; } .g2-who-1 { --tone: #2f8ff0; --soft: #e4f1ff; }
.g2-who-2 { --tone: #22c08a; --soft: #d9f6ea; } .g2-who-3 { --tone: var(--g-brand); --soft: #e6f3d0; }

.g2-feats { grid-template-columns: repeat(4, 1fr); }

/* prices: free, the full plan, lessons with a teacher */
.g2-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g2-price { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 22px; background: var(--g-surface); border: 1px solid var(--g-line); }
.g2-price p { color: var(--g-muted); }
.g2-price .g2-price-num { color: var(--g-ink); font-size: 1.05rem; }
.g2-price-num b { font-size: 1.9rem; font-weight: 700; }
.g2-price.is-main { background: var(--g-brand); border-color: var(--g-brand); color: #eef4ea; }
.g2-price.is-main p, .g2-price.is-main .g2-price-num { color: rgb(238 244 234 / .85); }
.g2-price.is-main .g2-price-num b { color: var(--g-lime); }
.g2-price-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.g2-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #1a7f4e; }

@media (max-width: 960px) {
 .g2-whos, .g2-feats { grid-template-columns: 1fr 1fr; }
 .g2-prices { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
 /* phones: the language stays visible, one sign-in button at the top, one big start button,
    and no card over the marsh picture: the picture shows whole under the words */
 .g2-top-side .lang-select { display: inline-block; max-inline-size: 92px; }
 .g2-signup { display: none; }
 .g2-hero-visual { display: none; }
 .g2-hero { padding-block: 28px 86vw; }
 .g2-hero-copy { gap: 18px; }
 .g2 .g2-lead { font-size: 1.14rem; }
 .g2-facts { display: grid; gap: 8px; }
 .g2-test-link { margin-top: 0; }
 .g2-whos { grid-template-columns: 1fr 1fr; gap: 10px; }
 .g2-who { padding: 16px 14px 14px; } .g2-who strong { font-size: 1.12rem; } .g2-who p { font-size: .9rem; }
 .g2-feats { grid-template-columns: 1fr; gap: 10px; }
 .g2-feat { grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
 .g2-feat .g2-feat-icon { grid-row: span 2; }
 .g2-steps { gap: 10px; } .g2-step { padding: 18px; }
 .g2-block { padding-block: 48px; }
}
@media (max-width: 400px) {
 /* narrow screens such as a closed foldable: the header still fits on one line */
 .g2-top-row { gap: 8px; }
 .g2-top-side .lang-select { max-inline-size: 78px; padding-inline: 6px; font-size: .9rem; }
 .g2-top-side .g2-btn-small { padding-inline: 10px; font-size: .86rem; }
}
@media (min-width: 721px) and (max-width: 960px) {
 /* tablets and open foldables: words on top, the whole marsh picture under them, no card over it */
 .g2-hero-visual { display: none; }
 .g2-hero { padding-block: 40px 44vw; }
}
/* prices v2 (3 Dec 2026): every length and pack listed in order, like the plans page */
.g2-price-who { font-size: .95rem; }
.g2-price-list { display: grid; gap: 6px; }
.g2-price-list li { display: flex; gap: 8px; align-items: center; color: var(--g-muted); }
.g2-price-list .icon { inline-size: 18px; block-size: 18px; color: #1a7f4e; flex: none; }
.g2-price-rows { display: grid; gap: 0; margin-block-start: 4px; }
.g2-price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; border-block-start: 1px solid var(--g-line); }
.g2-price-row:first-child { border-block-start: 0; }
.g2-price-row > span:first-child { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.g2-price-row > span:last-child { display: grid; justify-items: end; text-align: end; }
.g2-price-row b { font-size: 1.1rem; }
.g2-price-row small { font-size: .82rem; color: var(--g-muted); }
.g2-price-best { padding: 1px 8px; border-radius: 99px; background: var(--g-lime); color: var(--g-ink) !important; font-weight: 600; }
.g2-price.is-main .g2-price-row { border-color: rgb(238 244 234 / .18); }
.g2-price.is-main .g2-price-row b { color: var(--g-lime); }
.g2-price.is-main .g2-price-row small:not(.g2-price-best) { color: rgb(238 244 234 / .75); }
.g2-price-trial { font-weight: 600; color: #eef4ea !important; }

/* The faint line drawing of Iraq's landmarks on phones, foldables and tablets (3 Dec 2026): like on the computer,
   it stays at the foot of the screen while the page scrolls over it (a fixed layer, since phones ignore a fixed background). */
@media (max-width: 960px) {
 .g2 { background-image: none; }
 .g2::before { content: ''; position: fixed; inset: auto 0 0 0; block-size: 100vh; background: url(/media/backgrounds/iraq-landmarks-tablet.webp) center bottom / 100% auto no-repeat; pointer-events: none; z-index: 0; }
 .g2 > main, .g2 > footer { position: relative; z-index: 1; }
}
/* drawn for each screen (Gemini, 3 Dec 2026), made as faint as the computer's */
@media (max-width: 720px) { .g2::before { background-image: url(/media/backgrounds/iraq-landmarks-phone.webp); } }

/* The moving marsh scene (3 Dec 2026) takes the place of the still hero pictures on every screen.
   Its edges fade into the page colour, so no box or line shows. */
.g2-hero, [dir="ltr"] .g2-hero { position: relative; overflow: hidden; background: var(--g-bg); }
.g2-hero > .wrap { position: relative; z-index: 1; }
.g2-hero-film { position: absolute; left: 0; bottom: 0; inline-size: min(50%, 760px); aspect-ratio: 712 / 720; pointer-events: none;
 -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 97%), linear-gradient(to bottom, transparent 0, #000 22%, #000 82%, transparent 100%);
 -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, #000 55%, transparent 97%), linear-gradient(to bottom, transparent 0, #000 22%, #000 82%, transparent 100%); mask-composite: intersect; }
[dir="ltr"] .g2-hero-film { left: auto; right: 0; transform: scaleX(-1); }
.g2-hero-film video { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
@media (max-width: 960px) {
 /* phones, foldables and tablets: the words first, the tall scene under them */
 .g2-hero, [dir="ltr"] .g2-hero, .g2-hero:is(*) { display: flex; flex-direction: column; padding-block: 32px 0; background: var(--g-bg); }
 .g2-hero-film { position: relative; order: 2; inline-size: 100%; aspect-ratio: 720 / 820; max-block-size: 72vh; margin-block-start: -6vw;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 84%, transparent 100%); }
 .g2-hero-film video { object-position: center bottom; }
}
@media (max-width: 720px) { .g2-hero, [dir="ltr"] .g2-hero, .g2-hero:is(*) { padding-block: 24px 0; } }
@media (min-width: 721px) and (max-width: 960px) { .g2-hero-film { margin-block-start: 8px; } }

/* The marsh scene shows whole on computers too (5 Dec 2026): the pronunciation card covered the boat and the reeds,
   so the hero has no card on any screen. The checker is still shown in the features below. */
.g2-hero-visual { display: none; }
