@charset "UTF-8";

/* ------------------------------------------------------------------ *
 * ihos — fonts
 * Self-hosted so the page has no third-party dependency and no
 * Google Fonts request. One variable file per unicode subset; the
 * browser downloads only the subsets a visitor's text actually needs.
 *
 * DM Sans ships no Greek subset, so it is always followed by Manrope
 * in the display stack: Latin renders in DM Sans, Greek falls through
 * to Manrope rather than to an arbitrary system font.
 * ------------------------------------------------------------------ */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  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: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  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;
}

/* ------------------------------------------------------------------ *
 * Tokens
 * ------------------------------------------------------------------ */

:root {
  --bg: #efebe1;
  --bg-alt: #e4e0d6;
  --card: #f7f4ec;

  --ink: #3a4a5a;
  --ink-2: #6b7683;
  --ink-3: #9aa0a6;

  --line: #d7d2c6;
  --line-soft: #dfdace;
  --line-field: #d3cec2;
  --track: #e4dfd3;

  --gold: #d9b44e;
  --red: #b04a3e;
  --green: #4a7c59;

  --dark: #3a4a5a;
  --dark-deep: #2b3945;
  --dark-card: #35444f;
  --dark-line: #4e606f;
  --dark-rule: #4a5865;
  --dark-ink: #efebe1;
  --dark-ink-2: #bdc4ca;
  --dark-ink-3: #8b9199;

  --display: 'DM Sans', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --ui: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --shell: 1180px;
  --gutter: 40px;
}

/* ------------------------------------------------------------------ *
 * Reset
 * ------------------------------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* Author `display` rules outrank the UA sheet's [hidden], so pin it. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ *
 * Layout primitives
 * ------------------------------------------------------------------ */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.band { border-top: 1px solid var(--line); }
.band--alt { background: var(--bg-alt); }
.band--sand { background: #e4e0d6; }
.band--dark { background: var(--dark); color: var(--dark-ink); }

/* ------------------------------------------------------------------ *
 * Type
 * ------------------------------------------------------------------ */

.eyebrow {
  display: block;
  font-family: var(--ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.label {
  display: block;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}

.h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
  text-wrap: balance;
}
.h1 em { font-style: normal; font-weight: 500; }

.h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 48ch;
}

.prose {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 17px 30px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--dark-deep); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: rgba(58, 74, 90, 0.06); }

.btn--sm { min-height: 40px; padding: 11px 20px; font-size: 12px; }
.btn--md { min-height: 44px; padding: 12px 22px; font-size: 12px; }

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 235, 225, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__in {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__word {
  font-family: var(--display);
  font-weight: 300;
  font-size: 21px;
  letter-spacing: 0.34em;
  color: var(--ink);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav__link:hover { color: var(--ink); }

.langswitch {
  display: flex;
  border: 1px solid var(--line);
  flex: none;
}

.langswitch a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.langswitch a:hover { background: rgba(58, 74, 90, 0.06); }
.langswitch a[aria-current='true'] { background: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.hero { padding-top: 88px; }

.hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.hero__headline { margin-bottom: 34px; animation: ihenter 0.6s ease both; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
  padding-bottom: 64px;
}

.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: ihpulse 2.2s infinite;
}

/* ------------------------------------------------------------------ *
 * Demo
 * ------------------------------------------------------------------ */

.demo__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.demo__head .h2 { max-width: 22ch; }

.demo__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.demo__track {
  height: 3px;
  background: #dfdace;
  margin-bottom: 26px;
}

.demo__bar {
  display: block;
  height: 3px;
  width: 0;
  background: var(--ink);
}

.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: start;
}

.source {
  border: 1px solid var(--ink);
  background: var(--card);
  padding: 24px;
}

.source__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.source__air {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.source__text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  min-height: 112px;
}

.caret { color: var(--gold); }

.livetag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
}
.livetag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: ihpulse 1.6s ease-in-out infinite;
}

.statustag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
}
.statustag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: ihpulse 2.2s infinite;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  flex: none;
}
.wave span {
  width: 3px;
  height: 5px;
  background: var(--ink);
  animation: ihwave 1.4s ease-in-out infinite;
}
.wave span:nth-child(2) { animation-delay: 0.12s; }
.wave span:nth-child(3) { animation-delay: 0.24s; }
.wave span:nth-child(4) { animation-delay: 0.36s; }
.wave span:nth-child(5) { animation-delay: 0.48s; }
.wave--sm { height: 20px; }

.channels { display: flex; flex-direction: column; gap: 10px; }

