/* Shared Island Koala design: the WordFarm red, white and warm-neutral system. */
.ik-homepage, .ik-spa-body, body:has(.legal-wrap) {
    font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
    color: #292929;
}
.ik-site-body { margin: 0; }
.ik-homepage .ik-nav, .ik-header { border-bottom: 3px solid #d62311; background: #fff; }
.ik-homepage .ik-brand, .ik-header-logo { color: #d62311; font-weight: 800; }
.ik-homepage .ik-brand { font-size: 24px; }
.ik-homepage .ik-nav-inner { max-width: 1160px; min-height: 68px; height: auto; padding-block: 12px; gap: 20px; }
.ik-homepage .ik-nav-actions { flex-wrap: wrap; justify-content: flex-end; }
.ik-homepage .ik-nav-btn, .ik-btn { border-radius: 999px; }
.ik-homepage .ik-btn-primary, .ik-homepage .ik-btn-secondary { min-height: 46px; border-radius: 999px; }
.ik-homepage .ik-btn-primary:hover, .ik-homepage .ik-nav-btn-main:hover { background: #a91b0d; }
.ik-homepage .ik-btn-secondary { color: #a91b0d; border: 2px solid #d62311; background: #fff; }
.ik-homepage .ik-hero { background: #f6f5f3; padding: 64px 0; }
.ik-homepage .ik-hero-title { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.035em; }
.ik-homepage .ik-container { max-width: 1120px; }
.ik-homepage .ik-section { padding-block: 56px; }
.ik-homepage .ik-section-title { letter-spacing: -0.025em; }
.ik-homepage .ik-founder-card-main, .ik-homepage .ik-section-alt { background: #f6f5f3; }
.ik-mobile-teaser { padding: 20px 0; background: #fff; border-bottom: 1px solid #d9d9d9; }
.ik-mobile-teaser .ik-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; }
.ik-homepage a { text-underline-offset: 4px; }
.ik-mobile-teaser a, .ik-public-faq a, .ik-mobile-instructions a { color: #a91b0d; font-weight: 700; }
.ik-public-heading { padding: 64px 0; background: #f6f5f3; }
.ik-public-heading h1 { margin: 12px 0 20px; font-size: clamp(36px, 6vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.ik-public-heading p { max-width: 700px; font-size: 18px; line-height: 1.7; }
.ik-kicker { color: #a91b0d; font-size: 12px !important; font-weight: 800; letter-spacing: 0.1em; }
.ik-homepage .ik-plan-card { display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: #fff; }
.ik-homepage .ik-plan-card-premium { border: 3px solid #d62311; }
.ik-homepage .ik-plan-card h2 { font-size: 26px; line-height: 1.2; margin: 16px 0; }
.ik-homepage .ik-plan-card > a { margin-top: auto; }
.ik-public-price { margin: 10px 0; font-size: 44px; font-weight: 800; line-height: 1.3; }
.ik-public-price del { color: #616161; font-size: 28px; font-weight: 400; }
.ik-public-price [data-ik-offer-active] { color: #a91b0d; }
.ik-public-price .ik-price-unit { display: block; font-size: 15px; font-weight: 500; color: #616161; }
.ik-plan-points { padding-left: 20px; line-height: 1.8; margin-block: 20px 28px; }
.ik-public-note, .ik-chart-note { color: #616161; font-size: 13px; line-height: 1.6; }
.ik-public-note { text-align: center; margin-top: 24px; }
.ik-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.ik-story-card { margin: 0; padding: 24px; background: #fff; border: 1px solid #d9d9d9; border-radius: 16px; font-size: 14px; line-height: 1.7; }
.ik-story-card cite { display: block; margin-top: 20px; font-style: normal; font-weight: 700; color: #a91b0d; }
.ik-public-faq { max-width: 800px !important; }
.ik-public-faq details { border-bottom: 1px solid #d9d9d9; padding: 20px 0; }
.ik-homepage summary, .ik-spa-body summary { cursor: pointer; font-weight: 700; padding-block: 10px; }
.ik-homepage .ik-mobile-card { padding: 28px; border-radius: 16px; border: 1px solid #d9d9d9; background: #fff; }
.ik-platform-label { color: #a91b0d; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.ik-mobile-instructions { padding-left: 24px; line-height: 1.7; min-height: 210px; }
.ik-mobile-instructions li { padding-left: 6px; margin-block: 12px; }
.ik-mobile-card .ik-video-container-shorts { max-width: 280px; margin-inline: auto; }
.ik-current-plan { padding: 32px; margin-bottom: 28px; border: 2px solid #28734a; border-radius: 16px; background: #f1f8f3; }
.ik-current-plan h1, .ik-current-plan h2 { font-size: clamp(24px, 4vw, 36px); margin: 12px 0; }
.ik-discount-price { color: #a91b0d; font-size: 24px; }
.ik-applied-code { padding: 12px 16px; border-left: 3px solid #d62311; background: #fff4f2; color: #a91b0d; font-size: 14px; line-height: 1.6; }
.ik-header-link { color: #a91b0d; font-size: 14px; font-weight: 600; text-decoration: none; }
.ik-promo-banner-spa { background: #a91b0d; position: relative; line-height: 1.8; }
.ik-promo-banner-spa a { color: #fff; font-weight: 700; margin-left: 12px; }
.ik-offer-countdown { display: inline-block; font-variant-numeric: tabular-nums; margin-left: 12px; }
.ik-spa-body .ik-welcome-card { background: #fff; border: 1px solid #d9d9d9; box-shadow: none; }
.ik-spa-body .ik-welcome-card h1 { color: #292929; }
.ik-spa-body .ik-feature-card-large { border: 1px solid #d9d9d9; box-shadow: none; border-radius: 16px; }
.ik-spa-body .ik-badge-new { background: #fff4f2; color: #a91b0d; }
.ik-progress { margin-top: 40px; }
.ik-progress-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.ik-progress-heading h2 { margin: 4px 0; font-size: 28px; letter-spacing: -0.025em; }
.ik-progress-filters { display: flex; gap: 12px; }
.ik-progress-filters > div { display: flex; flex-direction: column; gap: 6px; color: #616161; font-size: 12px; font-weight: 600; }
.ik-progress-filters select { min-height: 40px; max-width: 180px; border: 1px solid #d9d9d9; padding: 8px 12px; border-radius: 8px; color: #292929; background: #fff; font: inherit; font-size: 14px; }
.ik-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ik-summary-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid #d9d9d9; border-radius: 14px; padding: 20px; background: #fff; }
.ik-summary-card strong { color: #d62311; font-size: 32px; line-height: 1.1; }
.ik-summary-card span { color: #616161; font-size: 13px; }
.ik-progress-empty { padding: 20px; background: #fff4f2; border-radius: 12px; line-height: 1.7; }
.ik-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 24px; }
.ik-chart-card { margin: 0; padding: 24px; border: 1px solid #d9d9d9; border-radius: 16px; background: #fff; min-width: 0; }
.ik-chart-card h3 { margin: 0 0 8px; font-size: 18px; }
.ik-chart-card figcaption p { font-size: 12px; color: #616161; }
.ik-chart-card svg { display: block; width: 100%; height: auto; overflow: visible; }
.ik-activity-grid { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 5px; margin-block: 24px; }
.ik-activity-day { display: block; width: 100%; aspect-ratio: 1; background: #f0eeeb; border-radius: 3px; }
.ik-legend-day { display: inline-block; width: 12px; height: 12px; background: #f0eeeb; border-radius: 2px; }
.ik-activity-day.is-active, .ik-legend-day.is-active { background: #eeaaa1; }
.ik-activity-day.is-busy, .ik-legend-day.is-busy { background: #d62311; }
.ik-language-stat { margin-top: 18px; }
.ik-language-stat > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ik-language-track { height: 8px; border-radius: 8px; background: #f0eeeb; margin-top: 8px; overflow: hidden; }
.ik-language-track span { display: block; height: 100%; border-radius: inherit; background: #d62311; transition: width 0.3s ease; }
.ik-progress-data { overflow-x: auto; }
.ik-progress-data table { width: 100%; border-collapse: collapse; margin-block: 12px; font-size: 13px; }
.ik-progress-data td, .ik-progress-data th { text-align: left; border-bottom: 1px solid #d9d9d9; padding: 10px; }
@keyframes ik-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ik-pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
.ik-reveal.ik-entered, .ik-public-heading, .ik-auth-container, .ik-main > *, .ik-pricing-main > *, .ik-message { animation: ik-enter 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ik-spa-body .ik-modal, .ik-word-popup { animation: ik-pop 0.2s ease-out both; }
.ik-homepage a, .ik-btn, .ik-clickable, .ik-mobile-menu, .ik-message { transition: transform 0.14s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.18s ease; }
@media (hover: hover) {
    .ik-btn:not(:disabled):hover, .ik-homepage .ik-btn-primary:hover, .ik-homepage .ik-btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(214, 35, 17, 0.18); }
    .ik-clickable:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(41, 41, 41, 0.08); border-color: #e7b3ac; }
}
.ik-btn:not(:disabled):active, .ik-homepage .ik-btn-primary:active, .ik-homepage .ik-btn-secondary:active { transform: scale(0.97); }
.ik-homepage a:focus-visible, .ik-spa-body a:focus-visible, .ik-spa-body button:focus-visible { outline: 3px solid #d62311; outline-offset: 4px; }
@media (max-width: 760px) {
    .ik-homepage .ik-nav-inner { flex-wrap: wrap; gap: 10px; padding-inline: 16px; }
    .ik-homepage .ik-nav-actions { gap: 2px; }
    .ik-homepage .ik-nav-btn { font-size: 12px; padding: 8px 10px; }
    .ik-homepage .ik-brand { font-size: 20px; }
    .ik-homepage .ik-hero, .ik-public-heading { padding-block: 40px; }
    .ik-story-grid, .ik-chart-grid { grid-template-columns: 1fr; }
    .ik-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .ik-summary-card { padding: 16px; }
    .ik-chart-card { padding: 20px; }
    .ik-progress-filters { width: 100%; }
    .ik-progress-filters > div { flex: 1; }
    .ik-progress-filters select { width: 100%; max-width: none; }
    .ik-mobile-instructions { min-height: 0; }
    .ik-header-user > .ik-header-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ik-homepage *, .ik-spa-body *, .ik-homepage *::before, .ik-spa-body *::before { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.ik-mobile-qr { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; max-width: 580px; }
.ik-mobile-qr img { flex-shrink: 0; }
@media (max-width: 760px) { .ik-mobile-qr { display: none; } }

.ik-homepage .ik-plan-card-premium .ik-plan-badge { background: #fff4f2; color: #a91b0d; }
.ik-spa-body .ik-btn-premium:hover:not(:disabled) { background: #a91b0d; }

.ik-home-page .ik-main { max-width: 1120px; }

.ik-include-chat { display:flex; gap:10px; align-items:flex-start; margin-bottom:20px; }
.ik-include-chat input { width:auto; margin-top:4px; }
#ik-contact-person { scroll-margin-top:100px; }

/* Keep the marketing hero and offer readable on narrow screens. */
@media (max-width: 760px) {
    .ik-homepage .ik-hero { text-align: center; padding-block: 32px; }
    .ik-homepage .ik-hero-title { font-size: clamp(27px, 7.5vw, 40px); line-height: 1.1; }
    .ik-homepage .ik-hero-title > span { display: block; text-wrap: balance; }
    .ik-homepage .ik-hero-title .ik-highlight { margin-top: 7px; }
    .ik-homepage .ik-hero-subtitle { margin-inline: auto; max-width: 36ch; font-size: 16px; }
    .ik-homepage .ik-hero-cta { justify-content: center; }
    .ik-homepage .ik-cta-note { font-size: 14px; text-wrap: balance; }
    .ik-nav .ik-menu-toggle { width: 44px; min-height: 44px; padding: 0; justify-content: center; font-size: 23px; }
    .ik-spa-body .ik-promo-banner-spa, .ik-homepage .ik-promo-banner { font-size: 16px; line-height: 1.5; }
    .ik-calendar-countdown .ik-countdown-tile { width: 60px; }
    .ik-calendar-countdown .ik-countdown-tile small { font-size: 13px; }
    .ik-promo-banner-spa a { margin-left: 0; }
    .ik-homepage .ik-support-form,
    .ik-homepage .ik-plan-card, .ik-homepage .ik-mobile-card, .ik-homepage .ik-current-plan {
        background: transparent; border: 0; border-radius: 0; box-shadow: none; padding-inline: 0;
    }
    .ik-homepage .ik-support-field input, .ik-homepage .ik-support-field textarea { font-size: 16px; }
}

/* Island Koala landing page */
.ik-homepage .ik-hero,
.ik-homepage .ik-section-alt,
.ik-homepage .ik-value-section,
.ik-homepage .ik-final-cta {
    background: #fff;
    color: #292929;
}
.ik-homepage .ik-section,
.ik-homepage .ik-value-section,
.ik-homepage .ik-final-cta {
    border-bottom: 1px solid #e9e6e5;
}
.ik-homepage .ik-hero-image {
    display: block;
    width: 100%;
    height: auto;
}
.ik-homepage .ik-price-box { border: 1px solid #dedad8; }
.ik-homepage .ik-language-card small { color: #605c5a; font-size: 0.72rem; white-space: nowrap; }
.ik-homepage .ik-feature-demo { display: block; min-width: 0; }
.ik-homepage .ik-feature-demo img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e4e0de;
    border-radius: 14px;
    background: #fff;
}
.ik-homepage .ik-featured-story {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem clamp(1rem, 3vw, 2rem);
    margin: 0;
    padding: clamp(1.25rem, 5vw, 3.5rem);
    border: 1px solid #edd7d4;
    border-inline-start: 5px solid #d62311;
    border-radius: 14px;
    background: #fff8f7;
}
.ik-homepage .ik-story-quote-mark {
    grid-row: span 2;
    font: 700 clamp(3.2rem, 7vw, 5.2rem)/1 Georgia, serif;
    color: #d62311;
}
.ik-homepage .ik-featured-story blockquote {
    margin: 0;
    font-size: clamp(1.15rem, 2.25vw, 1.6rem);
    font-weight: 600;
    line-height: 1.55;
}
.ik-homepage .ik-story-card blockquote { margin: 0; }
.ik-homepage .ik-learner-stories figcaption { margin-top: 0.85rem; font-weight: 800; color: #a91b0d; }
.ik-homepage .ik-story-more summary { width: fit-content; color: #a91b0d; }
.ik-homepage .ik-founder-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(1rem, 5vw, 4rem);
}
.ik-homepage .ik-founder-hero .ik-section-title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.ik-homepage .ik-founder-hero .ik-section-title span { color: #b41b12; }
.ik-homepage .ik-founder-hero .ik-section-sub { margin: 1.1rem 0 1.6rem; }
.ik-homepage .ik-founder-portraits {
    container-type: inline-size;
    position: relative;
    width: min(100%, 32rem);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
}
.ik-homepage .ik-founder-portrait {
    width: 33%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
}
.ik-homepage .ik-researcher-ring {
    position: absolute;
    inset: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
    --radius: 28cqw;
}
.ik-homepage .ik-researcher-ring-1 { --radius: 43cqw; }
.ik-homepage .ik-researcher-ring li {
    position: absolute;
    left: calc(var(--radius) * cos(var(--angle)));
    top: calc(var(--radius) * sin(var(--angle)));
    width: 10cqw;
    transform: translate(-50%, -50%);
}
.ik-homepage .ik-researcher-ring img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px #e2d6d4;
}
@media (max-width: 760px) {
    .ik-homepage .ik-founder-hero { grid-template-columns: 1fr; }
}
