:root {
    --primary-dark: #5c1a26;
    --primary-light: #a8324a;
    --primary-color: #802433;
    --wine: #802433;
    --wine-dark: #4d111e;
    --wine-deep: #2e0c14;
    --wine-light: #a83a4d;
    --gold: #f5bd3e;
    --cream: #fbf7f0;
    --cream-deep: #f1eadf;
    --paper: #fffdf9;
    --ink: #251d1d;
    --muted: #6f6463;
    --line: rgba(74, 39, 42, 0.13);
    --success: #237a57;
    --white: #fff;
    --shadow-sm: 0 12px 30px rgba(61, 25, 31, 0.08);
    --shadow-md: 0 24px 60px rgba(61, 25, 31, 0.13);
    --shadow-lg: 0 34px 90px rgba(61, 25, 31, 0.2);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --shell: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
    scroll-snap-type: y mandatory;
}

body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(245, 189, 62, 0.82);
    outline-offset: 4px;
}

::selection {
    background: var(--wine);
    color: var(--white);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 15px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--wine-dark);
    color: white;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.section-shell,
.nav-shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.section {
    padding: 112px 0;
}

.section.instagram-section,
.section.faq-section {
    padding-block: 80px;
}

main > section,
.site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
    border-color: var(--line);
    background: rgba(251, 247, 240, 0.92);
    box-shadow: 0 8px 28px rgba(61, 25, 31, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.page-scroll-progress {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    overflow: hidden;
    pointer-events: none;
}

.page-scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--wine), var(--gold));
    box-shadow: 0 0 12px rgba(128, 36, 51, 0.35);
    will-change: transform;
}

.nav-shell {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wine-dark);
    font-family: 'Lobster';
    font-size: 1.27rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 34px);
}

.primary-navigation > a,
.text-link {
    position: relative;
    color: #4f4241;
    font-size: 0.91rem;
    font-weight: 650;
}

.primary-navigation > a::after,
.text-link::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: var(--wine);
    transition: transform 180ms ease;
}

.primary-navigation > a:hover::after,
.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.desktop-auth-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.mobile-auth-actions,
.nav-toggle {
    display: none;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 11px 22px;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 0.91rem;
    font-weight: 750;
    line-height: 1.2;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button svg,
.inline-link svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button--small {
    min-height: 42px;
    padding: 10px 19px;
}

.button--large {
    min-height: 54px;
    padding: 15px 25px;
}

.button--primary {
    background: var(--wine);
    box-shadow: 0 9px 22px rgba(128, 36, 51, 0.22);
    color: var(--white);
}

.button--primary:hover {
    background: var(--wine-dark);
    box-shadow: 0 13px 28px rgba(128, 36, 51, 0.28);
}

.button--soft {
    border-color: rgba(128, 36, 51, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: var(--wine-dark);
}

.button--soft:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.button--ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--wine-dark);
}

.button--light {
    background: var(--white);
    color: var(--wine-dark);
    box-shadow: 0 14px 35px rgba(30, 6, 11, 0.2);
}

.button--outline-light {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.button--outline-light:hover {
    background: rgba(255, 255, 255, 0.13);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 154px 0 62px;
    background:
        radial-gradient(circle at 12% 20%, rgba(245, 189, 62, 0.09), transparent 26%),
        linear-gradient(180deg, #fbf7f0 0%, #f9f4ec 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.35;
    background-image: radial-gradient(rgba(128, 36, 51, 0.18) 0.7px, transparent 0.7px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to right, black, transparent 48%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
    pointer-events: none;
}

.hero-glow--one {
    top: 15%;
    right: -130px;
    width: 430px;
    height: 430px;
    background: rgba(128, 36, 51, 0.08);
}

.hero-glow--two {
    right: 30%;
    bottom: -220px;
    width: 380px;
    height: 380px;
    background: rgba(245, 189, 62, 0.14);
}

.hero-grid {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.91fr) minmax(500px, 1.09fr);
    gap: clamp(48px, 7vw, 94px);
}

.hero-copy {
    font-family: "DM Sans", sans-serif;
}

.eyebrow {
    display: flex;
    margin: 0 0 18px;
    align-items: center;
    gap: 9px;
    color: var(--wine);
    font-family: "Manrope", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
}

.eyebrow--center {
    justify-content: center;
}

.eyebrow--light {
    color: #f9d1d8;
}

.hero h1,
.section-heading h2,
.flashcards-copy h2,
.reviews-heading h2,
.faq-intro h2,
.final-cta h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -0.052em;
    line-height: 1.05;
}

.hero h1 {
    max-width: 650px;
    color: var(--primary-dark);
    font-size: clamp(3.4rem, 5.2vw, 5rem);
}

.hero-copy h1 {
    font-family: "lobster";
    letter-spacing: 0.01em;
    font-weight: 400;


}

.hero h1 em {
    position: relative;
    color: var(--primary-dark);
    font-family: "Lobster", cursive;
    font-weight: 400;
    letter-spacing: 0.01em;
    font-style: normal;
    white-space: nowrap;
}

.hero h1 em::after {
    position: absolute;
    right: 2px;
    bottom: 2px;
    left: 1px;
    height: 8px;
    border-radius: 999px;
    content: "";
    opacity: 0.55;
    background: var(--gold);
    z-index: -1;
}

.hero-description {
    max-width: 590px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 1.13rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    margin-top: 34px;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-notes {
    display: flex;
    margin: clamp(22px, 3vw, 36px) 0 0;
    border-top: 1px solid rgba(128, 36, 51, 0.12);
    padding: 18px 0 0;
    flex-wrap: wrap;
    gap: 14px 28px;
    color: #695b5a;
    font-size: 0.87rem;
    list-style: none;
}

.hero-notes li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-notes svg {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 3px;
    background: rgba(35, 122, 87, 0.12);
    fill: none;
    stroke: var(--success);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.hero-product {
    position: relative;
    width: calc(100% + 36px);
    min-width: 0;
    margin-left: -18px;
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(128, 36, 51, 0.11);
    border-radius: 50%;
}

.orbit--one {
    inset: -65px -30px -55px 20px;
}

.orbit--two {
    inset: -28px 25px -24px -45px;
    border-color: rgba(245, 189, 62, 0.22);
}

.product-window {
    overflow: hidden;
    min-height: 465px;
    border: 1px solid rgba(91, 37, 45, 0.13);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
}

.product-window.product-window--video {
    min-height: 0;
    border: 5px solid #fbf7f1;
    background: #fbf7f1;
    box-shadow:
        0 0 0 1px rgba(91, 37, 45, 0.08),
        0 32px 78px rgba(61, 25, 31, 0.2),
        0 9px 25px rgba(61, 25, 31, 0.1);
}

.product-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #190a0e;
    object-fit: contain;
}

.window-bar {
    display: grid;
    height: 54px;
    align-items: center;
    border-bottom: 1px solid #e8ddd6;
    padding: 0 17px;
    background: linear-gradient(180deg, #fffefb 0%, #f7f0e9 100%);
    grid-template-columns: 1fr auto 1fr;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span,
.demo-browser__bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9cdca;
}

.window-dots span:first-child,
.demo-browser__bar span:first-child {
    background: #e7a4ad;
}

.window-dots span:nth-child(2),
.demo-browser__bar span:nth-child(2) {
    background: #f1ce7e;
}

.window-dots span:last-child,
.demo-browser__bar span:last-child {
    background: #8fceb5;
}

.window-title {
    color: #766968;
    font-size: 0.74rem;
    font-weight: 700;
}

.live-pill {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 9px;
    background: #f8edef;
    color: var(--wine);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-video-toggle {
    display: grid;
    width: 32px;
    height: 32px;
    justify-self: end;
    place-items: center;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #766968;
    cursor: pointer;
    font: inherit;
    transition: color 180ms ease, transform 180ms ease;
}

.product-video-toggle:hover {
    transform: scale(1.08);
    background: transparent;
    color: var(--wine);
}

.product-video-toggle:disabled {
    transform: none;
    opacity: 0.35;
    cursor: default;
}

.product-video-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.product-video-toggle .video-play-icon,
.product-video-toggle.is-paused .video-pause-icon {
    display: none;
}

.product-video-toggle.is-paused .video-play-icon {
    display: block;
}

.live-pill i,
.motion-demo__header span > i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wine-light);
    box-shadow: 0 0 0 4px rgba(168, 58, 77, 0.12);
}

.product-layout {
    display: grid;
    min-height: 411px;
    grid-template-columns: 64px 1fr;
}

.product-sidebar {
    display: flex;
    align-items: center;
    border-right: 1px solid #eee7e2;
    padding: 20px 12px;
    flex-direction: column;
    gap: 20px;
    background: #fcfaf7;
}

.sidebar-logo img {
    width: 34px;
    height: 34px;
}

.sidebar-item {
    position: relative;
    width: 22px;
    height: 22px;
    border: 1px solid #dfd5d0;
    border-radius: 7px;
}

.sidebar-item::before,
.sidebar-item::after {
    position: absolute;
    content: "";
    background: #cbbeba;
}

.sidebar-item::before {
    top: 6px;
    left: 5px;
    width: 10px;
    height: 2px;
    border-radius: 3px;
}

.sidebar-item::after {
    top: 11px;
    left: 5px;
    width: 7px;
    height: 2px;
    border-radius: 3px;
}

.sidebar-item.is-active {
    border-color: var(--wine);
    background: var(--wine);
    box-shadow: 0 7px 16px rgba(128, 36, 51, 0.2);
}

.sidebar-item.is-active::before,
.sidebar-item.is-active::after {
    background: #fff;
}

.quiz-preview {
    padding: 28px 30px 25px;
}

.quiz-preview__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.subject-pill {
    border-radius: 999px;
    padding: 6px 10px;
    background: #f7e9ec;
    color: var(--wine);
    font-size: 0.68rem;
    font-weight: 800;
}

.question-number {
    color: #887b79;
    font-size: 0.7rem;
    font-weight: 600;
}

.progress-track {
    height: 5px;
    margin-top: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #efe9e5;
}

.progress-track span {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--wine), var(--wine-light));
    transition: width 500ms ease;
}

