@font-face { font-family: Baskervville; src: url("baskervville.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Baskervville; src: url("baskervville-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #faf9f5; --surface: #fffefa; --ink: #182e26; --forest: #224c36;
  --muted: #535e54; --line: #dddcd1; --gold: #926432;
  --serif: Baskervville, Baskerville, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #ab7532; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(81rem, 89.5%); margin-inline: auto; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; top: .5rem; inset-inline-start: .5rem; z-index: 5; padding: .8rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; width: fit-content; font: 400 2.05rem/1 var(--serif); letter-spacing: -.06em; }
.brand img { display: block; border-radius: .59rem; width: 2.43rem; height: 2.43rem; }
.main-nav { display: flex; align-items: stretch; gap: 2.1rem; align-self: stretch; }
.main-nav a { position: relative; display: flex; align-items: center; padding-block: .5rem; color: var(--muted); font-size: .94rem; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); }
.main-nav a[aria-current]::after { position: absolute; content: ""; inset-inline: 0; bottom: 1.15rem; height: 2px; background: #a67f41; }
.language { justify-self: end; position: relative; z-index: 3; }
.language summary { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.5rem; padding: .45rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; font-size: .9rem; color: var(--ink); }
.language summary::-webkit-details-marker { display: none; }
.language summary .chevron { width: .8rem; height: .8rem; }
.language[open] .chevron { transform: rotate(180deg); }
.language-menu { position: absolute; inset-inline-end: 0; top: calc(100% + .4rem); min-width: 10rem; padding: .35rem; border-radius: .65rem; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 .6rem 2rem #182e2615; }
.language-menu a { display: flex; align-items: center; justify-content: space-between; padding: .65rem .8rem; border-radius: .4rem; font-size: .95rem; }
.language-menu a:hover, .language-menu [aria-current] { background: #edf1e8; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 4.2vw, 5rem); padding-block: clamp(2.25rem, 4vw, 4.25rem); }
.hero-copy { padding-block: .3rem; }
.eyebrow, .mini-label { display: flex; align-items: center; gap: .7rem; font-size: .76rem; line-height: 1.35; font-weight: 700; text-transform: uppercase; letter-spacing: .145em; }
.eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 1.9rem; height: 2px; background: #b08850; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.15rem, 5.5vw, 5.45rem); line-height: 1.04; letter-spacing: -.066em; margin-block: 1.2rem 1.15rem; }
h1 em { display: block; color: #496341; font-weight: 400; }
.intro { font-size: clamp(1.05rem, 1.35vw, 1.23rem); line-height: 1.59; color: var(--muted); max-width: 35rem; text-wrap: pretty; }
.actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 1rem 1.55rem; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; border-radius: .55rem; padding: .88rem 1.3rem; min-height: 3rem; color: #fff; background: var(--forest); font-size: .97rem; line-height: 1.35; font-weight: 600; transition: background .18s; }
.button:hover { background: #143724; }
.text-link { font-size: .96rem; font-weight: 550; padding: .4rem 0; text-decoration: underline; text-underline-offset: .38em; text-decoration-color: #979f8e; }
.text-link:hover, .footer-row a:hover { color: #7c572c; }
.study-languages { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; margin-top: clamp(1.65rem, 2.4vw, 2.5rem); color: var(--muted); font-size: .84rem; }
.study-languages > span { padding-inline-end: 1rem; border-inline-end: 1px solid #c9cbbd; }
.study-languages ul { display: inline-flex; gap: .55rem; padding: 0; list-style: none; align-items: baseline; color: #39493e; }
.study-languages li + li::before { content: "·"; color: #84765d; margin-inline-end: .55rem; }
.hero-art { position: relative; aspect-ratio: 1.36; border-radius: 1.1rem; overflow: hidden; isolation: isolate; background: #dec79f; }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.sample-panel { position: absolute; bottom: 5.2%; left: 4.2%; border: 1px solid #d6c9ad; border-radius: .65rem; background: #fffdf4; box-shadow: 0 .25rem 1.3rem #30241125; padding: .85rem 1rem; min-width: 11rem; }
.mini-label { color: #746342; font-size: .75rem; letter-spacing: .085em; gap: .38rem; }
.mini-label .icon { width: .95rem; height: .95rem; }
.sample-word { display: flex; flex-direction: column; align-items: start; padding-inline-end: 2.15rem; }
.sample-word bdi { display: block; font: 400 1.85rem/1.38 var(--serif); margin-block: .18rem .06rem; }
.sample-word span, .sample-caption { font-size: .9rem; line-height: 1.3; color: #5b6256; }
.next-word { position: absolute; inset-inline-end: .6rem; bottom: .65rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #ccd1c0; border-radius: 50%; color: var(--forest); background: #f4f5ea; }
.next-word:hover { background: #dfe7d6; }
.lesson-sample { display: grid; gap: .1rem; }
.lesson-sample strong { font: 400 1.65rem/1.3 var(--serif); margin-block: .2rem; }
.features { padding-block: clamp(2rem, 3.7vw, 3.6rem) clamp(2.25rem, 4vw, 4rem); border-top: 1px solid var(--line); background: var(--surface); }
.section-heading { display: flex; align-items: center; gap: 1.35rem; margin-bottom: 1.65rem; }
h2 { font-size: clamp(2.1rem, 3.05vw, 3rem); line-height: 1.15; letter-spacing: -.055em; }
.section-heading span { flex: 1; height: 1px; background: var(--line); }
.section-heading .icon { width: 1.55rem; height: 1.55rem; color: #9b824f; stroke-width: 1.8; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem, 1.8vw, 1.65rem); }
.feature { border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; background: var(--surface); }
.feature-visual { height: clamp(9rem, 12vw, 11rem); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 1rem; position: relative; isolation: isolate; }
.visual-1 { background: #dce4d6; }
.visual-2 { background: #f0e2c8; }
.visual-3 { background: #e1e7e4; }
.feature-copy { padding: 1.25rem 1.4rem 1.5rem; }
h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); line-height: 1.22; letter-spacing: -.042em; }
.feature-copy p, .invitation p { font-size: 1rem; line-height: 1.55; }
.feature-copy p { color: var(--muted); margin-top: .55rem; }
.mini-dictionary, .invite-card, .chart { border: 1px solid #bac5ae; border-radius: .48rem; background: #fffff8; box-shadow: 3px 4px 0 #c2cdb6; }
.mini-dictionary { width: min(85%, 15.5rem); padding: .7rem .95rem; transform: rotate(-4deg) translateY(.4rem); }
.mini-title, .chart > span { display: flex; gap: .4rem; align-items: center; font-size: .85rem; font-weight: 650; }
.mini-title { padding-bottom: .35rem; border-bottom: 1px solid #d6d9c8; }
.dictionary-row { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .18rem 0; font-size: .88rem; }
.dictionary-row bdi { font: 1.12rem/1.35 var(--serif); }
.dictionary-row span { color: #575f52; }
.daily-card { display: grid; gap: .48rem; position: relative; border-radius: .48rem; background: #345540; color: #fffdf3; width: min(75%, 13.25rem); padding: .85rem 1.2rem; box-shadow: 4px 4px 0 #f5f0de, 5px 5px 0 #c5b799, 9px 9px 0 #e7d6b1; transform: rotate(4deg); }
.daily-card span { font-size: .82rem; color: #eef0df; }
.daily-card bdi { text-align: center; font: 1.6rem/1.3 var(--serif); }
.progress-marks { display: flex; gap: .2rem; align-self: end; }
.progress-marks i { width: 1.2rem; height: 3px; border-radius: 2px; background: #f1ca78; }
.progress-marks i:last-child { background: #82947d; }
.conversation { width: min(95%, 18rem); display: grid; gap: .55rem; }
.conversation span, .source-list div, .invite-strip { display: flex; gap: .55rem; align-items: center; padding: .59rem .8rem; font-size: .86rem; line-height: 1.35; }
.conversation span:first-child { justify-self: end; border-radius: .7rem .7rem .12rem .7rem; background: #425f50; color: white; }
.conversation span:last-child { max-width: 93%; justify-self: start; border-radius: .7rem .7rem .7rem .12rem; background: #fffef8; box-shadow: 0 2px 0 #c7d0c7; }
.invite-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6rem; padding: .75rem .85rem; font-size: .88rem; transform: rotate(-3deg); }
.round-icon { display: grid; place-items: center; border-radius: 50%; width: 2rem; height: 2rem; background: #e8eddf; }
.invite-strip { grid-column: 1 / -1; background: #f1f4e9; border: 1px dashed #aab79f; border-radius: .35rem; }
.source-list { display: grid; gap: .45rem; width: min(85%, 15rem); }
.source-list div { background: #fffdf5; border: 1px solid #d2c4a5; border-radius: .4rem; box-shadow: 2px 3px 0 #daccb0; }
.source-list div + div { margin-inline-start: .85rem; background: #faf4e7; }
.chart { width: min(80%, 14rem); padding: .75rem 1rem; transform: rotate(3deg); }
.bars { display: flex; align-items: end; gap: .4rem; height: 3.6rem; margin-top: .25rem; border-bottom: 1px solid #c4d0bc; }
.bars i { height: 40%; flex: 1; background: #81997c; border-radius: .15rem .15rem 0 0; }
.bars i:nth-child(2n) { height: 65%; background: #5b7a59; }
.bars i:nth-child(3n) { height: 52%; }
.bars i:last-child { height: 85%; background: #31573d; }
aside.wrap { padding-block: clamp(2rem, 3.5vw, 3.5rem); }
.invitation { isolation: isolate; overflow: hidden; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.7rem, 3.5vw, 3.3rem); border-radius: .9rem; background: #233f31; color: #fffdf1; }
.invitation-copy { max-width: 40rem; }
.invitation h2 { font-size: clamp(1.95rem, 2.8vw, 2.8rem); }
.invitation p { color: #d5dece; margin-top: .5rem; }
.light { flex: none; background: #fffbed; color: #234532; }
.light:hover { background: #f1dfaf; }
.watermark { position: absolute; z-index: -1; width: 15rem; height: 15rem; inset-inline-end: 10%; top: -2rem; color: #7e9677; opacity: .19; stroke-width: .5; transform: rotate(15deg); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 1.4rem 2rem; }
.footer-row .brand { font-size: 1.6rem; }
.footer-row .brand img { width: 1.9rem; height: 1.9rem; border-radius: .4rem; }
.footer-row > div { display: flex; flex-wrap: wrap; gap: 1.5rem; color: var(--muted); font-size: .9rem; }
:lang(ar) { letter-spacing: normal; }
html[lang="ar"] { --serif: Georgia, "Geeza Pro", "Noto Naskh Arabic", serif; --sans: "Geeza Pro", Tahoma, Arial, sans-serif; }
html[lang="ar"] h1 { line-height: 1.35; }
html[lang="ar"] h1 em { font-style: normal; }
html[lang="ru"] { --serif: Georgia, "Times New Roman", serif; }
@media (min-width: 1550px) { .hero { gap: 5rem; } }
@media (max-width: 850px) {
  .wrap { width: 91.5%; }
  .hero { gap: 1.6rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-art { aspect-ratio: 1.03; }
  h1 { font-size: clamp(2.85rem, 5.6vw, 3.15rem); }
  .feature-copy { padding: 1.05rem; }
  .feature-visual { padding: .65rem; }
  .study-languages { gap: .3rem .6rem; }
  .study-languages > span { padding-inline-end: .6rem; }
}
@media (max-width: 680px) {
  .header-row { grid-template-columns: 1fr auto; column-gap: .8rem; row-gap: 0; min-height: 0; padding-top: .8rem; }
  .main-nav { grid-row: 2; grid-column: 1/-1; gap: 1.5rem; justify-content: center; }
  .main-nav a { padding: .75rem 0 .8rem; font-size: .9rem; }
  .main-nav a[aria-current]::after { bottom: 0; }
  .brand { font-size: 1.75rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.1rem 1.8rem; }
  h1 { font-size: clamp(3rem, 9.6vw, 4.15rem); margin-block: .85rem; }
  .intro { font-size: 1.05rem; line-height: 1.5; }
  .actions { margin-top: 1.1rem; }
  .study-languages { margin-top: 1.15rem; }
  .hero-art { aspect-ratio: 1.38; }
  .feature-visual { height: 10rem; }
  .cards { grid-template-columns: 1fr; gap: 1.1rem; }
  .feature-copy { padding: 1.25rem; }
  .section-heading { gap: .85rem; margin-bottom: 1.25rem; }
  .invitation { align-items: start; flex-direction: column; }
  .footer-row { align-items: start; }
  .footer-row > div { justify-content: end; gap: .5rem 1rem; }
}
@media (max-width: 360px) {
  .main-nav { gap: .85rem; }
  .main-nav a { font-size: .85rem; }
  .study-languages { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