.channel {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.channel__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.channel__meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.channel__status { margin-top: 10px; }
.channel__text { font-size: 14.5px; line-height: 1.6; color: var(--ink); min-height: 70px; }

/* ------------------------------------------------------------------ *
 * How it works
 * ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step { padding: 26px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: none; }
.step__n { font-family: var(--mono); font-size: 11px; color: var(--gold); margin-bottom: 14px; }
.step .h3 { margin-bottom: 10px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* ------------------------------------------------------------------ *
 * App screens
 * ------------------------------------------------------------------ */

.app__intro { max-width: 62ch; margin-bottom: 40px; }
.app__intro .eyebrow { margin-bottom: 14px; }
.app__intro .h2 { margin-bottom: 14px; }
.app__intro p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.screens {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.screen { flex: 0 0 348px; max-width: 100%; }

.screen__body {
  width: 348px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 700px;
}

.screen__pad {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 22px;
}

.screen__cap {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 14px;
}

.screen__title {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--card);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
}
.banner .dot { animation-duration: 1.4s; }

.tile {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
}

.tile--air {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
}

.pill--ink {
  border-color: var(--ink);
  color: var(--ink);
  min-height: 32px;
  padding: 8px 14px;
  font-size: 11px;
}

.qr {
  flex: none;
  background: #fff;
  line-height: 0;
  padding: 4px;
}

.rows { border-top: 0; }
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.row__name { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.row__right { display: flex; align-items: center; gap: 12px; }
.row__count { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

.fauxselect {
  min-width: 150px;
  min-height: 44px;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--line-field);
  background: var(--card);
  font-size: 14px;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7683' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.endbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  margin-top: 24px;
}

/* guest screen */
.guest__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.guest__title {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 6px 0 2px;
}
.guest__by { font-size: 12px; color: var(--ink-3); margin-bottom: 22px; }

.guest__field {
  width: 100%;
  min-height: 48px;
  padding: 14px 40px 14px 16px;
  border: 1px solid var(--ink);
  background: var(--card);
  font-size: 14px;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7683' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.guest__list {
  border: 1px solid var(--line-field);
  border-top: none;
  background: var(--card);
}
.guest__opt { padding: 12px 16px; font-size: 14px; color: var(--ink); }
.guest__opt--muted { color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.guest__opt--on { background: var(--ink); color: var(--bg); }
.guest__group {
  padding: 10px 16px 4px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink-3);
}

.guest__transcript {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  margin-bottom: 22px;
}
.guest__transcript p { font-size: 14px; line-height: 1.65; color: var(--ink); margin-top: 8px; }
.guest__transcript p + p { color: var(--ink-3); }

.holdbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 18px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* guide home */
.home__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.home__avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
}
.home__next {
  border: 1px solid var(--ink);
  background: var(--card);
  padding: 20px;
  margin-bottom: 26px;
}
.home__nextTitle { font-family: var(--ui); font-weight: 700; font-size: 21px; margin: 8px 0 4px; }
.home__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.home__stats {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.home__stat { flex: 1; min-width: 0; padding: 14px 0 14px 14px; border-left: 1px solid var(--line); }
.home__stat:first-child { padding-left: 0; border-left: none; }
.home__statV { font-family: var(--ui); font-weight: 700; font-size: 21px; }
.home__statK { font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-3); }

.tour {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.tour__title { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tour__meta { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.tour__langs { font-family: var(--mono); font-size: 11px; color: var(--ink-2); flex: none; }

.tabs { display: flex; border-top: 1px solid var(--line); background: var(--bg); }
.tab {
  flex: 1;
  padding: 13px 4px 15px;
  border-top: 2px solid transparent;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-3);
}
.tab--on { border-top-color: var(--ink); color: var(--ink); }

/* hub */
.hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding-top: 44px;
}
.hub .h3 {
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 16px;
}
.hub p { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); max-width: 52ch; }

.hubcard {
  width: 348px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 26px 20px 22px;
}
.hubcard__title { font-family: var(--ui); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 16px; }
.hubrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; }
.hubrow span:first-child { font-size: 13px; font-weight: 500; color: var(--ink); }
.hubrow em { font-style: normal; color: var(--ink-3); }
.hubrow__on { font-family: var(--mono); font-size: 10.5px; color: var(--green); }

.level { height: 4px; background: var(--track); }
.level span { display: block; height: 4px; background: var(--ink); }

.chipbtn {
  min-height: 32px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
}
.chipbtn--off { border-color: var(--line); color: var(--ink-3); }

/* ------------------------------------------------------------------ *
 * Why / comparison
 * ------------------------------------------------------------------ */

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
.why .h2 { font-size: clamp(26px, 3vw, 40px); }

