  /* ─── Design Tokens ─────────────────────────────────────── */
  :root {
    --col-bg: #F5F4F2;
    --col-surface: #FFFFFF;
    --col-accent: #B8FF5C;
    --col-accent-dim: #D4FFAB;
    --col-ink: #111110;
    --col-ink-2: #3A3A38;
    --col-ink-3: #7A7A76;
    --col-ink-4: #B0AFA9;
    --col-border: #E8E7E3;
    --col-border-soft: #F0EFEB;
    --col-glass: rgba(255, 255, 255, 0.72);
    --col-green-bg: rgba(184, 255, 92, 0.12);

    --r-card: clamp(22px, 2.2vw, 36px);
    --r-input: clamp(16px, 1.4vw, 22px);
    --r-btn: 999px;
    --r-pill: 999px;

    --shadow-card: 0 2px 2px rgba(0,0,0,.03), 0 8px 24px rgba(0,0,0,.06), 0 24px 56px rgba(0,0,0,.07);
    --shadow-float: 0 2px 2px rgba(0,0,0,.04), 0 8px 20px rgba(0,0,0,.10), 0 20px 40px rgba(0,0,0,.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06);

    --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --ease-out: cubic-bezier(.16,1,.3,1);
  }

  /* ─── Reset ─────────────────────────────────────────────── */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    font-family: var(--f-sans);
    font-size: clamp(17px, 0.95vw + 8px, 21px);
    color: var(--col-ink);
    background: var(--col-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  body,
  input,
  button,
  textarea,
  select {
    font-family: var(--f-sans);
  }

  body {
    min-width: 320px;
    min-height: 100svh;
    line-height: 1.75;
    background: var(--col-bg);
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button,
  input {
    font: inherit;
  }

  button {
    cursor: pointer;
  }

  img,
  svg {
    display: block;
  }

  /* ─── Layout ─────────────────────────────────────────────── */
  .page {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(520px, 48vw) minmax(0, 1fr);
    background: var(--col-bg);
  }

  .left {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(48px, 6vw, 88px) clamp(44px, 6vw, 96px);
    background: var(--col-surface);
  }

  .left-inner {
    width: min(100%, 580px);
  }

  .right {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 4vw, 56px);
    background: linear-gradient(145deg, #EDECEA 0%, #E6E5E1 40%, #DDDCD7 100%);
  }

  .preview {
    position: relative;
    z-index: 2;
    width: min(100%, 680px);
  }

  /* ─── Top Bar / Logo ────────────────────────────────────── */
  .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(44px, 6vw, 72px);
  }

  .logo {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1vw, 14px);
    min-width: 0;
  }

  .logo-mark {
    width: clamp(38px, 3vw, 44px);
    height: clamp(38px, 3vw, 44px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--col-ink);
  }

  .logo-mark svg {
    width: clamp(18px, 1.6vw, 22px);
    height: clamp(18px, 1.6vw, 22px);
  }

  .logo-name {
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 650;
    letter-spacing: -0.04em;
    color: var(--col-ink);
  }

  .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 9px 15px;
    border-radius: 12px;
    border: 1px solid var(--col-border);
    background: transparent;
    font-size: clamp(14px, 1.2vw, 17px);
    color: var(--col-ink-3);
    font-weight: 450;
    transition: background .15s, color .15s, border-color .15s;
  }

  .lang-btn:hover {
    background: var(--col-bg);
    color: var(--col-ink-2);
    border-color: var(--col-ink-4);
  }

  .lang-flag {
    font-size: 14px;
    line-height: 1;
  }

  /* ─── Headings ───────────────────────────────────────────── */
  .heading {
    max-width: 11ch;
    margin-bottom: 16px;
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.12;
    color: var(--col-ink);
  }

  .subheading {
    margin-bottom: clamp(36px, 4vw, 52px);
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.65;
    color: #5F5F5B;
  }

  /* ─── Form ───────────────────────────────────────────────── */
  .form-group {
    margin-bottom: 22px;
  }

  .form-label {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--col-ink-2);
  }

  .input-wrap {
    position: relative;
  }

  .input-icon {
    position: absolute;
    left: clamp(18px, 1.7vw, 22px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--col-ink-4);
    pointer-events: none;
    transition: color .2s;
  }

  .input-icon svg {
    width: clamp(18px, 1.6vw, 22px);
    height: clamp(18px, 1.6vw, 22px);
  }

  .form-input {
    width: 100%;
    height: clamp(64px, 6vw, 78px);
    padding: 0 clamp(18px, 2vw, 24px) 0 clamp(56px, 5.3vw, 66px);
    border-radius: clamp(18px, 1.8vw, 22px);
    border: 2px solid var(--col-border);
    background: var(--col-bg);
    color: var(--col-ink);
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 500;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
  }

  .form-input::placeholder {
    color: var(--col-ink-4);
    font-size: clamp(17px, 1.5vw, 20px);
  }

  .form-input:hover {
    border-color: var(--col-ink-4);
  }

  .form-input:focus {
    border-color: var(--col-ink);
    background: var(--col-surface);
    box-shadow: 0 0 0 4px rgba(17,17,16,.07);
  }

  .input-wrap:focus-within .input-icon {
    color: var(--col-ink-2);
  }

  .form-error {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #FFF2F0;
    border: 1px solid #FFD6D1;
    color: #8A1F14;
    font-size: clamp(15px, 1.3vw, 17px);
    font-weight: 550;
    line-height: 1.5;
  }

  .field-error {
    margin-top: 8px;
    color: #8A1F14;
    font-size: 15px;
    font-weight: 500;
  }

  .btn-primary {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(64px, 6vw, 78px);
    margin-top: 34px;
    border: none;
    border-radius: var(--r-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--col-ink);
    color: var(--col-accent);
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 650;
    letter-spacing: 0;
    transition: background .2s, transform .15s var(--ease-spring), box-shadow .2s;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184,255,92,.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .2s;
  }

  .btn-primary:hover {
    background: #1A1A18;
    box-shadow: 0 4px 20px rgba(0,0,0,.22);
  }

  .btn-primary:hover::after {
    opacity: 1;
  }

  .btn-primary:active {
    transform: scale(.98);
  }

  .btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform .2s var(--ease-spring);
  }

  .btn-primary:hover svg {
    transform: translateX(2px);
  }

  .demo-access {
    margin-top: 34px;
    padding: clamp(16px, 1.7vw, 20px);
    border-radius: 22px;
    background: var(--col-green-bg);
    border: 1px solid rgba(184,255,92,.55);
    color: var(--col-ink-2);
  }

  .demo-access-title {
    margin-bottom: 6px;
    color: var(--col-ink);
    font-size: 16px;
    font-weight: 700;
  }

  .demo-access-text {
    color: var(--col-ink-2);
    font-size: 16px;
    line-height: 1.65;
    word-break: break-word;
  }

  .form-footer {
    margin-top: 38px;
    text-align: center;
  }

  .form-terms {
    color: var(--col-ink-4);
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.8;
  }

  .form-terms a {
    color: var(--col-ink-3);
    border-bottom: 1px solid var(--col-border);
    transition: color .15s, border-color .15s;
  }

  .form-terms a:hover {
    color: var(--col-ink);
    border-color: var(--col-ink-3);
  }

  .signup-row {
    margin-top: 22px;
    color: var(--col-ink-3);
    font-size: clamp(16px, 1.3vw, 18px);
  }

  .signup-row a {
    color: var(--col-ink);
    font-weight: 550;
    border-bottom: 1.5px solid var(--col-accent);
    transition: opacity .15s;
  }

  .signup-row a:hover {
    opacity: .7;
  }

  .trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
  }

  .trust-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--col-border-soft);
    background: var(--col-bg);
    color: var(--col-ink-3);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 450;
    letter-spacing: .01em;
  }

  .trust-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--col-accent);
  }

  /* ─── Right Preview ─────────────────────────────────────── */
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .55;
    pointer-events: none;
  }

  .blob-1 {
    width: 520px;
    height: 520px;
    top: -120px;
    right: -80px;
    background: rgba(184,255,92,.28);
    animation: blobDrift1 14s ease-in-out infinite alternate;
  }

  .blob-2 {
    width: 380px;
    height: 380px;
    bottom: -60px;
    left: -40px;
    background: rgba(180,220,255,.22);
    animation: blobDrift2 18s ease-in-out infinite alternate;
  }

  .float-card {
    position: absolute;
    z-index: 3;
    top: clamp(18px, 2vw, 28px);
    right: clamp(16px, 2vw, 28px);
    max-width: min(320px, calc(100% - 32px));
    padding: 8px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.9);
    background: var(--col-glass);
    box-shadow: var(--shadow-float);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: floatIn .8s var(--ease-out) .25s both, floatBob 6s ease-in-out 1.05s infinite;
  }

  .float-label {
    margin-bottom: 6px;
    color: var(--col-ink-4);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
  }

  .float-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .float-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--col-green-bg);
  }

  .float-value {
    color: var(--col-ink);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
  }

  .float-sub {
    margin-top: 4px;
    color: var(--col-ink-3);
    font-size: 13px;
    line-height: 1.35;
  }

  .workflow-strip {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 24px;
  }

  .wf-step {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }

  .wf-dot {
    width: clamp(30px, 3vw, 38px);
    height: clamp(30px, 3vw, 38px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .3s;
  }

  .wf-dot.done {
    background: var(--col-ink);
    color: var(--col-accent);
  }

  .wf-dot.active {
    background: var(--col-accent);
    color: var(--col-ink);
    box-shadow: 0 0 0 4px rgba(184,255,92,.25);
  }

  .wf-dot.todo {
    background: var(--col-border);
    color: var(--col-ink-4);
  }

  .wf-label {
    color: var(--col-ink-4);
    font-size: clamp(12px, 1.1vw, 15px);
    font-weight: 500;
    text-align: center;
    line-height: 1.35;
  }

  .wf-label.active-label {
    color: var(--col-ink-2);
  }

  .wf-connector {
    flex: 0 0 clamp(8px, 1vw, 12px);
    height: 1.5px;
    margin-top: clamp(15px, 1.5vw, 19px);
    background: var(--col-border);
  }

  .wf-connector.done-c {
    background: var(--col-ink);
  }

  .dash-card {
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--r-card);
    border: 1px solid rgba(255,255,255,.85);
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-float);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: cardIn .7s var(--ease-out) both;
  }

  .dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
  }

  .dash-patient {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
  }

  .dash-avatar {
    width: clamp(44px, 4vw, 52px);
    height: clamp(44px, 4vw, 52px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #B8FF5C 0%, #7DCC1A 100%);
    color: #1A3300;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 650;
  }

  .dash-patient-info {
    min-width: 0;
    line-height: 1.15;
  }

  .dash-patient-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--col-ink);
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 650;
  }

  .dash-patient-meta {
    margin-top: 6px;
    color: var(--col-ink-3);
    font-size: clamp(14px, 1.3vw, 17px);
  }

  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    color: #3A6600;
    background: var(--col-green-bg);
    border: 1px solid rgba(184,255,92,.4);
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 550;
    white-space: nowrap;
  }

  .status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6DC000;
    animation: pulse 2s ease-in-out infinite;
  }

  .waveform {
    display: flex;
    align-items: center;
    gap: 2.5px;
    height: 30px;
    margin-bottom: 18px;
    overflow: hidden;
  }

  .wave-bar {
    width: 3px;
    height: var(--h, 18px);
    border-radius: 999px;
    background: var(--col-accent);
    opacity: .75;
  }

  .transcription-box,
  .soap-section {
    margin-bottom: 18px;
    padding: clamp(16px, 1.7vw, 22px);
    border-radius: 20px;
    border: 1px solid var(--col-border-soft);
    background: var(--col-surface);
  }

  .transcription-label {
    margin-bottom: 10px;
    color: var(--col-ink-4);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .transcription-text {
    color: var(--col-ink-2);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.75;
  }

  .transcription-text em {
    color: var(--col-ink);
    font-style: normal;
    font-weight: 500;
  }

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

  .soap-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--col-ink);
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 600;
    letter-spacing: -.01em;
  }

  .soap-badge {
    padding: 4px 10px;
    border-radius: 7px;
    background: var(--col-green-bg);
    color: #3A6600;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .soap-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .soap-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .soap-key {
    min-width: 34px;
    padding-top: 2px;
    color: var(--col-ink-4);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .soap-val {
    color: var(--col-ink-2);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.75;
  }

  .action-row {
    display: flex;
    gap: 12px;
  }

  .btn-ehr,
  .btn-secondary-sm {
    min-height: 54px;
    border-radius: var(--r-pill);
    font-size: clamp(14px, 1.2vw, 16px);
  }

  .btn-ehr {
    flex: 1;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--col-ink);
    color: var(--col-accent);
    font-weight: 600;
    cursor: default;
    transition: box-shadow .2s;
  }

  .btn-ehr:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
  }

  .btn-secondary-sm {
    padding: 0 16px;
    border: 1.5px solid var(--col-border);
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--col-ink-2);
    font-weight: 500;
    cursor: default;
    transition: background .15s;
  }

  .btn-secondary-sm:hover {
    background: rgba(255,255,255,.6);
  }

  .preview-caption {
    margin-top: 28px;
    text-align: center;
    color: var(--col-ink-4);
    font-size: 15px;
    font-weight: 450;
    letter-spacing: .01em;
  }

  .pulse-line-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    overflow: hidden;
    opacity: .18;
    pointer-events: none;
  }

  .pulse-line-wrap svg {
    width: 100%;
    height: 100%;
  }

  .cursor-blink {
    display: inline-block;
    width: 2px;
    height: 13px;
    margin-left: 3px;
    border-radius: 1px;
    vertical-align: middle;
    background: var(--col-ink);
    animation: blink 1.1s step-end infinite;
  }



  /* ─── Animations ─────────────────────────────────────────── */
  .left-inner > * {
    animation: fadeUp .55s var(--ease-out) both;
  }

  .top-bar { animation-delay: .05s; }
  .heading { animation-delay: .10s; }
  .subheading { animation-delay: .14s; }
  .form-group { animation-delay: .18s; }
  .btn-primary { animation-delay: .22s; }
  .demo-access { animation-delay: .26s; }
  .form-footer { animation-delay: .30s; }
  .trust-row { animation-delay: .34s; }

  @keyframes blobDrift1 {
    from { transform: translate(0,0) scale(1); }
    to { transform: translate(-30px,40px) scale(1.08); }
  }

  @keyframes blobDrift2 {
    from { transform: translate(0,0) scale(1); }
    to { transform: translate(40px,-30px) scale(1.05); }
  }

  @keyframes cardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes floatIn {
    from { opacity: 0; transform: translateY(12px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  @keyframes floatBob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  @keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(.85); }
  }

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

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

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

  /* ─── Large laptop / smaller desktop ─────────────────────── */
  @media (max-width: 1320px) {
    .page {
      grid-template-columns: minmax(500px, 50vw) minmax(0, 1fr);
    }

    .left {
      padding: 64px 56px;
    }

    .right {
      padding: 36px 28px;
    }

    .heading {
      max-width: 13ch;
    }
  }

  /* ─── Laptop / tablet landscape ─────────────────────────── */
  @media (max-width: 1120px) {
    html {
      font-size: 18px;
    }

    .page {
      grid-template-columns: minmax(430px, 48vw) minmax(0, 1fr);
    }

    .left {
      padding: 48px 40px;
    }

    .top-bar {
      margin-bottom: 44px;
    }

    .right {
      padding: 28px 22px;
    }

    .workflow-strip {
      gap: 2px;
    }

    .wf-label {
      font-size: 12px;
    }

    .float-card {
      display: none;
    }
  }

  /* ─── Tablet / small laptop: stack sections ─────────────── */
  @media (max-width: 920px) {
    html {
      font-size: 18px;
    }

    body {
      background: var(--col-surface);
    }

    .page {
      min-height: auto;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
    }

    .left {
      min-height: auto;
      padding: 42px 28px 36px;
      justify-content: flex-start;
    }

    .left-inner {
      max-width: 640px;
    }

    .right {
      min-height: auto;
      padding: 34px 28px 42px;
    }

    .preview {
      max-width: 720px;
    }

    .heading {
      max-width: none;
    }
  }

  /* ─── Mobile ─────────────────────────────────────────────── */
  @media (max-width: 640px) {
    html {
      font-size: 17px;
    }

    .left {
      padding: 28px 18px 30px;
    }

    .top-bar {
      align-items: flex-start;
      margin-bottom: 34px;
    }

    .logo-name {
      font-size: 21px;
    }

    .lang-btn {
      min-height: 40px;
      padding: 8px 12px;
      font-size: 14px;
    }

    .heading {
      font-size: clamp(34px, 9vw, 42px);
      line-height: 1.12;
    }

    .subheading {
      margin-bottom: 34px;
      font-size: 18px;
      line-height: 1.55;
    }

    .form-input,
    .btn-primary {
      height: 62px;
      font-size: 17px;
    }

    .form-input {
      padding-left: 52px;
      border-radius: 18px;
    }

    .input-icon {
      left: 18px;
    }

    .input-icon svg {
      width: 18px;
      height: 18px;
    }

    .btn-primary {
      margin-top: 26px;
    }

    .demo-access {
      margin-top: 28px;
      border-radius: 18px;
    }

    .form-footer {
      margin-top: 30px;
    }

    .trust-row {
      margin-top: 30px;
      justify-content: flex-start;
    }

    .right {
      padding: 26px 14px 34px;
    }

    .preview {
      width: 100%;
    }

    .workflow-strip {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 6px;
      margin-bottom: 16px;
    }

    .wf-connector {
      display: none;
    }

    .wf-dot {
      width: 30px;
      height: 30px;
      font-size: 12px;
    }

    .wf-label {
      font-size: 11px;
      line-height: 1.25;
    }

    .dash-card {
      padding: 18px;
      border-radius: 24px;
    }

    .dash-header {
      align-items: flex-start;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 20px;
    }

    .status-pill {
      align-self: flex-start;
    }

    .transcription-text,
    .soap-val {
      font-size: 15px;
      line-height: 1.65;
    }

    .soap-header {
      align-items: flex-start;
      flex-direction: column;
    }

    .action-row {
      flex-direction: column;
    }

    .btn-ehr,
    .btn-secondary-sm {
      width: 100%;
      justify-content: center;
      min-height: 50px;
    }

    .preview-caption {
      font-size: 13px;
    }
  }

  /* ─── Small mobile ───────────────────────────────────────── */
  @media (max-width: 420px) {
    .top-bar {
      flex-wrap: wrap;
      gap: 14px;
    }

    .lang-btn {
      margin-left: 52px;
    }

    .form-terms,
    .signup-row,
    .demo-access-text {
      text-align: left;
    }

    .trust-pill {
      width: 100%;
      justify-content: center;
    }

    .workflow-strip {
      display: none;
    }

    .right {
      padding-top: 18px;
    }

    .dash-card {
      padding: 16px;
    }

    .waveform {
      display: none;
    }

    .transcription-box {
      display: none;
    }
  }



  /* ─── No-scroll viewport fit fix ─────────────────────────── */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100svh;
}

