/* ═══════════════════════════════════════════════════════════════════════════
   ITALK homepage — "studio bento" look (2026-11-09), from the Cremona site:
   warm canvas, every section a rounded panel, colour-coded tiles with white
   icon squares, ink panels with numbered amber rows, pill buttons.
   Scoped to <body class="site studio">; classes are prefixed st- so nothing
   collides with italk-kit.css. Header/footer markup is the shared one, restyled.
   ═══════════════════════════════════════════════════════════════════════════ */
body.studio {
  --st-canvas: #F2F0EB; --st-panel: #FFFFFF; --st-row: #F6F5F1; --st-row-hover: #EFEDE7; --st-line: #E6E3DC;
  --st-ink: #15171C; --st-ink-2: #2A2B30; --st-ink-line: #34353B; --st-on-ink-2: #A9ADB8; --st-on-ink-3: #8A8F99;
  --st-text: #17191F; --st-muted: #5E6370; --st-faint: #8A8F99;
  --st-amber: #FFC23D; --st-on-amber: #15130E; --st-em: #A86F00;
  --st-sage: #DCE8D5; --st-sage-ink: #1F3B22; --st-sand: #F3E2C7; --st-sand-ink: #4F3410;
  --st-sky: #D6E3F2; --st-sky-ink: #13355C; --st-rose: #F4D7D0; --st-rose-ink: #5B1F14;
  --st-lilac: #E4DDF2; --st-lilac-ink: #35265C;
  --st-r: 28px; --st-r-md: 22px; --st-r-sm: 16px; --st-g: 16px;
  --st-head: "Bricolage Grotesque", var(--font-sans);
  background: var(--st-canvas); color: var(--st-text); word-break: keep-all;
}
.studio .st-main { display: flex; flex-direction: column; gap: 14px; padding: 14px var(--st-g) 14px; }
.studio .st-main *, .studio .st-main *::before, .studio .st-main *::after { box-sizing: border-box; }
.studio .st-main h1, .studio .st-main h2, .studio .st-main h3, .studio .st-main h4, .studio .st-main p, .studio .st-main blockquote, .studio .st-main figure { margin: 0; }
.studio .st-main .ic { font-variation-settings: "FILL" 1, "wght" 500, "opsz" 24; }