.cmp__head,
.cmp__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.cmp__head {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.cmp__head span {
  font-family: var(--ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cmp__head span:last-child { color: var(--ink); }

.cmp__row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.cmp__label { font-size: 13px; font-weight: 600; color: var(--ink); padding-right: 16px; }
.cmp__old { font-size: 13px; color: var(--ink-3); padding-right: 16px; }
.cmp__new { font-size: 13px; color: var(--ink); }

/* ------------------------------------------------------------------ *
 * Q&A (dark)
 * ------------------------------------------------------------------ */

.qa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.qa .eyebrow { color: var(--gold); margin-bottom: 16px; }
.qa .h2 { color: var(--dark-ink); font-size: clamp(26px, 3.2vw, 42px); margin-bottom: 18px; }
.qa__body { font-size: 15px; line-height: 1.62; color: var(--dark-ink-2); max-width: 46ch; }

.qacard { border: 1px solid var(--dark-line); background: var(--dark-card); padding: 26px; }
.qacard__banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 18px;
}
.qacard__banner .dot { animation-duration: 1.4s; }
.qacard__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dark-ink-3);
  margin-bottom: 8px;
}
.qacard__tag--gold { color: var(--gold); }
.qacard__line {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--dark-ink);
}
.qacard__rule { height: 1px; background: var(--dark-rule); margin: 20px 0; }

/* ------------------------------------------------------------------ *
 * Languages
 * ------------------------------------------------------------------ */

.langs__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.langs__head .h2 { font-size: clamp(24px, 2.8vw, 38px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-field);
  background: var(--card);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.chip--more { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------------ *
 * Apply / form
 * ------------------------------------------------------------------ */

.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}
.apply .h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; margin-bottom: 18px; }
.apply__body { max-width: 44ch; margin-bottom: 26px; }

.facts { border-top: 1px solid var(--line); }
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fact__v { font-size: 13px; font-weight: 500; color: var(--ink); text-align: right; }

.formcard { border: 1px solid var(--ink); background: var(--card); padding: 32px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; }
.field > .label { margin-bottom: 8px; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--line-field);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline-offset: 0; }

.select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7683' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.textarea { line-height: 1.55; resize: vertical; }

.form__submit {
  width: 100%;
  min-height: 48px;
  padding: 17px;
  border: none;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.form__submit:hover { background: var(--dark-deep); }
.form__submit[disabled] { opacity: 0.6; cursor: progress; }

.form__note { font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--ink-3); }

.form__error {
  padding: 13px 16px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 13px;
  line-height: 1.5;
}

.sent {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.sent h3 { font-family: var(--ui); font-weight: 700; font-size: 23px; letter-spacing: -0.01em; }
.sent p { font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 42ch; }
.sent button {
  min-height: 44px;
  padding: 12px 0;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* honeypot — hidden from people, tempting to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__in {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3); }
.footer__place { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }

/* ------------------------------------------------------------------ *
 * Motion
 * ------------------------------------------------------------------ */

@keyframes ihpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes ihwave {
  0%, 100% { height: 5px; }
  50% { height: 22px; }
}

@keyframes ihenter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ *
 * Responsive
 * The source design was drawn at desktop width only. These breakpoints
 * are additive: nothing above 1100px changes.
 * ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .demo__grid { grid-template-columns: minmax(0, 1fr); }
  .hub { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hubcard { width: 100%; max-width: 420px; }
}

@media (max-width: 960px) {
  :root { --gutter: 28px; }

  .hero { padding-top: 60px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 48px; }

  .why { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .qa { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .apply { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 24px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }

  .screens { gap: 18px; }
  .screen { flex: 1 1 300px; }
}

@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav__link { display: none; }
  .header__in { height: 60px; }
  .brand__word { font-size: 18px; letter-spacing: 0.28em; }

  .channel { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .channel__text { min-height: 0; }

  .cmp__head { display: none; }
  .cmp__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 16px 0;
  }
  .cmp__old::before,
  .cmp__new::before {
    display: block;
    font-family: var(--ui);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 2px;
  }
  .cmp__old::before { content: attr(data-h); }
  .cmp__new::before { content: 'ihos'; color: var(--ink); }

  .formcard { padding: 22px; }
  .form__pair { grid-template-columns: minmax(0, 1fr); }

  .footer__in { justify-content: flex-start; gap: 14px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .hero { padding-top: 44px; }
  .hero__tag { margin-bottom: 24px; }
  .hero__headline { margin-bottom: 24px; }
  .hero__actions .btn { width: 100%; }

  .btn { padding: 15px 22px; }

  .demo__head { gap: 16px; margin-bottom: 22px; }
  .source { padding: 18px; }
  .source__text { font-size: 17px; min-height: 96px; }

  .screen, .screen__body { width: 100%; flex: 1 1 100%; }
  .screen__body { min-height: 0; }
  .screen__pad { padding: 24px 18px 18px; }

  .qacard { padding: 20px; }
  .sent { min-height: 0; }
}