.quiz-preview__question {
    min-height: 54px;
    margin: 24px 0 17px;
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.45;
}

.answer-list {
    display: grid;
    gap: 9px;
}

.preview-answer {
    display: flex;
    width: 100%;
    min-height: 45px;
    align-items: center;
    gap: 11px;
    border: 1px solid #e9e1dc;
    border-radius: 11px;
    padding: 9px 12px;
    background: white;
    color: #504544;
    text-align: left;
    transition: border 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}

.preview-answer span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 7px;
    background: #f2edE9;
    color: #817473;
    font-size: 0.68rem;
    font-weight: 800;
}

.preview-answer.is-correct {
    border-color: rgba(35, 122, 87, 0.38);
    transform: translateX(4px);
    background: #ecf8f2;
    color: #1c6548;
}

.preview-answer.is-correct span {
    background: var(--success);
    color: white;
}

.preview-answer.is-wrong {
    border-color: rgba(128, 36, 51, 0.35);
    background: #fff1f3;
    color: var(--wine);
}

.preview-answer.is-wrong span {
    background: var(--wine);
    color: white;
}

.answer-feedback {
    margin-top: 13px;
    color: #8a7c79;
    font-size: 0.72rem;
    transition: color 180ms ease;
}

.answer-feedback.is-success {
    color: var(--success);
    font-weight: 700;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(105, 49, 57, 0.1);
    border-radius: 14px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    animation: float 4.2s ease-in-out infinite;
}

.floating-card span:last-child {
    display: flex;
    color: #807270;
    font-size: 0.65rem;
    line-height: 1.35;
    flex-direction: column;
}

.floating-card strong {
    color: var(--ink);
    font-size: 0.75rem;
}

.floating-card--score {
    right: -36px;
    bottom: 62px;
}

.floating-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #e9f7f0;
}

