:root { --ink: #17223b; --purple: #6754e9; --purple-dark: #5140cc; --mint: #35c2a0; --paper: #fbfaff; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); }
.site-header { max-width: 1180px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; border-radius: 12px; background: linear-gradient(145deg, var(--purple), #8475f4); font-size: .84rem; box-shadow: 0 8px 20px rgba(103,84,233,.2); }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #536078; text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--purple); }
.site-header .nav-cta { color: white; background: var(--purple); padding: 10px 18px; border-radius: 11px; }
.site-header .nav-cta:hover { color: white; background: var(--purple-dark); }
.hero { max-width: 1180px; margin: 0 auto; min-height: 680px; padding: 90px 28px 110px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 80px; }
.hero h1 { margin: 12px 0 22px; max-width: 740px; font-size: clamp(3rem, 5.8vw, 5.2rem); line-height: .99; letter-spacing: -.055em; }
.eyebrow { color: var(--purple); font-size: .8rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-text { max-width: 650px; color: #5e687c; font-size: 1.22rem; line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 13px; text-decoration: none; font-weight: 700; }
.primary-button { color: white; background: var(--purple); box-shadow: 0 12px 28px rgba(103,84,233,.25); }
.primary-button:hover { background: var(--purple-dark); transform: translateY(-1px); }
.secondary-button { color: var(--ink); border: 1px solid #dfe2ec; background: white; }
.trust-note { margin-top: 24px; color: #7c8495; font-size: .92rem; }
.flashcard-preview { position: relative; padding: 25px; border: 1px solid rgba(103,84,233,.12); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: 0 30px 80px rgba(56,43,118,.16); transform: rotate(2deg); }
.flashcard-preview::before { content: ""; position: absolute; inset: -35px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(103,84,233,.2), transparent 66%); }
.preview-top { display: flex; justify-content: space-between; color: #7c8495; font-size: .84rem; font-weight: 700; }
.sample-card { min-height: 280px; margin: 22px 0; padding: 30px; border-radius: 20px; background: linear-gradient(145deg, #6c59eb, #5644d1); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 18px 36px rgba(81,64,204,.25); }
.sample-card strong { font-size: 2rem; }
.sample-card > span:last-child { font-size: 1.35rem; }
.language-label { margin-bottom: 22px; padding: 5px 11px; border-radius: 20px; background: rgba(255,255,255,.14); font-size: .72rem; font-weight: 700; }
.card-divider { width: 50px; height: 2px; margin: 20px 0; background: rgba(255,255,255,.35); }
.progress-track { height: 6px; overflow: hidden; border-radius: 10px; background: #eceaf6; }
.progress-track span { display: block; width: 60%; height: 100%; background: var(--mint); }
.flashcard-preview > p { margin-top: 12px; color: #7c8495; text-align: center; font-size: .88rem; }
.section { max-width: 1180px; margin: 0 auto; padding: 105px 28px; }
.section > h2, .feature-section h2 { max-width: 700px; margin: 10px 0 50px; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps article { padding: 30px; border: 1px solid #e7e5f1; border-radius: 20px; background: white; }
.steps article > span { color: var(--mint); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.steps h3 { margin: 40px 0 10px; font-size: 1.25rem; }
.steps p, .feature-section > div > p:last-child { color: #697386; }
.feature-section { max-width: none; padding-left: max(28px, calc((100vw - 1124px)/2)); padding-right: max(28px, calc((100vw - 1124px)/2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; background: #f0eefb; }
.feature-section h2 { margin-bottom: 22px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-list li { min-height: 160px; padding: 25px; display: flex; flex-direction: column; gap: 10px; border-radius: 18px; background: white; }
.feature-list strong { font-size: 1.1rem; }
.feature-list span { color: #697386; }
.auth-section { max-width: 1180px; margin: 0 auto; padding: 115px 28px; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 90px; }
.auth-intro h2 { margin: 10px 0 20px; font-size: clamp(2.5rem, 4vw, 4rem); letter-spacing: -.04em; }
.auth-intro > p:last-child { max-width: 570px; color: #697386; font-size: 1.08rem; }
.auth-section .login-container { width: 100%; max-width: none; margin: 0; text-align: left; }
.auth-section .login-container h3 { margin-bottom: 22px; font-size: 1.45rem; }
.login-container label { display: block; margin-bottom: 7px; color: #465269; font-size: .86rem; font-weight: 700; }
.login-container form + p { margin-top: 18px; }
.login-container p { text-align: center; color: #6a7487; font-size: .9rem; }
.login-container a { color: var(--purple-dark); }
.auth-legal { margin-top: 16px; font-size: .78rem !important; }
footer { padding: 34px max(28px, calc((100vw - 1124px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #e6e4ef; background: white; color: #727b8c; font-size: .9rem; }
footer div { display: flex; gap: 12px; }
footer a { color: #556078; }
.footer-brand { font-size: 1rem; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.policy-page { max-width: 850px; margin: 0 auto; padding: 80px 28px 120px; }
.policy-page article { padding: clamp(28px, 6vw, 70px); border: 1px solid #e7e5f1; border-radius: 24px; background: white; box-shadow: 0 22px 60px rgba(56,43,118,.08); }
.policy-page h1 { margin: 10px 0 4px; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.045em; }
.policy-page h2 { margin: 36px 0 10px; font-size: 1.35rem; }
.policy-page p { margin-bottom: 15px; color: #596478; line-height: 1.75; }
.policy-page .policy-date { margin-bottom: 35px; color: #8b92a0; }
.policy-page code { padding: 2px 5px; border-radius: 5px; background: #f1effa; }
.back-link { display: inline-block; margin-top: 32px; color: var(--purple-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 850px) {
    .site-header nav a:not(.nav-cta) { display: none; }
    .hero { min-height: auto; padding-top: 65px; grid-template-columns: 1fr; gap: 65px; }
    .hero h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
    .flashcard-preview { max-width: 500px; width: 100%; margin: 0 auto; }
    .steps, .feature-section, .auth-section { grid-template-columns: 1fr; }
    .feature-section, .auth-section { gap: 50px; }
    .auth-section .login-container { max-width: 500px; }
    footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
    .site-header { padding: 18px 20px; }
    .site-header .nav-cta { padding: 9px 14px; }
    .hero, .section, .auth-section { padding-left: 20px; padding-right: 20px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .steps, .feature-list { grid-template-columns: 1fr; }
    .sample-card { min-height: 235px; }
    .auth-section .login-container { padding: 26px 20px; }
    .cookie-banner { bottom: 12px; }
    .cookie-content { align-items: stretch; flex-direction: column; }
    footer { padding-left: 20px; padding-right: 20px; }
}