/* ── Header: floating white bar ─────────────────────────────────────────── */
.studio .site-top { background: transparent !important; border-bottom: 0 !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 12px var(--st-g) 0; }
.studio .site-top-in { max-width: 1280px; height: 68px; padding: 0 12px 0 20px; border-radius: 22px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 10px 30px rgba(21, 23, 28, .07); }
.studio .site-nav a { font-size: 14px; font-weight: 500; color: var(--st-muted); }
.studio .site-nav a:hover { background: var(--st-row-hover); color: var(--st-text); }
.studio .site-nav a[aria-current="page"] { background: var(--st-ink); color: #fff; font-weight: 600; }
.studio .site-top .lang-seg { background: var(--st-row); }
.studio .site-top .site-login { background: var(--st-row); color: var(--st-text); border-color: transparent; box-shadow: none; border-radius: 999px; }
.studio .site-top .site-trial { background: var(--st-ink); color: #fff; border-radius: 999px; }
.studio .site-top .site-menu-btn { background: var(--st-row); border-radius: 50%; }
.studio .site-drawer { background: transparent; border-top: 0; }
.studio .site-drawer-in { max-width: 1280px; margin-top: 8px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(21, 23, 28, .1); }
.studio .site-drawer-nav { background: var(--st-row); box-shadow: none; }
.studio .site-drawer .trial-btn { background: var(--st-ink); color: #fff; border-radius: 999px; }
.studio .site-drawer .btn-outline { border-radius: 999px; }
@media (max-width: 640px) {
  .studio .site-top { padding: 10px 10px 0; }
  .studio .site-top-in { height: 62px; padding: 0 8px 0 14px; }
}

/* ── Footer: ink panel ──────────────────────────────────────────────────── */
.studio .site-foot { width: calc(100% - 2 * var(--st-g)); max-width: 1280px; margin: 0 auto var(--st-g); border-radius: var(--st-r); background: var(--st-ink); }
.studio .site-foot::before { opacity: 0.06; }
.studio .site-foot-in { padding: 52px 48px 36px; }
.studio .site-foot-bar { border-top-color: var(--st-ink-line); }
.studio .site-foot-bar-in { padding: 20px 48px 24px; }
.studio .site-foot .site-foot-cta .btn { border-radius: 999px; }
.studio .site-foot-bar-in > a { height: 38px; padding: 0 14px; border-radius: 999px; background: var(--st-ink-2); color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .studio .site-foot { width: calc(100% - 20px); margin-bottom: 10px; border-radius: 24px; }
  .studio .site-foot-in { padding: 36px 20px 28px; }
  .studio .site-foot-bar-in { padding: 16px 20px 20px; }
}

/* ── Pills ──────────────────────────────────────────────────────────────── */
.st-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: 600 14.5px/1 var(--font-sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.st-pill:hover { transform: translateY(-1px); }
.st-pill .ic { font-size: 19px; }
.st-pill.lg { height: 54px; padding: 0 26px; font-size: 15.5px; }
.st-pill.ink { background: var(--st-ink); color: #fff; }
.st-pill.ink:hover { background: var(--st-ink-2); }
.st-pill.amber { background: var(--st-amber); color: var(--st-on-amber); }
.st-pill.white { background: #fff; color: var(--st-text); }
.st-pill.ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.st-pill.on-tile { background: rgba(255, 255, 255, .7); color: inherit; }
.st-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Panels + headings ──────────────────────────────────────────────────── */
.st-pnl { width: 100%; max-width: 1280px; margin: 0 auto; background: var(--st-panel); border-radius: var(--st-r); padding: 72px 64px; position: relative; overflow: hidden; }
.st-pnl.ink { background: var(--st-ink); color: #fff; }
.st-pnl.sand { background: var(--st-sand); }
.st-pnl.amber { background: var(--st-amber); color: var(--st-on-amber); }
.st-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--st-row); color: var(--st-muted); font-size: 13px; line-height: 1.45; font-weight: 600; }
.st-chip .ic { font-size: 15px; }
.st-pnl.ink .st-chip { background: var(--st-ink-2); color: #C9CCD3; }
.st-pnl.sand .st-chip { background: rgba(255, 255, 255, .6); color: var(--st-sand-ink); }
.st-pnl.amber .st-chip { background: rgba(255, 255, 255, .6); color: var(--st-on-amber); }
.st-h2 { font-family: var(--st-head); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.12; text-wrap: balance; }
.st-h2 em { font-style: normal; color: var(--st-em); }
.st-pnl.ink .st-h2 em { color: var(--st-amber); }
.st-lede { font-size: 16.5px; line-height: 1.75; color: var(--st-muted); max-width: 640px; }
.st-pnl.ink .st-lede { color: var(--st-on-ink-2); }
.st-pnl.sand .st-lede { color: #6B5130; }
.st-pnl.amber .st-lede { color: #4A3A12; }
.st-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.st-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.st-head-row .st-head { margin-bottom: 0; }

/* ── Hero (ink) ─────────────────────────────────────────────────────────── */
.st-hero { padding: 0; }
.st-orb { position: absolute; border-radius: 50%; background: var(--st-amber); pointer-events: none; }
.st-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 72px 64px 48px; position: relative; }
.st-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.st-h1 { font-family: var(--st-head); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; color: #fff; }
.st-h1 .amber { color: var(--st-amber); }
.st-hero-sub { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .78); max-width: 520px; }
.st-proof { display: flex; flex-wrap: wrap; gap: 8px; }
.st-proof > span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--st-ink-2); color: #DADCE1; font-size: 13px; font-weight: 600; }
.st-proof .ic { font-size: 16px; color: var(--st-amber); }
.st-phones { position: relative; height: 540px; }
.st-phones img { position: absolute; display: block; height: auto; border-radius: 11% / 5.1%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.st-phones .back { width: 214px; left: 8%; top: 40px; transform: rotate(-6deg); opacity: .92; }
.st-phones .front { width: 250px; right: 8%; top: 0; transform: rotate(3deg); }
.st-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--st-ink-line); position: relative; }
.st-stats > div { padding: 26px 32px 30px; display: flex; flex-direction: column; gap: 4px; }
.st-stats > div + div { border-left: 1px solid var(--st-ink-line); }
.st-stats .n { font-family: var(--st-head); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-stats .n small { font-size: 18px; color: var(--st-amber); margin-left: 3px; letter-spacing: 0; }
.st-stats .l { font-size: 13.5px; font-weight: 600; color: var(--st-on-ink-2); }

/* ── Teacher strip ──────────────────────────────────────────────────────── */
.st-strip { padding: 18px 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-strip .lbl { font-family: var(--st-head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-right: 6px; white-space: nowrap; }
.st-tchip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 5px; border-radius: 999px; background: var(--st-row); font-size: 14px; font-weight: 600; white-space: nowrap; }
.st-tchip .a { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; }
.st-tchip.dark { background: var(--st-ink); color: #fff; padding: 0 14px; }
.st-tchip.dark .ic { font-size: 17px; color: var(--st-amber); }

/* ── Colour tiles ───────────────────────────────────────────────────────── */
.st-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-tile { border-radius: var(--st-r-md); padding: 26px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; min-width: 0; position: relative; overflow: hidden; }
.st-tile.span2 { grid-column: span 2; }
.st-sq { width: 76px; height: 76px; flex: none; border-radius: 18px; background: rgba(255, 255, 255, .62); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.st-sq .ic { font-size: 42px; }
.st-sq.big { width: 96px; height: 96px; border-radius: 22px; }
.st-sq.big .ic { font-size: 56px; }
.st-tile h3 { font-family: var(--st-head); font-weight: 700; letter-spacing: -0.02em; font-size: 23px; line-height: 1.2; margin-bottom: 8px; color: inherit; }
.st-tile.span2 h3 { font-size: 30px; }
.st-tile p { font-size: 14.5px; line-height: 1.6; opacity: .88; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.st-tags span { background: rgba(255, 255, 255, .6); padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.st-c-sand { background: var(--st-sand); color: var(--st-sand-ink); }
.st-c-sky { background: var(--st-sky); color: var(--st-sky-ink); }
.st-c-sage { background: var(--st-sage); color: var(--st-sage-ink); }
.st-c-rose { background: var(--st-rose); color: var(--st-rose-ink); }
.st-c-lilac { background: var(--st-lilac); color: var(--st-lilac-ink); }
.st-c-ink { background: var(--st-ink); color: #fff; }
.st-c-ink .st-sq { background: #fff; color: var(--st-ink); }
.st-c-ink p { color: var(--st-on-ink-2); opacity: 1; }
.st-avs { display: flex; margin-top: auto; padding-top: 16px; }
.st-avs span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--st-sky); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #fff; color: var(--st-sky-ink); }
.st-avs span:first-child { margin-left: 0; }
.st-avs span.more { background: var(--st-sky-ink); color: #fff; }
.st-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.st-acts .st-pill { height: 42px; padding: 0 16px; font-size: 14px; }

/* ── Teachers ───────────────────────────────────────────────────────────── */
.st-tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-tcard { background: var(--st-row); border-radius: var(--st-r-md); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; color: var(--st-text); text-decoration: none; transition: background .15s, transform .18s; }
.st-tcard:hover { background: var(--st-row-hover); transform: translateY(-2px); }
.st-tcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.st-av { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--st-head); font-weight: 700; font-size: 22px; }
.st-yrs { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 700; }
.st-yrs.head { background: var(--st-ink); color: #fff; }
.st-tcard-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-tcard h3 { font-family: var(--st-head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.st-go { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.st-go .ic { font-size: 20px; }

/* ── Reviews (sand) ─────────────────────────────────────────────────────── */
.st-rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-rcard { background: #fff; border-radius: var(--st-r-md); padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.st-rtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-rtop .tag { padding: 5px 10px; border-radius: 999px; background: var(--st-row); font-size: 12px; font-weight: 600; color: var(--st-muted); white-space: nowrap; }
.st-stars { display: flex; gap: 1px; color: var(--st-amber); }
.st-stars .ic { font-size: 19px; }
.st-rcard blockquote { font-size: 15px; line-height: 1.7; color: var(--st-text); flex: 1; }
.st-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--st-line); }
.st-who .a { width: 42px; height: 42px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.st-who b { display: block; font-size: 14.5px; }
.st-who small { display: block; font-size: 12.5px; color: var(--st-muted); white-space: nowrap; }
.st-rsum { display: flex; flex-direction: column; gap: 12px; }
.st-rsum > div { flex: 1; border-radius: var(--st-r-md); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.st-big { font-family: var(--st-head); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.st-rsum small { display: block; font-size: 13.5px; font-weight: 600; opacity: .8; }

/* ── How it works (ink) ─────────────────────────────────────────────────── */
.st-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.st-how .st-head { margin-bottom: 28px; }
.st-steps { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.st-step { display: flex; gap: 16px; align-items: flex-start; background: var(--st-ink-2); border-radius: var(--st-r-sm); padding: 18px 20px; }
.st-num { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--st-amber); color: var(--st-on-amber); display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--st-head); }
.st-step h3 { font-family: var(--st-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: #fff; margin: 2px 0 4px; }
.st-step p { font-size: 14.5px; line-height: 1.6; color: var(--st-on-ink-2); }

/* ── Platform tiles ─────────────────────────────────────────────────────── */
.st-ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-ptiles .st-tile { min-height: 0; }

/* ── Final CTA (amber) ──────────────────────────────────────────────────── */
.st-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 16px 0; }
.st-cta .st-chip { align-self: center; }
.st-cta .st-h2 { font-size: clamp(30px, 4.4vw, 56px); }
.st-cta .st-lede { margin: 0 auto; }
.st-cta .st-btns { justify-content: center; margin-top: 8px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .st-tiles, .st-tgrid, .st-rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-rsum { flex-direction: row; }
  .st-rgrid .st-rsum { grid-column: span 2; }
}
@media (max-width: 900px) {
  .st-pnl { padding: 48px 28px; }
  .st-hero { padding: 0; }
  .st-hero-grid { grid-template-columns: 1fr; padding: 48px 28px 32px; }
  .st-phones { height: 440px; max-width: 420px; width: 100%; margin: 0 auto; }
  .st-phones .back { width: 180px; }
  .st-phones .front { width: 210px; }
  .st-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-stats > div:nth-child(3) { border-left: 0; }
  .st-stats > div:nth-child(n+3) { border-top: 1px solid var(--st-ink-line); }
  .st-how, .st-ptiles { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.studio { --st-g: 10px; }
  .studio .st-main { gap: 10px; padding-top: 10px; }
  .st-pnl { padding: 36px 18px; border-radius: 24px; }
  .st-hero { padding: 0; }
  .st-hero-grid { padding: 36px 20px 24px; gap: 24px; }
  .st-hero .st-btns .st-pill { width: 100%; }
  .st-phones { height: 430px; }
  .st-phones .back { width: 156px; left: 2%; }
  .st-phones .front { width: 186px; right: 2%; }
  .st-stats > div { padding: 20px 20px 22px; }
  .st-stats .n { font-size: 28px; }
  .st-stats .n small { font-size: 14px; }
  .st-strip { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 14px 16px; }
  .st-strip::-webkit-scrollbar { display: none; }
  .st-tchip { flex: none; }
  .st-head, .st-head-row { margin-bottom: 28px; }
  .st-tiles, .st-tgrid, .st-rgrid { grid-template-columns: 1fr; }
  .st-tile.span2, .st-rgrid .st-rsum { grid-column: auto; }
  .st-tile { min-height: 0; padding: 22px 20px; }
  .st-sq, .st-sq.big { width: 68px; height: 68px; border-radius: 16px; }
  .st-sq .ic, .st-sq.big .ic { font-size: 38px; }
  .st-tile.span2 h3 { font-size: 24px; }
  .st-rsum { flex-direction: column; }
  .st-cta .st-btns .st-pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .st-pill, .st-tcard { transition: none; } .st-pill:hover, .st-tcard:hover { transform: none; } }