.floating-icon svg {
    width: 18px;
    fill: none;
    stroke: var(--success);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.floating-card--streak {
    top: 78px;
    left: -42px;
    animation-delay: -1.8s;
}

.streak-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #fff2ce;
    color: #8d5b00;
    font-weight: 800;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.value-strip {
    position: relative;
    border-top: 1px solid rgba(128, 36, 51, 0.08);
    border-bottom: 1px solid rgba(128, 36, 51, 0.08);
    background: rgba(255, 253, 249, 0.78);
}

.value-strip__grid {
    display: grid;
    padding-block: 27px;
    grid-template-columns: repeat(4, 1fr);
}

.value-strip__grid > div {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-right: 1px solid var(--line);
}

.value-strip__grid > div:last-child {
    border-right: 0;
}

.value-strip strong {
    color: var(--wine);
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.value-strip__grid > div:nth-child(2) > strong {
    font-size: 2rem;
    line-height: 0.8;
}

.value-strip span {
    max-width: 118px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.process-section {
    overflow: hidden;
    padding-block: 50px;
    background: var(--paper);
}

.process-section > .section-shell {
    width: min(calc(100% - 40px), 1240px);
}

.mode-showcase {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 1.02fr);
    gap: clamp(26px, 3vw, 38px);
    font-family: 'Poppins', sans-serif;

}

.mode-showcase__media {
    min-width: 0;
}

.mode-product-window {
    position: relative;
    width: 100%;
}

.mode-product-video {
    transform: scale(1);
    transition:
        opacity 350ms cubic-bezier(0.4, 0, 0.2, 1),
        transform 470ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.mode-product-video.is-switching {
    opacity: 0;
    transform: scale(1.008);
}

.mode-video-status {
    position: absolute;
    z-index: 2;
    right: 5px;
    bottom: 5px;
    left: 5px;
    display: grid;
    min-height: calc(100% - 59px);
    place-content: center;
    padding: 30px;
    background:
        radial-gradient(circle at 50% 15%, rgba(168, 50, 74, 0.16), transparent 38%),
        #2d1117;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.mode-video-status[hidden] {
    display: none;
}

.mode-video-status span {
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 750;
}

.mode-video-status strong {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    font-weight: 600;
}

.mode-showcase__content h2 {
    max-width: 590px;
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.2rem, 3.7vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.052em;
    line-height: 1.06;
}

.mode-showcase__content h2 span {
    display: block;
    white-space: nowrap;
}

.mode-showcase__content > p:not(.eyebrow) {
    max-width: 510px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.mode-timeline {
    position: relative;
    display: grid;
    margin-top: 32px;
    gap: 7px;
}

.mode-timeline::before {
    position: absolute;
    z-index: 0;
    top: 31px;
    bottom: 31px;
    left: 32px;
    border-left: 1.5px dashed rgba(128, 36, 51, 0.28);
    content: "";
}

.mode-option {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    min-height: 76px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 9px 11px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    text-align: left;
    transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.mode-option:hover {
    transform: translateX(3px);
    background: rgba(128, 36, 51, 0.035);
}

.mode-option.is-active {
    overflow: hidden;
    border-color: rgba(128, 36, 51, 0.11);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(61, 25, 31, 0.075);
}

.mode-option__number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1.5px solid rgba(128, 36, 51, 0.25);
    border-radius: 50%;
    background: var(--paper);
    color: var(--wine);
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    transition: border-color 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.mode-option.is-active .mode-option__number {
    border-color: var(--wine);
    background: var(--wine);
    box-shadow: 0 0 0 6px rgba(128, 36, 51, 0.09), 0 8px 18px rgba(128, 36, 51, 0.2);
    color: white;
}

.mode-option__copy {
    display: block;
    min-width: 0;
}

.mode-option__copy strong {
    display: block;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    font-size: 0.94rem;
    line-height: 1.25;
}

.mode-option__copy small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.mode-showcase__note {
    display: flex;
    max-width: 880px;
    margin: clamp(28px, 3vw, 42px) auto 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary-dark);
    font-family: "Manrope", sans-serif;
    font-size: clamp(0.9rem, 1.35vw, 1.05rem);
    font-weight: 650;
    line-height: 1.6;
    text-align: center;
}

.mode-showcase__note::before {
    width: 30px;
    height: 2px;
    flex: 0 0 30px;
    border-radius: 999px;
    background: var(--gold);
    content: "";
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading--center {
    max-width: 740px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.flashcards-copy h2,
.reviews-heading h2,
.faq-intro h2 {
    font-size: clamp(2.3rem, 4vw, 3.55rem);
}

.section-heading > p:last-child,
.section-heading--split > p,
.reviews-heading > div > p:last-child,
.faq-intro > p,
.flashcards-copy > p {
    color: var(--muted);
    font-size: 1.04rem;
}

.section-heading--center > p:last-child {
    max-width: 640px;
    margin: 20px auto 0;
}

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

.process-card {
    position: relative;
    min-height: 306px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.process-card--featured {
    border-color: transparent;
    background: linear-gradient(145deg, var(--wine) 0%, var(--wine-dark) 100%);
    box-shadow: 0 24px 50px rgba(128, 36, 51, 0.21);
    color: white;
}

.process-card::after {
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(128, 36, 51, 0.08);
    border-radius: 50%;
    content: "";
}

.process-card--featured::after {
    border-color: rgba(255, 255, 255, 0.12);
}

.process-number {
    position: absolute;
    top: 22px;
    right: 26px;
    color: rgba(128, 36, 51, 0.13);
    font-family: "Manrope", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
}

.process-card--featured .process-number {
    color: rgba(255, 255, 255, 0.15);
}

.process-icon,
.feature-item__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    background: #f8edef;
    color: var(--wine);
}

.process-card--featured .process-icon {
    background: rgba(255, 255, 255, 0.13);
    color: #ffd36e;
}

.process-icon svg,
.feature-item__icon svg {
    width: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.process-card h3 {
    margin: 40px 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    line-height: 1.25;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.process-card--featured p {
    color: rgba(255, 255, 255, 0.75);
}

.showcase-section {
    background:
        radial-gradient(circle at 100% 10%, rgba(128, 36, 51, 0.06), transparent 30%),
        var(--cream);
}

.section.showcase-section {
    padding-block: 50px;
}

.section-heading--split {
    display: grid;
    align-items: end;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.section-heading--split > p {
    margin: 0 0 4px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.motion-demo {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-md);
}

.motion-demo__header {
    display: flex;
    height: 54px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee7e2;
    padding: 0 18px;
}

.motion-demo__header > span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7a6c6a;
    font-size: 0.72rem;
    font-weight: 750;
}

.demo-toggle {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #e9e1dd;
    border-radius: 50%;
    padding: 0;
    background: #fcfaf7;
    color: var(--wine);
    cursor: pointer;
}

.demo-toggle svg {
    width: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.demo-toggle .play-icon {
    display: none;
}

.motion-demo.is-paused .demo-toggle .pause-icon {
    display: none;
}

.motion-demo.is-paused .demo-toggle .play-icon {
    display: block;
}

.motion-demo__canvas {
    position: relative;
    height: 335px;
    overflow: hidden;
    padding: 35px 38px;
    background:
        linear-gradient(rgba(128, 36, 51, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 36, 51, 0.025) 1px, transparent 1px),
        #f8f3ec;
    background-size: 20px 20px;
}

.motion-demo__video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #190a0e;
}

.motion-demo__video {
    display: block;
    width: 100%;
    height: 100%;
    background: #190a0e;
    object-fit: contain;
}

.motion-demo--tools .motion-demo__canvas {
    background-color: #f3e9e9;
}

.demo-browser {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(70, 33, 39, 0.11);
    border-radius: 15px;
    background: white;
    box-shadow: 0 18px 38px rgba(70, 33, 39, 0.13);
}

.demo-browser__bar {
    display: flex;
    height: 34px;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #eee8e4;
    padding: 0 12px;
}

.demo-browser__bar span {
    width: 6px;
    height: 6px;
}

.demo-question {
    padding: 19px 22px;
}

.demo-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-kicker span {
    color: var(--wine);
    font-size: 0.59rem;
    font-weight: 800;
    text-transform: uppercase;
}

.demo-kicker b {
    color: #8b7c79;
    font-size: 0.6rem;
}

.demo-question > p {
    margin: 11px 0 12px;
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 750;
}

.demo-options {
    display: grid;
    gap: 7px;
}

.demo-options > span {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ebe3df;
    border-radius: 8px;
    padding: 6px 9px;
    color: #675a58;
    font-size: 0.62rem;
}

.demo-option-correct {
    animation: choose-answer 5s ease-in-out infinite;
}

.demo-option-correct i {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: var(--success);
    color: white;
    font-style: normal;
    opacity: 0;
    animation: reveal-check 5s ease-in-out infinite;
}

.demo-success {
    margin-top: 10px;
    border-radius: 7px;
    padding: 7px 9px;
    transform: translateY(6px);
    background: #e9f7f0;
    color: var(--success);
    font-size: 0.6rem;
    font-weight: 700;
    opacity: 0;
    animation: reveal-feedback 5s ease-in-out infinite;
}

.demo-cursor {
    position: absolute;
    top: 155px;
    left: 47%;
    width: 27px;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.17));
    animation: cursor-action 5s ease-in-out infinite;
}

.demo-cursor svg {
    fill: white;
    stroke: var(--wine-dark);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

@keyframes cursor-action {
    0%, 12% { transform: translate(115px, 80px); opacity: 0; }
    24% { opacity: 1; }
    42%, 58% { transform: translate(15px, 39px) scale(1); opacity: 1; }
    48% { transform: translate(15px, 39px) scale(0.82); }
    76%, 100% { transform: translate(15px, 39px); opacity: 0; }
}

@keyframes choose-answer {
    0%, 42% { border-color: #ebe3df; background: white; color: #675a58; }
    50%, 82% { border-color: rgba(35, 122, 87, 0.45); background: #e9f7f0; color: var(--success); }
    92%, 100% { border-color: #ebe3df; background: white; color: #675a58; }
}

@keyframes reveal-check {
    0%, 45% { opacity: 0; transform: scale(0.5); }
    52%, 82% { opacity: 1; transform: scale(1); }
    92%, 100% { opacity: 0; transform: scale(0.5); }
}

@keyframes reveal-feedback {
    0%, 48% { opacity: 0; transform: translateY(6px); }
    58%, 82% { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(6px); }
}

.tools-panel {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(70, 33, 39, 0.11);
    border-radius: 15px;
    padding: 20px;
    background: white;
    box-shadow: 0 18px 38px rgba(70, 33, 39, 0.13);
}

.tools-panel__tabs {
    display: flex;
    gap: 9px;
    border-bottom: 1px solid #eee7e3;
    padding-bottom: 10px;
}

.tools-panel__tabs span {
    border-radius: 99px;
    padding: 5px 9px;
    color: #8a7d7a;
    font-size: 0.61rem;
    font-weight: 750;
}

.tools-panel__tabs .is-active {
    background: #f6e8eb;
    color: var(--wine);
}

.term-card {
    position: absolute;
    right: 22px;
    left: 22px;
    border: 1px solid #ebe3df;
    border-radius: 11px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(61, 25, 31, 0.07);
}

.term-card span {
    color: var(--wine);
    font-family: "Manrope", sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
}

.term-card p {
    margin: 5px 0 0;
    color: #776967;
    font-size: 0.59rem;
    line-height: 1.5;
}

.term-card--one {
    top: 75px;
    animation: term-one 6s ease-in-out infinite;
}

.term-card--two {
    top: 167px;
    animation: term-two 6s ease-in-out infinite;
}

.saved-toast {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 10px;
    transform: translateY(12px);
    background: var(--wine-dark);
    box-shadow: 0 9px 22px rgba(61, 25, 31, 0.24);
    color: white;
    font-size: 0.58rem;
    font-weight: 700;
    opacity: 0;
    animation: saved-toast 6s ease-in-out infinite;
}

.saved-toast b {
    color: #ffd36e;
}

@keyframes term-one {
    0%, 18% { transform: translateY(0); border-color: #ebe3df; }
    32%, 60% { transform: translateY(-4px); border-color: rgba(128, 36, 51, 0.4); }
    78%, 100% { transform: translateY(0); border-color: #ebe3df; }
}

@keyframes term-two {
    0%, 34% { transform: translateY(10px); opacity: 0.45; }
    50%, 78% { transform: translateY(0); opacity: 1; }
    92%, 100% { transform: translateY(10px); opacity: 0.45; }
}

@keyframes saved-toast {
    0%, 28% { transform: translateY(12px); opacity: 0; }
    40%, 72% { transform: translateY(0); opacity: 1; }
    84%, 100% { transform: translateY(12px); opacity: 0; }
}

.motion-demo.is-paused *,
.motion-demo.is-paused *::before,
.motion-demo.is-paused *::after {
    animation-play-state: paused !important;
}

.motion-demo__copy {
    padding: 27px 29px 30px;
}

.feature-tag {
    display: inline-flex;
    border-radius: 99px;
    padding: 5px 9px;
    background: #f8edef;
    color: var(--wine);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.motion-demo__copy h3 {
    margin: 13px 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: 1.28rem;
    letter-spacing: -0.025em;
}

.motion-demo__copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.feature-row {
    display: grid;
    margin-top: 70px;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-item {
    padding-right: 12px;
}

.feature-item__icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
}

.feature-item__icon svg {
    width: 22px;
}

.feature-item h3 {
    margin: 17px 0 7px;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.flashcards-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 16%, rgba(245, 181, 62, 0.1), transparent 27%),
        radial-gradient(circle at 93% 82%, rgba(128, 36, 51, 0.09), transparent 30%),
        var(--paper);
}

.section.flashcards-section {
    padding-block: 50px;
}

.flashcards-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.28;
    background-image: radial-gradient(rgba(128, 36, 51, 0.13) 0.7px, transparent 0.7px);
    background-size: 25px 25px;
    mask-image: linear-gradient(120deg, black, transparent 48%);
    pointer-events: none;
}

.flashcards-orb {
    position: absolute;
    border: 1px solid rgba(128, 36, 51, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.flashcards-orb--one {
    top: -190px;
    left: -175px;
    width: 430px;
    height: 430px;
    box-shadow: 0 0 0 58px rgba(128, 36, 51, 0.018);
}

.flashcards-orb--two {
    right: -130px;
    bottom: -175px;
    width: 350px;
    height: 350px;
    border-color: rgba(245, 181, 62, 0.15);
}

.flashcards-layout {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
    gap: clamp(58px, 7vw, 102px);
}

.flashcards-preview {
    position: relative;
    min-width: 0;
    padding-bottom: 0;
    perspective: 1400px;
}

.flashcards-window {
    overflow: hidden;
    border: 1px solid rgba(128, 36, 51, 0.14);
    border-radius: 25px;
    background: #fff;
    box-shadow:
        0 34px 70px rgba(55, 20, 27, 0.16),
        0 10px 24px rgba(55, 20, 27, 0.08);
    transform: rotateY(-2deg) rotateX(0.6deg);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease;
}

.flashcards-window__bar {
    display: grid;
    height: 50px;
    align-items: center;
    border-bottom: 1px solid #eee6e2;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.96);
    color: #77696a;
    font-size: 0.68rem;
    grid-template-columns: 1fr auto 1fr;
}

.flashcards-window__bar > strong {
    color: #4d3338;
    font-size: 0.7rem;
    letter-spacing: 0.015em;
}

.flashcards-window__dots {
    display: flex;
    gap: 5px;
}

.flashcards-window__dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d8c9c5;
}

.flashcards-window__dots i:first-child { background: #a8324a; }
.flashcards-window__dots i:nth-child(2) { background: #e9a43c; }
.flashcards-window__dots i:last-child { background: #6e9e82; }

.flashcards-window__status {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 7px;
    font-weight: 700;
}

.flashcards-window__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(35, 122, 87, 0.1);
}

.flashcards-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2880 / 1618;
    background: #f6f2f0;
    isolation: isolate;
    touch-action: pan-y;
}

.flashcards-stage::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 20% 82%, rgba(128, 36, 51, 0.025));
    content: "";
    pointer-events: none;
}

.flashcards-panel {
    position: absolute;
    z-index: 1;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: translate3d(18px, 0, 0) scale(1.012);
    visibility: hidden;
    transition:
        opacity 430ms cubic-bezier(0.4, 0, 0.2, 1),
        transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 430ms;
}

.flashcards-panel.is-active {
    z-index: 2;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    visibility: visible;
    transition-delay: 0s;
}

.flashcards-panel img {
    display: block;
    width: 100%;
    height: 100%;
    background: #f6f2f0;
    object-fit: cover;
}

.flashcards-controls {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid #eee6e2;
    padding: 10px 14px 10px 16px;
    background: #fff;
    gap: 18px;
}

.flashcards-controls__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.flashcards-controls__copy strong {
    color: var(--wine);
    font-size: 0.72rem;
    line-height: 1.25;
}

.flashcards-controls__copy small {
    overflow: hidden;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.59rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flashcards-pagination {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
}

.flashcards-pagination-shell {
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    margin: 14px auto 0;
    padding: 0;
}

.flashcards-pagination button {
    position: relative;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.flashcards-pagination button::before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5c8c8;
    content: "";
    transition: width 220ms ease, height 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.flashcards-pagination button::after {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid transparent;
    border-radius: 50%;
    content: "";
    transition: border-color 220ms ease, transform 220ms ease;
}

.flashcards-pagination button:hover::before {
    transform: scale(1.2);
    background: #b58f96;
}

.flashcards-pagination button.is-active::before {
    width: 12px;
    height: 12px;
    background: var(--wine);
    box-shadow: 0 0 0 4px rgba(128, 36, 51, 0.09);
}

.flashcards-pagination button.is-active::after {
    border-color: rgba(128, 36, 51, 0.2);
    transform: scale(1);
}

.flashcards-preview.is-autoplaying .flashcards-pagination button.is-active::after {
    animation: flashcard-dot-timer 3s linear forwards;
}

@keyframes flashcard-dot-timer {
    from {
        opacity: 0.9;
        transform: scale(0.72);
    }
    to {
        opacity: 0;
        transform: scale(1.28);
    }
}

.flashcards-pagination button:focus-visible {
    outline: 2px solid rgba(168, 50, 74, 0.3);
    outline-offset: 0;
}

.flashcards-copy h2 {
    max-width: 570px;
    margin-bottom: 23px;
}

.flashcards-copy > p {
    max-width: 565px;
    line-height: 1.75;
}

.flashcards-benefits {
    display: grid;
    max-width: 560px;
    margin: 29px 0 28px;
    padding: 0;
    gap: 10px;
    list-style: none;
}

.flashcards-benefits li {
    display: grid;
    align-items: center;
    border: 1px solid rgba(128, 36, 51, 0.085);
    border-radius: 15px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.65);
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
}

.flashcards-benefits li > svg {
    display: grid;
    width: 38px;
    height: 38px;
    border: 10px solid #f6e5e7;
    place-items: center;
    border-radius: 12px;
    background: #f6e5e7;
    color: var(--wine);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.flashcards-benefits li > div {
    display: flex;
    flex-direction: column;
}

.flashcards-benefits strong {
    color: var(--ink);
    font-size: 0.82rem;
}

.flashcards-benefits small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
    .flashcards-window:hover {
        box-shadow:
            0 38px 76px rgba(55, 20, 27, 0.18),
            0 12px 28px rgba(55, 20, 27, 0.09);
        transform: translateY(-3px) rotateY(-0.7deg) rotateX(0.2deg);
    }
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--wine);
    font-family: "Manrope", sans-serif;
    font-size: 0.93rem;
    font-weight: 800;
}

.inline-link:hover svg {
    transform: translateX(4px);
}

.inline-link svg {
    transition: transform 180ms ease;
}

.reviews-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0, rgba(245, 189, 62, 0.08), transparent 28%),
        var(--wine-deep);
    color: white;
}

.reviews-section::after {
    position: absolute;
    right: -160px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.018), 0 0 0 140px rgba(255, 255, 255, 0.012);
}

.reviews-heading {
    position: relative;
    z-index: 1;
    display: grid;
    margin-bottom: 48px;
    align-items: end;
    grid-template-columns: 1fr auto;
    gap: 60px;
}

.reviews-heading > div:first-child {
    max-width: 680px;
}

.reviews-heading > div > p:last-child {
    margin: 19px 0 0;
    color: rgba(255, 255, 255, 0.64);
}

.review-summary {
    display: grid;
    min-width: 180px;
    justify-items: end;
}

.review-summary strong {
    font-family: "Manrope", sans-serif;
    font-size: 2.4rem;
    line-height: 1;
}

.review-summary__stars,
.review-card__stars {
    color: var(--gold);
    letter-spacing: 0.1em;
}

.review-summary > span:last-child {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.71rem;
}

.reviews-grid {
    position: relative;
    z-index: 1;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 3px 1px 20px;
    scroll-behavior: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

.reviews-grid:focus-visible {
    outline: 2px solid rgba(245, 189, 62, 0.75);
    outline-offset: 5px;
}

.reviews-carousel {
    position: relative;
    z-index: 1;
}

.reviews-carousel::before,
.reviews-carousel::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 74px;
    width: 42px;
    content: "";
    pointer-events: none;
}

.reviews-carousel::before {
    left: -1px;
    background: linear-gradient(90deg, var(--wine-deep), transparent);
}

.reviews-carousel::after {
    right: -1px;
    background: linear-gradient(-90deg, var(--wine-deep), transparent);
}

.review-card {
    display: flex;
    flex: 0 0 clamp(330px, 36vw, 440px);
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    padding: 23px;
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    flex-direction: column;
    transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.review-card__top {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.review-card__subject {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    border-radius: 999px;
    padding: 6px 9px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    color: #f7dce0;
    font-size: 0.62rem;
    font-weight: 750;
    overflow-wrap: anywhere;
    white-space: normal;
}

.review-card__stars {
    flex: 0 0 auto;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
}

.review-card__comment {
    margin: 24px 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.65;
}

.review-card__grade {
    display: inline-flex;
    width: max-content;
    margin-top: -10px;
    border-radius: 7px;
    padding: 3px 7px;
    background: rgba(245, 189, 62, 0.12);
    color: #f8d785;
    font-size: 0.62rem;
    font-weight: 700;
}

.review-card__footer {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-author {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.review-author__avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #a23b4e, #6a1a29);
    color: #fff2d1;
    font-size: 0.72rem;
    font-weight: 800;
}

.review-author strong {
    display: block;
    overflow: hidden;
    color: white;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-author span:last-child {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.6rem;
}

.reviews-grid .review-card--status {
    flex-basis: 100%;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.review-card--status strong {
    font-family: "Manrope", sans-serif;
}

.review-card--status p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
}

.review-card--skeleton {
    gap: 18px;
}

.review-carousel-footer {
    position: relative;
    z-index: 3;
    display: grid;
    min-height: 48px;
    margin-top: 8px;
    align-items: center;
    grid-template-columns: minmax(100px, 1fr) auto auto;
    gap: 18px;
}

.review-carousel-progress {
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.review-carousel-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--gold), #ffe7aa);
    transition: transform 300ms ease;
}

.review-carousel-position {
    min-width: 78px;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
}

.review-carousel-controls {
    display: flex;
    gap: 8px;
}

.review-carousel-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.review-carousel-controls button:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.13);
}

.review-carousel-controls button:disabled {
    cursor: default;
    opacity: 0.32;
}

.review-carousel-controls svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.review-play-icon {
    display: none;
}

.review-autoplay-toggle[aria-pressed="true"] .review-pause-icon {
    display: none;
}

.review-autoplay-toggle[aria-pressed="true"] .review-play-icon {
    display: block;
}

.review-card--skeleton span,
.review-card--skeleton i {
    display: block;
    height: 13px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.09);
    animation: skeleton 1.4s ease-in-out infinite alternate;
}

.review-card--skeleton span {
    width: 45%;
    height: 25px;
}

.review-card--skeleton i:nth-child(2) { width: 92%; }
.review-card--skeleton i:nth-child(3) { width: 76%; }
.review-card--skeleton i:nth-child(4) { width: 38%; margin-top: auto; }

@keyframes skeleton {
    to { background: rgba(255, 255, 255, 0.16); }
}

.instagram-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(252, 175, 69, 0.13), transparent 27%),
        radial-gradient(circle at 92% 80%, rgba(193, 53, 132, 0.1), transparent 30%),
        linear-gradient(145deg, #fffdfa 0%, #fbf1ee 100%);
}

.instagram-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.28;
    background-image: radial-gradient(rgba(128, 36, 51, 0.14) 0.7px, transparent 0.7px);
    background-size: 24px 24px;
    mask-image: linear-gradient(110deg, black, transparent 55%);
    pointer-events: none;
}

.instagram-orb {
    position: absolute;
    border: 1px solid rgba(193, 53, 132, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.instagram-orb--one {
    top: 80px;
    left: -170px;
    width: 390px;
    height: 390px;
    box-shadow: 0 0 0 52px rgba(252, 175, 69, 0.025), 0 0 0 104px rgba(193, 53, 132, 0.018);
}

.instagram-orb--two {
    right: -200px;
    bottom: -210px;
    width: 500px;
    height: 500px;
    border-color: rgba(128, 36, 51, 0.08);
}

.instagram-layout {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(360px, 0.84fr) minmax(560px, 1.16fr);
    gap: clamp(40px, 4.5vw, 68px);
}

.instagram-copy h2 {
    max-width: 550px;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.45rem, 4.2vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.052em;
    line-height: 1.06;
}

.instagram-description {
    max-width: 540px;
    margin: 23px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.instagram-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 110%, #feda75 0 16%, #fa7e1e 35%, #d62976 60%, #962fbf 82%, #4f5bd5 100%);
    box-shadow: 0 14px 28px rgba(193, 53, 132, 0.22);
}

.instagram-mark svg {
    width: 30px;
    fill: none;
    stroke: white;
    stroke-width: 1.8;
}

.instagram-mark__dot {
    fill: white;
    stroke: none;
}

.instagram-topics {
    display: flex;
    margin-top: 25px;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.instagram-topics li {
    border: 1px solid rgba(128, 36, 51, 0.12);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.62);
    color: #6d4a50;
    font-size: 0.7rem;
    font-weight: 750;
}

.instagram-button {
    margin-top: 31px;
    background: linear-gradient(100deg, #833ab4, #c13584 46%, #e1306c 68%, #f77737 100%);
    box-shadow: 0 14px 28px rgba(193, 53, 132, 0.23);
    color: white;
}

.instagram-button:hover {
    box-shadow: 0 18px 34px rgba(193, 53, 132, 0.3);
}

.instagram-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.instagram-mobile-card {
    display: none;
}

.instagram-mobile-card__top {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.instagram-mobile-card__avatar {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 215deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}

.instagram-mobile-card__avatar img {
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #8f2639;
    object-fit: contain;
}

.instagram-mobile-card__top > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    line-height: 1.25;
}

.instagram-mobile-card__top strong {
    color: #302427;
    font-family: "Manrope", sans-serif;
    font-size: 0.86rem;
}

.instagram-mobile-card__top > div > span {
    overflow: hidden;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.instagram-mobile-card__top > a {
    border-radius: 8px;
    padding: 7px 10px;
    background: #5269f6;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

.instagram-mobile-card > p {
    margin: 14px 0;
    color: #625557;
    font-size: 0.8rem;
    line-height: 1.45;
}

.instagram-mobile-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.instagram-mobile-card__grid a {
    aspect-ratio: 1;
    overflow: hidden;
    background: #eee6e2;
}

.instagram-mobile-card__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-showcase {
    position: relative;
    width: min(100%, 660px);
    min-height: 640px;
    justify-self: center;
    perspective: 1600px;
    perspective-origin: 50% 43%;
}

.instagram-mac {
    position: absolute;
    z-index: 1;
    top: 54px;
    left: 50%;
    width: min(calc(100% - 28px), 610px);
    transform: translateX(-50%) rotateY(5deg) rotateX(1deg);
    transform-origin: center bottom;
    transform-style: preserve-3d;
    transition: transform 460ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.instagram-mac__lid {
    position: relative;
    border: 1px solid #5a5b5e;
    border-radius: 25px 25px 15px 15px;
    padding: 9px;
    background: linear-gradient(145deg, #77787b, #1b1c1f 18%, #08090b 75%, #55565a);
    box-shadow:
        0 35px 65px rgba(47, 15, 23, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transform-style: preserve-3d;
}

.instagram-mac__lid::after {
    position: absolute;
    z-index: -1;
    inset: 8px -9px -10px 12px;
    border-radius: 24px 24px 15px 15px;
    background: linear-gradient(145deg, #2d2e31, #08090a);
    box-shadow: 12px 18px 28px rgba(31, 8, 14, 0.18);
    content: "";
    transform: translateZ(-20px);
}

.instagram-mac__camera {
    position: absolute;
    z-index: 5;
    top: 4px;
    right: 50%;
    width: 5px;
    height: 5px;
    transform: translateX(50%);
    border-radius: 50%;
    background: #08090b;
    box-shadow: inset 0 0 0 1px #2e3439;
}

.instagram-mac__screen {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 17px 17px 10px 10px;
    background: #080b0e;
    color: #f5f5f5;
    flex-direction: column;
    transform: translateZ(7px);
}

.instagram-mac__screen::after {
    position: absolute;
    z-index: 8;
    inset: 0;
    background: linear-gradient(116deg, rgba(255, 255, 255, 0.065), transparent 19% 80%, rgba(255, 255, 255, 0.02));
    content: "";
    pointer-events: none;
}

.instagram-desktop-bar {
    display: grid;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    border-bottom: 1px solid #252a2f;
    padding: 0 10px;
    background: #15191d;
    grid-template-columns: 1fr auto 1fr;
}

.instagram-desktop-dots {
    display: flex;
    gap: 5px;
}

.instagram-desktop-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.instagram-desktop-dots i:first-child { background: #ff6259; }
.instagram-desktop-dots i:nth-child(2) { background: #ffbd2e; }
.instagram-desktop-dots i:last-child { background: #28c840; }

.instagram-desktop-address {
    min-width: 210px;
    border: 1px solid #30363c;
    border-radius: 6px;
    padding: 2px 12px;
    background: #0e1215;
    color: #9da4aa;
    font-size: 0.48rem;
    text-align: center;
}

.instagram-desktop-lock {
    justify-self: end;
}

.instagram-desktop-lock svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #8f979d;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.instagram-desktop-app {
    display: grid;
    min-height: 0;
    flex: 1;
    grid-template-columns: 102px minmax(0, 1fr);
}

.instagram-desktop-sidebar {
    display: flex;
    border-right: 1px solid #24292e;
    padding: 18px 15px;
    flex-direction: column;
    gap: 15px;
}

.instagram-desktop-sidebar > strong {
    margin-bottom: 3px;
    font-family: "Lobster", cursive;
    font-size: 0.88rem;
    font-weight: 400;
}

.instagram-desktop-sidebar > span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 7px;
    color: #a3a9ae;
}

.instagram-desktop-sidebar > span.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.instagram-desktop-sidebar svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.instagram-desktop-sidebar .is-active svg {
    fill: currentColor;
}

.instagram-desktop-main {
    min-width: 0;
    overflow: hidden;
}

.instagram-desktop-profile {
    display: grid;
    align-items: center;
    padding: 17px 24px 11px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
}

.instagram-desktop-avatar {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 215deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}

.instagram-desktop-avatar img {
    width: 100%;
    height: 100%;
    border: 3px solid #080b0e;
    border-radius: 50%;
    background: #8f2639;
    object-fit: contain;
}

.instagram-desktop-profile__content {
    min-width: 0;
    color: #e9e9e9;
    font-size: 0.55rem;
    line-height: 1.35;
}

.instagram-desktop-profile__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instagram-desktop-profile__title > strong {
    color: white;
    font-size: 0.82rem;
}

.instagram-desktop-profile__title > a {
    border-radius: 6px;
    padding: 5px 14px;
    background: #5269f6;
    color: white;
    font-size: 0.5rem;
    font-weight: 800;
}

.instagram-desktop-stats {
    display: flex;
    margin-top: 8px;
    gap: 17px;
    font-size: 0.53rem;
}

.instagram-desktop-stats strong {
    color: white;
    font-size: 0.57rem;
}

.instagram-desktop-profile__content p {
    display: flex;
    margin: 7px 0 0;
    flex-direction: column;
}

.instagram-desktop-profile__content p small {
    color: #8e969c;
}

.instagram-desktop-site {
    color: #9ab4ff;
    font-weight: 750;
}

.instagram-desktop-tabs {
    display: grid;
    height: 28px;
    border-top: 1px solid #24292e;
    border-bottom: 1px solid #24292e;
    color: #757d83;
    font-size: 0.46rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    grid-template-columns: repeat(3, 1fr);
}

.instagram-desktop-tabs span {
    position: relative;
    display: grid;
    place-items: center;
}

.instagram-desktop-tabs span.is-active {
    color: white;
}

.instagram-desktop-tabs span.is-active::before {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: white;
    content: "";
}

.instagram-desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.instagram-desktop-grid a {
    aspect-ratio: 1;
    overflow: hidden;
    background: #171b1f;
}

.instagram-desktop-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease;
}

.instagram-desktop-grid a:hover img {
    transform: scale(1.045);
    opacity: 0.84;
}

.instagram-mac__base {
    position: relative;
    z-index: 2;
    width: 108%;
    height: 78px;
    margin-left: -4%;
    transform: perspective(370px) rotateX(63deg) translateZ(-3px);
    transform-origin: top;
    clip-path: polygon(3% 0, 97% 0, 100% 90%, 98% 100%, 2% 100%, 0 90%);
    background: linear-gradient(165deg, #d0d1d3 0%, #939498 45%, #515256 82%, #27282b 100%);
    box-shadow:
        0 22px 30px rgba(43, 12, 20, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.62);
    transform-style: preserve-3d;
}

.instagram-mac__keyboard {
    position: absolute;
    top: 8px;
    right: 14%;
    left: 14%;
    display: grid;
    height: 31px;
    gap: 2px;
    grid-template-rows: repeat(4, 1fr);
    transform: translateZ(4px);
}

.instagram-mac__keyboard span {
    border-radius: 2px;
    background: repeating-linear-gradient(
        90deg,
        #151619 0 6.2%,
        #434449 6.2% 6.8%,
        transparent 6.8% 7.7%
    );
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12));
}

.instagram-mac__keyboard span:nth-child(2) {
    margin-inline: 1.9%;
}

.instagram-mac__keyboard span:nth-child(3) {
    margin-inline: 3.7%;
}

.instagram-mac__keyboard span:last-child {
    margin-inline: 7%;
}

.instagram-mac__trackpad {
    position: absolute;
    right: 50%;
    bottom: 7px;
    width: 26%;
    height: 23px;
    transform: translateX(50%) translateZ(3px);
    border: 1px solid rgba(57, 58, 62, 0.54);
    border-radius: 6px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(44, 45, 48, 0.06));
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28);
}

@media (hover: hover) and (pointer: fine) {
    .instagram-mac:hover {
        transform: translateX(-50%) translateY(-3px) rotateY(2.5deg) rotateX(0.5deg);
    }
}

.instagram-phone {
    position: relative;
    width: min(100%, 390px);
    border: 2px solid #3d3d40;
    border-radius: 58px;
    padding: 7px;
    background: linear-gradient(145deg, #6e6e71 0%, #17171a 18%, #050506 52%, #444448 100%);
    box-shadow:
        0 45px 85px rgba(57, 18, 28, 0.28),
        0 18px 32px rgba(22, 8, 12, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    transform: rotateY(-8deg) rotateX(2deg) rotateZ(0.35deg);
    transform-style: preserve-3d;
    transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 420ms ease;
}

.instagram-phone::before {
    position: absolute;
    z-index: -1;
    inset: 9% -12% -7%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(128, 36, 51, 0.22), transparent 68%);
    content: "";
}

.instagram-phone::after {
    position: absolute;
    z-index: -2;
    inset: 10px -9px -11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 58px;
    background: linear-gradient(155deg, #39393c, #08080a 45%, #252529);
    box-shadow: 16px 23px 35px rgba(32, 8, 14, 0.2);
    content: "";
    transform: translateZ(-22px);
}

@media (hover: hover) and (pointer: fine) {
    .instagram-phone:hover {
        box-shadow:
            0 52px 95px rgba(57, 18, 28, 0.3),
            0 21px 38px rgba(22, 8, 12, 0.24),
            inset 0 0 0 1px rgba(255, 255, 255, 0.25);
        transform: translateY(-5px) rotateY(-3deg) rotateX(1deg);
    }
}

.instagram-phone__button {
    position: absolute;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(#4b4b4e, #111113);
}

.instagram-phone__button--mute {
    top: 108px;
    left: -5px;
    height: 31px;
}

.instagram-phone__button--volume {
    top: 158px;
    left: -5px;
    height: 72px;
}

.instagram-phone__button--power {
    top: 173px;
    right: -5px;
    height: 88px;
    border-radius: 0 3px 3px 0;
}

.instagram-phone__screen {
    position: relative;
    display: flex;
    height: 760px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    background: #080b0e;
    color: #f7f7f7;
    flex-direction: column;
    transform: translateZ(7px);
}

.instagram-phone__screen::after {
    position: absolute;
    z-index: 10;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(112deg, rgba(255, 255, 255, 0.075), transparent 17% 82%, rgba(255, 255, 255, 0.03));
    content: "";
    pointer-events: none;
}

.instagram-phone__status {
    position: relative;
    display: grid;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
}

.instagram-phone__island {
    width: 104px;
    height: 28px;
    border-radius: 999px;
    background: #000;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.instagram-app-bar {
    display: flex;
    height: 49px;
    flex: 0 0 49px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1c2024;
    padding: 0 18px;
}

.instagram-app-bar > strong {
    font-family: "Lobster", cursive;
    font-size: 1.28rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.instagram-app-bar > span {
    display: flex;
    gap: 17px;
}

.instagram-app-bar svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.instagram-app-profile {
    padding-top: 12px;
}

.instagram-app-summary {
    display: grid;
    align-items: center;
    padding: 0 17px;
    grid-template-columns: 84px repeat(3, 1fr);
    gap: 8px;
}

.instagram-app-avatar {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 215deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}

.instagram-app-avatar img {
    width: 100%;
    height: 100%;
    border: 3px solid #080b0e;
    border-radius: 50%;
    background: #8f2639;
    object-fit: contain;
}

.instagram-app-summary > div {
    display: flex;
    align-items: center;
    color: #e8e8e8;
    flex-direction: column;
    font-size: 0.61rem;
    line-height: 1.3;
}

.instagram-app-summary > div strong {
    color: white;
    font-size: 0.79rem;
    font-weight: 850;
}

.instagram-app-bio {
    display: flex;
    padding: 10px 17px 0;
    color: #f1f1f1;
    flex-direction: column;
    font-size: 0.61rem;
    line-height: 1.43;
}

.instagram-app-bio > strong {
    font-size: 0.67rem;
}

.instagram-app-bio > span {
    color: #949a9f;
}

.instagram-app-bio p {
    margin: 1px 0 0;
}

.instagram-app-bio a {
    width: max-content;
    color: #96b1ff;
    font-weight: 750;
}

.instagram-app-actions {
    display: grid;
    margin-top: 10px;
    padding: 0 17px;
    grid-template-columns: 1fr 1.1fr 34px;
    gap: 6px;
}

.instagram-app-actions a {
    display: grid;
    min-height: 32px;
    place-items: center;
    border-radius: 7px;
    background: #252a30;
    color: white;
    font-size: 0.61rem;
    font-weight: 800;
    transition: background 160ms ease, transform 160ms ease;
}

.instagram-app-actions a:first-child {
    background: #5269f6;
}

.instagram-app-actions a:hover {
    transform: translateY(-1px);
    background: #343a42;
}

.instagram-app-actions a:first-child:hover {
    background: #6479ff;
}

.instagram-app-actions svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.instagram-app-tabs {
    display: grid;
    height: 38px;
    flex: 0 0 38px;
    border-top: 1px solid #24292e;
    border-bottom: 1px solid #24292e;
    grid-template-columns: repeat(3, 1fr);
}

.instagram-app-tabs span {
    position: relative;
    display: grid;
    place-items: center;
    color: #7e858b;
}

.instagram-app-tabs span.is-active {
    color: white;
}

.instagram-app-tabs span.is-active::before {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: white;
    content: "";
}

.instagram-app-tabs svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.instagram-app-tabs .is-active svg {
    fill: currentColor;
    stroke: none;
}

.instagram-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.instagram-app-grid a {
    aspect-ratio: 1;
    overflow: hidden;
    background: #191d21;
}

.instagram-app-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease;
}

.instagram-app-grid a:hover img {
    transform: scale(1.055);
    opacity: 0.82;
}

.instagram-app-nav {
    display: grid;
    height: 52px;
    margin-top: auto;
    flex: 0 0 52px;
    align-items: center;
    padding: 0 19px 7px;
    border-top: 1px solid #22272b;
    background: rgba(8, 11, 14, 0.96);
    grid-template-columns: repeat(5, 1fr);
}

.instagram-app-nav > svg {
    width: 21px;
    height: 21px;
    justify-self: center;
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.instagram-app-nav > svg:first-child {
    fill: white;
}

.instagram-app-nav > span {
    display: grid;
    width: 23px;
    height: 23px;
    justify-self: center;
    border-radius: 50%;
    background: #862436;
}

.instagram-app-nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.instagram-phone__home-indicator {
    position: absolute;
    z-index: 11;
    right: 50%;
    bottom: 6px;
    width: 118px;
    height: 4px;
    transform: translateX(50%);
    border-radius: 999px;
    background: white;
}

.instagram-showcase > .instagram-phone {
    position: absolute;
    z-index: 4;
    right: -2px;
    bottom: 0;
    width: 300px;
    transform: translateZ(90px) rotateY(-10deg) rotateX(2deg) rotateZ(0.5deg);
}

.instagram-showcase > .instagram-phone .instagram-phone__screen {
    height: 590px;
}

.instagram-showcase > .instagram-phone .instagram-app-summary {
    padding-inline: 13px;
    grid-template-columns: 70px repeat(3, 1fr);
    gap: 5px;
}

.instagram-showcase > .instagram-phone .instagram-app-avatar {
    width: 64px;
    height: 64px;
}

.instagram-showcase > .instagram-phone .instagram-app-bio,
.instagram-showcase > .instagram-phone .instagram-app-actions {
    padding-inline: 13px;
}

@media (hover: hover) and (pointer: fine) {
    .instagram-showcase > .instagram-phone:hover {
        transform: translateY(-5px) translateZ(96px) rotateY(-5deg) rotateX(1deg);
    }
}

.faq-section {
    overflow: hidden;
    background: var(--paper);
}

.faq-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.28fr);
    gap: clamp(60px, 9vw, 120px);
}

.faq-intro {
    position: sticky;
    top: 120px;
}

.faq-intro > p {
    margin: 21px 0;
}

.faq-intro img {
    width: 128px;
    height: 128px;
    margin: 26px 0 -20px;
    object-fit: contain;
    transform: rotate(-9deg);
    opacity: 0.86;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 1.03rem;
    font-weight: 750;
    list-style: none;
}

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

.faq-list summary i {
    position: relative;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 50%;
    background: #f7eaec;
}

.faq-list summary i::before,
.faq-list summary i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.5px;
    border-radius: 99px;
    content: "";
    transform: translate(-50%, -50%);
    background: var(--wine);
    transition: transform 180ms ease;
}

.faq-list summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details[open] summary {
    color: var(--wine);
}

.faq-list details p {
    max-width: 690px;
    margin: -7px 48px 28px 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.72;
}

.faq-trial-link {
    color: var(--wine);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.faq-trial-link:hover {
    color: var(--wine-dark);
}

.final-cta-section {
    padding: 28px 0 80px;
    background: var(--paper);
}

.final-cta {
    position: relative;
    display: grid;
    min-height: 300px;
    overflow: hidden;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-lg);
    padding: 50px 54px;
    background:
        radial-gradient(circle at 8% 0, rgba(245, 189, 62, 0.16), transparent 29%),
        linear-gradient(128deg, #8b293a 0%, #651b2a 48%, #3f0d17 100%);
    box-shadow: 0 26px 58px rgba(72, 16, 27, 0.22), inset 0 1px rgba(255, 255, 255, 0.08);
    color: white;
    grid-template-columns: 140px minmax(0, 1fr) minmax(190px, auto);
    gap: clamp(30px, 4vw, 52px);
    isolation: isolate;
}

.final-cta::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.055), transparent 34%);
    content: "";
    pointer-events: none;
}

.final-cta > *:not(.final-cta__orb) {
    position: relative;
    z-index: 1;
}

.final-cta__mascot {
    display: grid;
    width: 140px;
    height: 140px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
    box-shadow: 0 18px 38px rgba(35, 5, 11, 0.2), inset 0 1px rgba(255, 255, 255, 0.12);
}

.final-cta__mascot img {
    width: 110px;
    height: 110px;
    max-width: none;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    filter: drop-shadow(0 12px 16px rgba(30, 5, 10, 0.2));
}

.final-cta h2 {
    max-width: 610px;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.final-cta p:not(.eyebrow) {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.final-cta__actions {
    display: flex;
    min-width: 190px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
}

.final-cta__actions .button {
    width: 100%;
}

.final-cta__orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.final-cta__orb--one {
    top: -260px;
    right: -100px;
    width: 560px;
    height: 560px;
}

.final-cta__orb--two {
    bottom: -300px;
    left: 90px;
    width: 480px;
    height: 480px;
}

.site-footer {
    background: #1f0c10;
    color: white;
}

.footer-grid {
    display: grid;
    padding-top: 46px;
    padding-bottom: 34px;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
}

.footer-brand .brand {
    color: white;
}

.footer-brand p {
    max-width: 380px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.87rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
}

.footer-links strong {
    margin-bottom: 4px;
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 0.83rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.8rem;
    transition: color 160ms ease;
}

.footer-links a:hover {
    color: white;
}

.footer-legal {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    line-height: 1.65;
    text-align: center;
}

.footer-legal p {
    margin: 0;
}

.footer-legal__toggle {
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal__toggle:focus-visible {
    border-radius: 3px;
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.footer-legal__content {
    display: grid;
    gap: 8px;
    max-width: 980px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.48);
}

.footer-legal__content[hidden] {
    display: none;
}

.footer-bottom {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.72rem;
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.985);
    filter: blur(1.5px);
    transition:
        opacity 720ms ease,
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 280ms ease;
}

[data-reveal="left"] {
    transform: translate3d(-46px, 18px, 0);
}

[data-reveal="right"] {
    transform: translate3d(46px, 18px, 0);
}

[data-reveal="scale"] {
    transform: translate3d(0, 26px, 0) scale(0.955);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

main > section:not(.hero) .eyebrow > span {
    transform: scaleX(0.2);
    transform-origin: left;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 220ms;
}

main > section.section-in-view .eyebrow > span {
    transform: scaleX(1);
}

[data-parallax] {
    --parallax-y: 0px;
    transform: translate3d(0, var(--parallax-y), 0);
    will-change: transform;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
        gap: 44px;
    }

    .mode-showcase {
        grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
        gap: 28px;
    }

    .instagram-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .instagram-copy {
        max-width: 720px;
    }

    .instagram-showcase {
        width: min(100%, 660px);
        justify-self: center;
    }

    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.2rem);
    }

    .floating-card--score {
        right: -10px;
        bottom: -28px;
    }

    .floating-card--streak {
        top: 72px;
        left: -20px;
    }

    .final-cta {
        padding: 48px 42px;
        grid-template-columns: 140px 1fr;
    }

    .final-cta__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 940px) {
    html {
        scroll-snap-type: none;
    }

    main > section,
    .site-footer {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    [data-parallax] {
        transform: none;
        will-change: auto;
    }

    .site-header.is-scrolled,
    .site-header.is-menu-open {
        background: rgba(251, 247, 240, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-toggle {
        position: relative;
        z-index: 3;
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        padding: 0;
        background: rgba(255, 255, 255, 0.55);
        flex-direction: column;
        gap: 4px;
    }

    .nav-toggle span {
        width: 17px;
        height: 1.5px;
        border-radius: 99px;
        background: var(--wine-dark);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .site-header.is-menu-open .nav-toggle span:first-child {
        transform: translateY(5.5px) rotate(45deg);
    }

    .site-header.is-menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .nav-toggle span:last-child {
        transform: translateY(-5.5px) rotate(-45deg);
    }

    .desktop-auth-actions {
        display: none;
    }

    .primary-navigation {
        position: fixed;
        top: 81px;
        right: 0;
        left: 0;
        display: flex;
        max-height: calc(100vh - 81px);
        overflow-y: auto;
        border-bottom: 1px solid var(--line);
        padding: 25px 24px 35px;
        transform: translateY(-125%);
        background: rgba(251, 247, 240, 0.98);
        box-shadow: 0 18px 30px rgba(61, 25, 31, 0.08);
        opacity: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        transition: transform 230ms ease, opacity 180ms ease;
    }

    .primary-navigation.is-open {
        transform: translateY(0);
        opacity: 1;
    }

    .primary-navigation > a {
        padding: 13px 7px;
        font-size: 1rem;
    }

    .primary-navigation > a::after {
        display: none;
    }

    .mobile-auth-actions {
        display: grid;
        margin-top: 16px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero {
        padding-top: 135px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 72px;
    }

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

    .hero-product {
        width: min(100%, 700px);
        margin-inline: auto;
        transform: none;
    }

    .mode-showcase {
        grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
        gap: clamp(22px, 3vw, 32px);
    }

    .mode-showcase__media {
        width: 100%;
        margin: 0;
    }

    .mode-showcase__content {
        width: 100%;
        margin: 0;
    }

    .mode-showcase__content h2 span {
        white-space: normal;
    }

    .value-strip__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .motion-demo {
        max-width: 680px;
        margin-inline: auto;
    }

    .feature-row {
        grid-template-columns: 1fr 1fr;
    }

    .flashcards-layout {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .flashcards-preview {
        width: min(100%, 760px);
    }

    .flashcards-copy {
        max-width: 680px;
    }

    .review-card {
        flex-basis: min(62vw, 390px);
    }

    .instagram-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .instagram-copy {
        max-width: 720px;
    }

    .instagram-showcase {
        width: min(100%, 660px);
        justify-self: center;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .faq-intro {
        position: static;
        max-width: 720px;
    }

    .faq-intro img {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 72px;
        /* A pagina lunga non deve comportarsi come una presentazione a slide. */
        scroll-snap-type: none;
    }

    main > section,
    .site-footer {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .section-shell,
    .nav-shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .section {
        padding-block: clamp(58px, 12vw, 82px);
    }

    .process-section {
        padding-block: 62px;
    }

    .process-section > .section-shell {
        width: min(calc(100% - 32px), 1240px);
    }

    [data-reveal] {
        filter: none;
    }

    .nav-shell {
        min-height: 72px;
    }

    .brand {
        font-size: 1.16rem;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .primary-navigation {
        top: 71px;
        max-height: calc(100vh - 71px);
    }

    .hero {
        padding: calc(96px + env(safe-area-inset-top)) 0 44px;
    }

    .hero::before {
        mask-image: linear-gradient(to bottom, black, transparent 45%);
    }

    .hero h1 {
        font-size: clamp(2.65rem, 13vw, 3.6rem);
        line-height: 1.02;
    }

    .hero h1 br {
        display: block;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-notes {
        margin-top: 14px;
        padding-top: 12px;
        justify-content: center;
        gap: 9px 18px;
        font-size: 0.78rem;
    }

    .mode-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mode-showcase__content {
        order: 1;
    }

    .mode-showcase__media {
        order: 2;
    }

    .mode-showcase__content h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        line-height: 1.06;
    }

    .mode-showcase__content > p:not(.eyebrow) {
        margin-top: 18px;
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .mode-timeline {
        margin-top: 25px;
        gap: 7px;
    }

    .mode-option {
        min-height: 72px;
        border-radius: 18px;
        padding: 9px 6px 9px 8px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .mode-timeline::before {
        top: 31px;
        bottom: 31px;
        left: 29px;
    }

    .mode-option__number {
        width: 42px;
        height: 42px;
        font-size: 0.82rem;
    }

    .mode-option__copy strong {
        font-size: 0.94rem;
        line-height: 1.25;
    }

    .mode-option__copy small {
        margin-top: 4px;
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .mode-showcase__note {
        margin-top: 28px;
        gap: 12px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .mode-showcase__note::before {
        width: 28px;
        flex-basis: 28px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    /* Sul telefono il video prende il posto occupato dalle CTA, subito dopo
       descrizione; titolo e testo restano esattamente nella loro posizione. */
    .hero-copy {
        display: contents;
    }

    .hero-copy[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-copy h1 {
        order: 1;
    }

    .hero-description {
        order: 2;
    }

    .hero-product {
        order: 3;
        margin-top: 34px;
    }

    .hero-actions {
        order: 4;
        margin-top: 20px;
    }

    .hero-product {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
    }

    .hero-product .orbit--one {
        display: none;
    }

    .product-window {
        min-height: 0;
        border-radius: 17px;
    }

    .product-window.product-window--video {
        border-width: 4px;
    }

    .product-video-toggle {
        width: 30px;
        height: 30px;
    }

    .window-bar {
        height: 47px;
        padding: 0 11px;
    }

    .window-title {
        display: none;
    }

    .window-bar {
        grid-template-columns: 1fr 1fr;
    }

    .product-layout {
        min-height: 0;
        grid-template-columns: 45px 1fr;
    }

    .product-sidebar {
        padding: 17px 7px;
        gap: 16px;
    }

    .sidebar-logo img {
        width: 29px;
        height: 29px;
    }

    .sidebar-item {
        width: 20px;
        height: 20px;
    }

    .quiz-preview {
        padding: 21px 14px;
    }

    .quiz-preview__question {
        min-height: 70px;
        margin: 18px 0 13px;
        font-size: 0.87rem;
    }

    .preview-answer {
        min-height: 42px;
        padding: 7px 9px;
        font-size: 0.73rem;
    }

    .floating-card--streak {
        top: auto;
        bottom: -45px;
        left: 5px;
    }

    .floating-card--score {
        right: 5px;
        bottom: -45px;
    }

    .floating-card {
        padding: 8px 9px;
    }

    .floating-card span:last-child {
        display: none;
    }

    .value-strip span {
        max-width: none;
        font-size: clamp(0.58rem, 2.1vw, 0.7rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .value-strip__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-block: 16px;
    }

    .value-strip__grid > div {
        min-height: 0;
        justify-content: center;
        border-right: 1px solid var(--line) !important;
        border-bottom: 0 !important;
        padding: 0 4px !important;
        text-align: center;
        flex-direction: column;
        gap: 3px;
    }

    .value-strip__grid > div:last-child {
        border-right: 0 !important;
    }

    .value-strip strong {
        font-size: clamp(1rem, 5.4vw, 1.35rem);
        line-height: 1;
    }

    .value-strip__grid > div:nth-child(2) > strong {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2,
    .flashcards-copy h2,
    .reviews-heading h2,
    .instagram-copy h2,
    .faq-intro h2 {
        font-size: clamp(2.05rem, 10vw, 2.8rem);
    }

    .instagram-mark {
        width: 52px;
        height: 52px;
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .instagram-mark svg {
        width: 27px;
    }

    .instagram-description {
        font-size: 0.96rem;
    }

    /* I mockup 3D sono decorativi: su telefono togliendoli la sezione resta
       utile, più rapida da scorrere e non impone un'altezza artificiale. */
    .instagram-showcase {
        display: none;
    }

    .instagram-layout {
        gap: 34px;
    }

    .instagram-mobile-card {
        display: block;
        width: 100%;
        overflow: hidden;
        border: 1px solid rgba(128, 36, 51, 0.13);
        border-radius: 22px;
        padding: 16px 14px 14px;
        background:
            linear-gradient(110deg, rgba(253, 218, 117, 0.13), transparent 35%),
            #fffdfb;
        box-shadow: 0 18px 34px rgba(76, 24, 36, 0.1);
    }

    .instagram-mobile-card__grid {
        margin: 0 -14px -14px;
    }

    .instagram-copy {
        max-width: 36rem;
    }

    .instagram-topics {
        margin-top: 20px;
    }

    .instagram-button {
        width: 100%;
        justify-content: center;
    }

    .process-card {
        padding: 25px;
    }

    .motion-demo__canvas {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        padding: 26px 18px;
    }

    .demo-question {
        padding: 16px;
    }

    .demo-cursor {
        display: none;
    }

    .motion-demo__copy {
        padding: 23px;
    }

    .feature-row {
        margin-top: 50px;
        grid-template-columns: 1fr;
    }

    .feature-item {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 15px;
    }

    .feature-item__icon {
        grid-row: span 2;
    }

    .feature-item h3 {
        margin: 0 0 4px;
    }

    .flashcards-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Sul telefono introduzione, anteprima immagini e benefici seguono una
       lettura naturale, senza duplicare il componente flashcard. */
    .flashcards-copy {
        display: contents;
    }

    .flashcards-copy > .eyebrow,
    .flashcards-copy > h2,
    .flashcards-copy > p {
        width: 100%;
        order: 0;
    }

    .flashcards-preview {
        width: 100%;
        order: 1;
        margin: 28px 0 0;
        padding-bottom: 0;
    }

    .flashcards-window {
        border-radius: 19px;
        transform: none;
    }

    .flashcards-window__bar {
        height: 44px;
        padding-inline: 12px;
    }

    .flashcards-window__status {
        font-size: 0.59rem;
    }

    .flashcards-controls {
        min-height: 62px;
        padding: 9px 9px 9px 12px;
        gap: 7px;
    }

    .flashcards-controls__copy strong {
        font-size: 0.67rem;
    }

    .flashcards-controls__copy small {
        max-width: 220px;
        font-size: 0.54rem;
    }

    .flashcards-pagination {
        gap: 4px;
    }

    .flashcards-pagination button {
        width: 44px;
        height: 44px;
    }

    .flashcards-pagination button::before {
        width: 13px;
        height: 13px;
    }

    .flashcards-pagination button::after {
        width: 28px;
        height: 28px;
    }

    .flashcards-pagination button.is-active::before {
        width: 15px;
        height: 15px;
    }

    .flashcards-pagination-shell {
        margin-top: 14px;
    }

    .flashcards-copy > .flashcards-benefits {
        width: 100%;
        order: 2;
        margin-top: 26px;
    }

    .flashcards-copy > .inline-link {
        order: 3;
    }

    .flashcards-benefits li {
        padding: 10px;
    }

    .reviews-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .review-summary {
        justify-items: start;
    }

    .reviews-carousel::before,
    .reviews-carousel::after {
        display: none;
    }

    .review-card {
        flex-basis: var(--review-card-width);
        min-height: 235px;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .reviews-grid .review-card--status {
        flex-basis: var(--review-card-width);
    }

    .reviews-grid .review-card--status {
        flex-basis: var(--review-card-width);
    }

    .reviews-grid {
        --review-card-width: min(82vw, 340px);
        margin-right: 0;
        padding: 3px calc((100% - var(--review-card-width)) / 2) 20px;
        /* Il dito deve mantenere esattamente la posizione raggiunta: nessun
           aggancio alla card precedente/successiva al rilascio. */
        scroll-snap-type: none;
    }

    .review-carousel-footer {
        margin-top: 12px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .review-carousel-progress {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .review-carousel-position {
        justify-self: start;
        min-width: 0;
        grid-column: 1;
        grid-row: 2;
        text-align: left;
    }

    .review-carousel-controls {
        grid-column: 2;
        grid-row: 2;
    }

    .review-carousel-controls button {
        width: 40px;
        height: 40px;
    }

    .faq-layout {
        gap: 34px;
    }

    .faq-intro > p:not(.eyebrow) {
        margin: 14px 0 18px;
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .faq-list summary {
        min-height: 76px;
        padding-block: 8px;
        gap: 14px;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .faq-list summary > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .faq-list summary i {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .faq-list details[open] {
        margin-inline: -10px;
        border-radius: 14px;
        padding-inline: 10px;
        background: #fffaf5;
        box-shadow: 0 8px 22px rgba(61, 25, 31, 0.045);
    }

    .faq-list details p {
        margin: 0 0 22px;
        padding-right: 4px;
        color: var(--muted);
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .final-cta-section {
        padding-bottom: calc(55px + env(safe-area-inset-bottom));
    }

    .final-cta {
        padding: 37px 12px;
        text-align: center;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .final-cta__mascot {
        width: 108px;
        height: 108px;
        margin-inline: auto;
        border-radius: 26px;
    }

    .final-cta__mascot img {
        width: 84px;
        height: 84px;
    }

    .final-cta .eyebrow {
        justify-content: center;
        gap: 6px;
        font-size: 0.74rem;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    .final-cta .eyebrow > span {
        width: 14px;
    }

    .final-cta__actions {
        grid-column: auto;
        flex-direction: column;
    }

    .footer-grid {
        padding-block: 20px 18px;
        gap: 16px;
    }

    .site-footer .section-shell {
        width: min(calc(100% - 24px), var(--shell));
    }

    .footer-brand {
        display: grid;
        align-items: center;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .footer-brand .brand {
        gap: 7px;
        font-size: 1rem;
    }

    .footer-brand .brand img {
        width: 32px;
        height: 32px;
    }

    .footer-brand p {
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 0;
    }

    .footer-links > div {
        gap: 4px;
    }

    .footer-links strong {
        margin-bottom: 1px;
        font-size: 0.68rem;
    }

    .footer-links a {
        font-size: 0.65rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .footer-legal {
        padding: 14px 0;
        font-size: 0.66rem;
        line-height: 1.55;
    }

    .footer-bottom {
        min-height: 38px;
        padding: 7px 0;
        justify-content: flex-start;
        font-size: 0.66rem;
    }
}

@media (max-width: 390px) {
    .mobile-auth-actions {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.42rem;
    }

    .quiz-preview__topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

}

/* I telefoni in orizzontale hanno poca altezza: riduciamo gli spazi, non la
   larghezza del contenuto, così testi e pulsanti restano leggibili. */
@media (max-width: 940px) and (max-height: 540px) and (orientation: landscape) {
    html {
        scroll-snap-type: none;
    }

    main > section,
    .site-footer {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .hero {
        padding-top: calc(82px + env(safe-area-inset-top));
        padding-bottom: 46px;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 7vw, 3.25rem);
    }

    .section {
        padding-block: 52px;
    }

    .instagram-showcase {
        display: none;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 940px) {
        .primary-navigation {
            max-height: calc(100dvh - 81px);
        }
    }

    @media (max-width: 680px) {
        .primary-navigation {
            max-height: calc(100dvh - 71px);
        }
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
    }

    [data-parallax] {
        transform: none;
        will-change: auto;
    }

    main > section:not(.hero) .eyebrow > span {
        transform: scaleX(1);
    }
}

/* Evita il ritardo sintetico del tap sui controlli principali della home. */
@media (hover: none), (pointer: coarse) {
    .site-header a,
    .site-header button,
    .hero-actions a,
    .mobile-auth-actions a,
    .final-cta__actions a,
    .mode-option {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}
