/* English Idioms SEO pages (topic + idiom). Tokens follow the site: paper, ink, idioms accent. */
/* Literata 400 for idiom examples and definitions (site.css ships only 600). OFL, from @fontsource/literata. */
@font-face{font-family:"Literata";src:url(/fonts/literata-400-latin.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Literata";src:url(/fonts/literata-400-latin-ext.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Literata";src:url(/fonts/literata-400-cyrillic.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
.ix {
  --ix-paper: #F5F1E8; --ix-card: #FCFAF5; --ix-ink: #1C1B18; --ix-muted: #5E594F; --ix-line: #E0D8C8;
  --ix-soft: #EAE3D5; --ix-accent: #0F4A46; --ix-tint: #D7E8E4; --ix-right: #DCEBE7; --ix-wrong-bg: #F7E4D9;
  --ix-wrong: #B4532A; --ix-serif: 'Literata', Georgia, serif; --ix-sans: 'Golos Text', system-ui, sans-serif;
  --ix-pad: max(var(--pad, 80px), calc((100% - 1440px) / 2 + var(--pad, 80px)));
  font-family: var(--ix-sans); color: var(--ix-ink); background: var(--ix-paper);
}
.ix--inline { background: transparent; }
.ix *, .ix *::before, .ix *::after { box-sizing: border-box; }
.ix .ix-cta__text h2, .ix h2 { margin: 0; font-family: var(--ix-serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
.ix a { color: inherit; }
.ix a:hover { color: var(--ix-wrong); }
.ix-muted { color: var(--ix-muted); }
.ix-p { margin: 0; font-size: 18px; line-height: 1.65; }
.ix-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ix-accent); }

/* hero */
.ix-hero { background: var(--ix-tint); padding: 32px var(--ix-pad) 64px; display: flex; flex-direction: column; gap: 32px; }
.ix-crumbs { font-size: 14px; color: var(--ix-muted); }
.ix-crumbs a { color: var(--ix-muted); }
.ix-crumbs [aria-current] { color: var(--ix-ink); }
.ix-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.ix-hero__main { display: flex; flex-direction: column; gap: 20px; max-width: 760px; min-width: 0; }
.ix-hero__main--wide { max-width: 860px; }
.ix-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ix-tag { padding: 6px 12px; border-radius: 999px; background: var(--ix-card); font-size: 13px; font-weight: 600; color: var(--ix-accent); text-decoration: none; }
.ix a.ix-tag { color: var(--ix-accent); }
.ix-pill { padding: 8px 14px; border-radius: 999px; background: var(--ix-card); font-size: 14px; font-weight: 600; }
.ix-h1 { margin: 0; font-family: var(--ix-serif); font-size: clamp(40px, 6vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ix-h1--topic { font-size: clamp(36px, 5vw, 60px); }
.ix-lead { margin: 0; color: var(--ix-muted); font-size: 19px; line-height: 1.6; }
.ix-say { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ix-listen { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ix-accent); color: #fff; font: 600 15px var(--ix-sans); cursor: pointer; }
.ix-ipa { font-size: 17px; color: var(--ix-muted); }
.ix-reg { padding: 5px 10px; border-radius: 999px; background: var(--ix-card); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ix-accent); }
.ix-native { width: 440px; max-width: 100%; flex-shrink: 0; background: var(--ix-card); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ix-native__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ix-muted); }
.ix-badge { padding: 5px 10px; border-radius: 999px; background: var(--ix-accent); color: #fff; font-size: 12px; letter-spacing: 0.06em; }
.ix-native__text { font-family: var(--ix-serif); font-size: clamp(28px, 3vw, 36px); font-weight: 600; line-height: 1.15; }
.ix-native__lit { font-size: 15px; color: var(--ix-muted); line-height: 1.5; }

/* body */
.ix-body { padding: 72px var(--ix-pad) 88px; display: flex; gap: 64px; align-items: flex-start; }
.ix-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.ix-block { display: flex; flex-direction: column; gap: 16px; }
.ix-def { margin: 0; font-weight: 400; font-family: var(--ix-serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.4; }
.ix-examples { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ix-line); }
.ix-examples li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ix-line); font-family: var(--ix-serif); font-weight: 400; font-size: 20px; line-height: 1.55; }
.ix-n { font-family: var(--ix-serif); font-size: 15px; color: var(--ix-muted); min-width: 22px; flex-shrink: 0; }
.ix-hl { color: var(--ix-accent); font-weight: 600; }
.ix-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ix-chip { padding: 10px 16px; border-radius: 999px; background: var(--ix-card); border: 1px solid var(--ix-line); font-size: 16px; font-weight: 600; text-decoration: none; }
.ix a.ix-chip { color: var(--ix-accent); }
.ix-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ix-pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--ix-line); border-radius: 16px; text-decoration: none; }
.ix-pager a[rel="next"] { text-align: right; }
.ix-pager span { font-size: 14px; color: var(--ix-muted); }
.ix-pager b { font-family: var(--ix-serif); font-size: 18px; font-weight: 600; }

/* side card: practice / quiz */
.ix-side { width: 460px; flex-shrink: 0; background: var(--ix-card); border: 1px solid var(--ix-line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.ix-side--quiz { width: 560px; padding: 36px; }
.ix-side__h { font-family: var(--ix-serif); font-size: 26px; font-weight: 600; margin-top: -18px; }
.ix-side__foot { border-top: 1px solid var(--ix-line); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.ix-side__foot p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ix-muted); }
.ix-quiz { display: flex; flex-direction: column; gap: 28px; }
.ix-q { display: flex; flex-direction: column; gap: 14px; }
.ix-q__head { display: flex; flex-direction: column; gap: 8px; }
.ix-q__mode, .ix-q__kind { font-size: 15px; color: var(--ix-muted); }
.ix-q__prompt { font-family: var(--ix-serif); font-size: 21px; line-height: 1.4; font-weight: 600; }
.ix-side--quiz .ix-q__prompt { font-size: 26px; line-height: 1.3; }
.ix-q__gap { font-family: var(--ix-serif); font-size: 22px; font-weight: 600; color: var(--ix-accent); }
.ix-opts { display: flex; flex-direction: column; gap: 10px; }
.ix-opt { width: 100%; min-height: 52px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; border: 1px solid var(--ix-line); border-radius: 14px; background: #fff; font: 16px/1.4 var(--ix-sans); color: var(--ix-ink); cursor: pointer; }
.ix-opt:hover:not(:disabled) { border-color: var(--ix-accent); }
.ix-opt:disabled { cursor: default; }
.ix-opt__mark { font-weight: 700; font-size: 18px; }
.ix-opt.is-right { border: 2px solid var(--ix-accent); background: var(--ix-right); }
.ix-opt.is-wrong { border: 2px solid var(--ix-wrong); background: var(--ix-wrong-bg); }
.ix-opt.is-dim { opacity: 0.5; }
.ix-slots, .ix-tiles { display: flex; gap: 8px; flex-wrap: wrap; }
.ix-slot, .ix-tile { display: flex; align-items: center; justify-content: center; font: 600 24px var(--ix-serif); color: var(--ix-ink); }
.ix-slot { width: 44px; height: 52px; border-radius: 10px; border: 1.5px dashed #B9B1A0; }
.ix-slot.is-filled { border: 1px solid var(--ix-line); background: #fff; }
.ix-slot.is-right { border: 2px solid var(--ix-accent); background: var(--ix-right); }
.ix-slot.is-wrong { border: 2px solid var(--ix-wrong); background: var(--ix-wrong-bg); }
.ix-tile { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--ix-line); background: #fff; cursor: pointer; }
.ix-tile:disabled { opacity: 0.3; cursor: default; }
.ix-erase { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ix-line); border-radius: 12px; background: transparent; color: var(--ix-ink); cursor: pointer; }
.ix-erase:disabled { opacity: 0.35; cursor: default; }
.ix-fb { font-size: 15px; line-height: 1.5; min-height: 1px; }
.ix-fb .is-right { color: var(--ix-accent); }
.ix-fb .is-wrong { color: var(--ix-wrong); }
.ix-test__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--ix-muted); }
.ix-test__top .ix-kicker { font-size: 13px; }
.ix-test__count { white-space: nowrap; }
.ix-bar { height: 6px; border-radius: 999px; background: var(--ix-soft); overflow: hidden; margin-top: -14px; }
.ix-bar__fill { height: 6px; border-radius: 999px; background: var(--ix-accent); transition: width .25s ease; }
.ix-test__foot { display: flex; justify-content: flex-end; }
.ix-btn { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ix-ink); color: #fff; font: 600 15px var(--ix-sans); cursor: pointer; }
.ix-btn--ghost { align-self: flex-start; min-height: 44px; padding: 0 18px; border: 1px solid var(--ix-line); background: transparent; color: var(--ix-ink); }
.ix-result { display: flex; flex-direction: column; gap: 20px; }
.ix-result__score { display: flex; align-items: baseline; gap: 12px; }
.ix-result__n { font: 600 88px/1 var(--ix-serif); }
.ix-result__of { font: 32px var(--ix-serif); color: var(--ix-muted); }
.ix-result__v { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 600; }
.ix-result .ix-p { font-size: 16px; }

/* stores */
.ix-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.ix-store { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 12px; background: var(--ix-ink); text-decoration: none; }
.ix a.ix-store, .ix a.ix-store:hover { color: #fff; }
.ix-store span { font-size: 11px; line-height: 1.2; color: #D9D3C6; }
.ix-store b { font-size: 17px; font-weight: 600; line-height: 1.2; }
.ix-store--light { background: var(--ix-paper); }
.ix a.ix-store--light, .ix a.ix-store--light:hover { color: var(--ix-ink); }
.ix-store--light span { color: var(--ix-muted); }

/* topic list */
.ix-body--topic .ix-main { gap: 12px; }
.ix-list-h { margin: 0; }
.ix-rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--ix-line); margin-top: 12px; }
.ix-row { display: grid; grid-template-columns: 22px minmax(0, 250px) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--ix-line); text-decoration: none; }
.ix-row__i { font-family: var(--ix-serif); font-size: 19px; font-weight: 600; }
.ix-row__m { color: var(--ix-muted); font-size: 16px; }

/* more from topic */
.ix-more { padding: 0 var(--ix-pad) 96px; display: flex; flex-direction: column; gap: 28px; }
.ix-more__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ix-more__head a { font-size: 16px; font-weight: 600; color: var(--ix-accent); }
.ix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ix-card { background: var(--ix-card); border: 1px solid var(--ix-line); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.ix-card__i { font-family: var(--ix-serif); font-size: 20px; font-weight: 600; }
.ix-card__m { color: var(--ix-muted); font-size: 15px; }

/* CTA */
.ix-cta { background: var(--ix-accent); color: var(--ix-paper); padding: 80px var(--ix-pad) 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.ix-cta__text { display: flex; flex-direction: column; gap: 24px; max-width: 600px; padding-bottom: 96px; }
.ix-cta__app { display: flex; align-items: center; gap: 16px; font: 600 20px var(--ix-serif); }
.ix-cta__app img { width: 56px; height: 56px; display: block; }
.ix-cta h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.ix-cta p { margin: 0; color: #CFE2DD; font-size: 18px; line-height: 1.6; }
.ix-cta__phone { width: 320px; height: 620px; overflow: hidden; flex-shrink: 0; }
.ix-phone { width: 320px; height: 692px; border: 10px solid var(--ix-ink); border-bottom: 0; border-radius: 48px 48px 0 0; background: var(--ix-paper); overflow: hidden; }
.ix-phone img { width: 100%; height: auto; display: block; }

/* standalone preview only */
.ix-prev-head { display: flex; justify-content: space-between; padding: 18px var(--ix-pad, 24px); font: 600 16px 'Golos Text', system-ui, sans-serif; border-bottom: 1px solid #E0D8C8; background: #F5F1E8; }
body.ix-preview { margin: 0; background: #F5F1E8; }

@media (max-width: 1100px) {
  .ix-hero__row { flex-direction: column; align-items: stretch; }
  .ix-native { width: auto; }
  .ix-body { flex-direction: column; gap: 48px; }
  .ix-side, .ix-side--quiz { width: 100%; }
  .ix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ix-cta { flex-direction: column; align-items: stretch; }
  .ix-cta__text { padding-bottom: 0; }
  .ix-cta__phone { align-self: center; height: 420px; }
}
@media (max-width: 640px) {
  .ix-hero { padding-top: 20px; padding-bottom: 40px; gap: 24px; }
  .ix-body { padding-top: 40px; padding-bottom: 56px; }
  .ix-side, .ix-side--quiz { padding: 22px; border-radius: 20px; }
  .ix-side--quiz .ix-q__prompt { font-size: 22px; }
  .ix-grid, .ix-pager { grid-template-columns: minmax(0, 1fr); }
  .ix-pager a[rel="next"] { text-align: left; }
  .ix-row { grid-template-columns: 22px minmax(0, 1fr); }
  .ix-row__m { grid-column: 2; }
  .ix-examples li { font-size: 18px; }
  .ix-cta { padding-top: 56px; }
  .ix-cta__phone { width: 260px; height: 360px; }
  .ix-phone { width: 260px; height: 560px; border-radius: 40px 40px 0 0; }
}