.page {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  grid-template-columns: minmax(500px, 46vw) minmax(0, 1fr);
}

.left,
.right {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.left {
  padding: clamp(24px, 4vh, 56px) clamp(32px, 4vw, 72px);
}

.left-inner {
  width: min(100%, 560px);
  max-height: calc(100svh - 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-bar {
  margin-bottom: clamp(24px, 4vh, 44px);
}

.heading {
  max-width: 13ch;
  margin-bottom: clamp(8px, 1.4vh, 14px);
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.06;
}

.subheading {
  margin-bottom: clamp(22px, 3vh, 36px);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.35;
}

.form-group {
  margin-bottom: clamp(14px, 1.8vh, 20px);
}

.form-label {
  margin-bottom: 7px;
}

.form-input,
.btn-primary {
  height: clamp(56px, 6.2vh, 70px);
}

.btn-primary {
  margin-top: clamp(20px, 2.6vh, 30px);
}

.demo-access {
  margin-top: clamp(20px, 2.6vh, 30px);
  padding: clamp(12px, 1.8vh, 18px);
}

.form-footer {
  margin-top: clamp(20px, 2.8vh, 32px);
}

.form-terms {
  line-height: 1.45;
}

.signup-row {
  margin-top: clamp(10px, 1.8vh, 18px);
}

.trust-row {
  margin-top: clamp(18px, 2.4vh, 30px);
}

.right {
  padding: clamp(20px, 3vh, 42px) clamp(22px, 3vw, 48px);
}

.preview {
  width: min(100%, 660px);
  max-height: calc(100svh - 56px);
}

.workflow-strip {
  margin-bottom: clamp(14px, 2vh, 22px);
}

.dash-card {
  padding: clamp(20px, 2.6vh, 32px);
}

.dash-header {
  margin-bottom: clamp(16px, 2.2vh, 24px);
}

.waveform {
  height: 26px;
  margin-bottom: clamp(12px, 1.6vh, 16px);
}

.transcription-box,
.soap-section {
  margin-bottom: clamp(12px, 1.6vh, 16px);
  padding: clamp(14px, 1.8vh, 18px);
}

.transcription-text,
.soap-val {
  line-height: 1.45;
}

.soap-rows {
  gap: clamp(7px, 1.1vh, 10px);
}

.btn-ehr,
.btn-secondary-sm {
  min-height: clamp(46px, 5.4vh, 54px);
}

.preview-caption {
  margin-top: clamp(14px, 2vh, 22px);
}

/* Lower-height desktop screens */
@media (max-height: 850px) {
  .trust-row {
    display: none;
  }

  .preview-caption {
    display: none;
  }

  .heading {
    font-size: clamp(34px, 3vw, 46px);
  }

  .subheading {
    font-size: 18px;
  }
}

/* Very low-height screens */
@media (max-height: 760px) {
  .form-footer {
    display: none;
  }

  .transcription-box {
    display: none;
  }

  .workflow-strip {
    margin-bottom: 14px;
  }

  .dash-card {
    padding: 20px;
  }
}

/* Small laptops / tablets: keep no scroll by hiding preview */
@media (max-width: 920px) {
  html,
  body {
    overflow: hidden;
  }

  .page {
    height: 100svh;
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .left {
    height: 100svh;
    padding: 24px 24px;
    align-items: center;
    justify-content: center;
  }

  .left-inner {
    width: min(100%, 560px);
    max-height: calc(100svh - 48px);
  }

  .right {
    display: none;
  }

  .heading {
    max-width: none;
  }
}

/* Mobile no-scroll */
@media (max-width: 640px) {
  .left {
    padding: 20px 18px;
  }

  .top-bar {
    margin-bottom: 24px;
  }

  .heading {
    font-size: clamp(30px, 8vw, 38px);
  }

  .subheading {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .form-input,
  .btn-primary {
    height: 56px;
    font-size: 16px;
  }

  .btn-primary {
    margin-top: 20px;
  }

  .demo-access {
    margin-top: 22px;
  }

  .form-footer,
  .trust-row {
    display: none;
  }
}


.lang-form{
    display:flex;
    align-items:center;
}

.lang-select{
    min-height:48px;
    padding:0 14px;
    border-radius:14px;
    border:1px solid var(--col-border);
    background:rgba(255,255,255,.75);
    color:var(--col-ink-2);
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    outline:none;
}

.lang-select:hover{
    border-color:#bbb;
}

.lang-select:focus{
    border-color:#B8FF5C;
}



/* ─── Balanced readable sizing ─────────────────────────── */

html {
  font-size: clamp(16px, 0.75vw + 8px, 20px);
}

.logo-name {
  font-size: clamp(19px, 1.5vw, 23px);
}

.lang-btn,
.lang-select {
  font-size: 14px;
}

.heading {
  font-size: clamp(36px, 3.3vw, 50px);
  line-height: 1.08;
}

.subheading {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.5;
}

.form-label {
  font-size: 15px;
}

.form-input {
  height: clamp(54px, 5.5vw, 68px);
  font-size: clamp(16px, 1.35vw, 19px);
}

.form-input::placeholder {
  font-size: clamp(15px, 1.2vw, 18px);
}

.btn-primary {
  height: clamp(56px, 5.5vw, 70px);
  font-size: clamp(16px, 1.35vw, 19px);
}

.demo-access-title {
  font-size: 15px;
}

.demo-access-text,
.form-terms,
.signup-row {
  font-size: 14px;
}

.trust-pill {
  font-size: 13px;
}

.dash-patient-name {
  font-size: clamp(18px, 1.5vw, 22px);
}

.dash-patient-meta {
  font-size: 14px;
}

.status-pill {
  font-size: 13px;
}

.transcription-text,
.soap-val {
  font-size: clamp(15px, 1.2vw, 17px);
}

.soap-title {
  font-size: 16px;
}

.soap-badge {
  font-size: 12px;
}

.btn-ehr,
.btn-secondary-sm {
  font-size: 14px;
}

.preview-caption {
  font-size: 13px;
}