/* The US site (kinderguard.ai/en). build.js links this file last on every English-first page, after styles.css,
   mobile-fixes.css and styles-ltr.css, so it restyles what those set. The look follows the app: white, near-black
   text, one blue. Newsreader is for the hero and a few titles only; everything else is Geist, the app's font.
   Direction and rules: landing/docs/us-site-design.md. */

:root {
  --kg-ink: #0A0A0A;
  --kg-text: #3A4252;
  --kg-muted: #5D6675;
  --kg-line: #E3E7EE;
  --kg-line-strong: #DCE2EC;
  --kg-mist: #F3F6FB;
  --kg-blue: #1A56FF;
  --kg-blue-dark: #0B3FD6;
  --kg-blue-text: #1244D4;
  --kg-tint: #EAF0FF;
  --kg-night: #071330;
  --kg-night-card: #0F1F4A;
  --kg-night-line: #1E3270;
  --kg-night-text: #C3CCE3;
  --kg-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --kg-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --kg-wrap: 1264px;
  --kg-gutter: clamp(20px, 4vw, 32px);
  --kg-header-h: 72px;

  /* The Israeli site's tokens, re-pointed, for shared rules that still read them. */
  --primary: #1A56FF;
  --primary-dark: #0B3FD6;
  --primary-light: #3D74FF;
  --secondary: #1A56FF;
  --gradient: linear-gradient(#1A56FF, #1A56FF);
  --blue-gradient: linear-gradient(#1A56FF, #1A56FF);
  --text-light: #26304A;
  --text-dark: #0A0A0A;
  --background: #FFFFFF;
  --gray-light: #F3F6FB;
}

/* ---------- Base ---------- */
html[lang="en"] body,
html[lang="en"] p, html[lang="en"] div, html[lang="en"] span, html[lang="en"] a, html[lang="en"] li,
html[lang="en"] input, html[lang="en"] button, html[lang="en"] textarea, html[lang="en"] select,
html[lang="en"] td, html[lang="en"] th, html[lang="en"] label, html[lang="en"] blockquote, html[lang="en"] figcaption {
  font-family: var(--kg-sans);
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4, html[lang="en"] h5, html[lang="en"] h6 {
  font-family: var(--kg-sans);
  color: var(--kg-ink);
  letter-spacing: -0.02em;
}
html[lang="en"] body {
  background: #FFFFFF;
  color: var(--kg-ink);
  direction: ltr;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] .content-container { background: #FFFFFF; }
.background-grid, .background-texture, .background-dots { display: none !important; }
html[lang="en"] a { color: var(--kg-blue); }
html[lang="en"] a:hover { color: var(--kg-blue-dark); }
html[lang="en"] a:focus-visible, html[lang="en"] button:focus-visible, html[lang="en"] summary:focus-visible,
html[lang="en"] input:focus-visible, html[lang="en"] textarea:focus-visible, html[lang="en"] .accordion-header:focus-visible {
  outline: 3px solid var(--kg-blue);
  outline-offset: 3px;
}
html[lang="en"] img { max-width: 100%; }
.kg-serif { font-family: var(--kg-serif) !important; font-weight: 500 !important; letter-spacing: -0.02em !important; }

/* ---------- Header ---------- */
#header-container { min-height: var(--kg-header-h); }
.kg-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--kg-line);
}
.kg-header-in {
  max-width: var(--kg-wrap); margin: 0 auto; padding: 0 var(--kg-gutter); min-height: var(--kg-header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 40px;
}
.kg-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.kg-logo img { width: 25px; height: 29px; display: block; }
.kg-logo span { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--kg-ink); }
.kg-nav { display: flex; gap: 0 30px; flex: 1 1 auto; }
html[lang="en"] .kg-nav a.nav-link, html[lang="en"] a.kg-signin {
  display: flex; align-items: center; min-height: 44px; padding: 0; margin: 0; background: none; border: 0; border-radius: 0;
  font-size: 15px; font-weight: 500; color: var(--kg-text); text-decoration: none; white-space: nowrap;
}
html[lang="en"] .kg-nav a.nav-link::after, html[lang="en"] .kg-nav a.nav-link::before { display: none; }
html[lang="en"] .kg-nav a.nav-link:hover, html[lang="en"] a.kg-signin:hover, html[lang="en"] .kg-nav a.nav-link.active { color: var(--kg-ink); }
html[lang="en"] .kg-nav a.nav-link.active { font-weight: 600; background: none; box-shadow: none; }
html[lang="en"] .kg-nav a.nav-link { box-shadow: none; transform: none; }
.kg-header-actions { display: flex; align-items: center; gap: 8px 20px; }
.kg-menu { display: none; position: relative; }
.kg-menu summary {
  list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px;
}
.kg-menu summary::-webkit-details-marker { display: none; }
.kg-menu[open] summary { background: var(--kg-mist); }
.kg-menu-panel {
  position: fixed; top: var(--kg-header-h); left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid var(--kg-line);
  box-shadow: 0 24px 40px -20px rgba(7, 19, 48, 0.35); padding: 8px var(--kg-gutter) 20px; display: flex; flex-direction: column;
}
html[lang="en"] .kg-menu-panel a {
  display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 500; color: var(--kg-ink);
  text-decoration: none; border-bottom: 1px solid var(--kg-line);
}
html[lang="en"] .kg-menu-panel a:last-child { border-bottom: 0; }

/* ---------- Buttons ---------- */
html[lang="en"] .us-btn, html[lang="en"] .kg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border-radius: 12px; border: 2px solid var(--kg-blue); background: var(--kg-blue); color: #FFFFFF;
  font-size: 16.5px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(26, 86, 255, 0.75); transition: background-color 0.15s ease, transform 0.15s ease;
}
html[lang="en"] .us-btn:hover, html[lang="en"] .kg-btn:hover { background: var(--kg-blue-dark); border-color: var(--kg-blue-dark); color: #FFFFFF; transform: none; }
html[lang="en"] .us-btn.secondary, html[lang="en"] .kg-btn.secondary {
  background: #FFFFFF; color: var(--kg-ink); border-color: var(--kg-ink); box-shadow: none;
}
html[lang="en"] .us-btn.secondary:hover, html[lang="en"] .kg-btn.secondary:hover { background: var(--kg-ink); color: #FFFFFF; }
html[lang="en"] .us-btn.ghost, html[lang="en"] .kg-btn.ghost { background: transparent; color: #FFFFFF; border-color: #FFFFFF; box-shadow: none; }
html[lang="en"] .us-btn.ghost:hover, html[lang="en"] .kg-btn.ghost:hover { background: #FFFFFF; color: var(--kg-night); }
html[lang="en"] .kg-btn.big, html[lang="en"] .us-hero .us-btn { min-height: 58px; padding: 0 32px; border-radius: 13px; font-size: 17.5px; }
html[lang="en"] .kg-btn.small { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(26, 86, 255, 0.7); }
.us-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Layout ---------- */
.us-wrap { max-width: var(--kg-wrap); margin: 0 auto; padding: 0 var(--kg-gutter); }
.us-section { padding: clamp(56px, 7vw, 104px) 0; }
.us-section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.us-section.mist, .kg-mist { background: var(--kg-mist); }
.us-section-head { text-align: left; max-width: 820px; margin: 0 0 36px; }
.us-kicker { display: none; }
html[lang="en"] .us-section-head h2, html[lang="en"] .kg-h2 {
  font-size: clamp(28px, 3.1vw, 42px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; color: var(--kg-ink); margin: 0 0 14px; text-wrap: balance;
}
html[lang="en"] .us-section-head p, html[lang="en"] .kg-lead { font-size: 18px; line-height: 1.55; color: var(--kg-text); margin: 0; max-width: 700px; }
html[lang="en"] .us-note { font-size: 14.5px; line-height: 1.5; color: var(--kg-muted); margin: 12px 0 0; }
html[lang="en"] .us-note a, html[lang="en"] .us-hero-small a { color: var(--kg-blue); font-weight: 500; }
html[lang="en"] .us-note strong { color: var(--kg-ink); font-weight: 600; }

/* ---------- Hero (shared by the home and the inner selling pages) ---------- */
.us-hero { padding: clamp(32px, 4.4vw, 60px) 0 clamp(64px, 7vw, 96px); }
.us-hero .us-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px 76px; align-items: center; }
html[lang="en"] .us-hero h1 {
  font-family: var(--kg-serif); font-weight: 500; font-size: clamp(40px, 4.75vw, 68px); line-height: 1.03; letter-spacing: -0.022em;
  color: var(--kg-ink); background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor;
  margin: 0 0 24px; text-wrap: balance;
}
html[lang="en"] .us-hero .sub { font-size: 19px; line-height: 1.55; color: var(--kg-text); margin: 0 0 26px; max-width: 540px; text-wrap: pretty; }
html[lang="en"] .us-hero .sub strong { color: var(--kg-ink); font-weight: 600; }
html[lang="en"] .us-hero-small { font-size: 14.5px; line-height: 1.5; color: var(--kg-muted); margin: 8px 0 0; }
.kg-ai-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--kg-tint);
  color: var(--kg-blue-text); font-size: 14.5px; font-weight: 600; margin: 0 0 22px;
}
.kg-hero-visual { position: relative; }
.kg-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 82% 30%; border-radius: 28px; }
.kg-hero-photo.plain { object-position: 50% 30%; }
.kg-hero-chip {
  position: absolute; left: 26%; top: 18px; background: #FFFFFF; border-radius: 16px; padding: 12px 16px 12px 14px;
  box-shadow: 0 18px 40px -10px rgba(7, 19, 48, 0.4); display: flex; flex-direction: column; gap: 8px;
}
.kg-hero-chip strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--kg-ink); }
.kg-hero-chip span { display: block; font-size: 12.5px; color: var(--kg-muted); }
.kg-phone {
  position: absolute; left: clamp(-56px, -4vw, -8px); bottom: -44px; width: clamp(150px, 15vw, 214px); padding: 7px;
  background: #0A0A0A; border-radius: 30px; box-shadow: 0 34px 60px -14px rgba(7, 19, 48, 0.55);
}
.kg-phone img { display: block; width: 100%; height: auto; border-radius: 23px; }

/* ---------- Badge strip and partners ---------- */
.kg-badges { background: var(--kg-mist); border-top: 1px solid var(--kg-line); border-bottom: 1px solid var(--kg-line); padding: 40px 0 36px; }
.kg-badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.kg-badge {
  background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 1px 2px rgba(7, 19, 48, 0.05);
}
.kg-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--kg-tint); display: flex; align-items: center; justify-content: center; color: var(--kg-blue); }
.kg-icon svg { width: 24px; height: 24px; }
.kg-badge strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--kg-ink); }
.kg-badge span span { display: block; font-size: 14.5px; line-height: 1.35; color: var(--kg-text); margin-top: 2px; }
.kg-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; margin-top: 30px; }
.kg-partners span { font-size: 14.5px; font-weight: 500; color: var(--kg-muted); }
.kg-partners img { height: 36px; width: auto; display: block; }

/* ---------- "Start from where you are" ---------- */
.kg-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.kg-path { border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; border: 2px solid var(--kg-ink); background: #FFFFFF; }
.kg-path.have { background: var(--kg-tint); border-color: var(--kg-blue); align-items: flex-start; }
.kg-path-head { display: flex; align-items: center; gap: 16px; }
.kg-path-head .kg-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--kg-ink); color: #FFFFFF; }
.kg-path.have .kg-path-head .kg-icon { background: var(--kg-blue); }
.kg-path-head .kg-icon svg { width: 28px; height: 28px; }
html[lang="en"] .kg-path-head h3 { margin: 0; font-size: clamp(25px, 2.5vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
html[lang="en"] .kg-path > p { margin: 0; font-size: 17px; line-height: 1.55; color: #26304A; }
.kg-file { align-self: stretch; background: #FFFFFF; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.kg-file-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; font-size: 13.5px; color: var(--kg-text); }
.kg-file-row strong { font-weight: 600; color: var(--kg-ink); }
.kg-file svg { display: block; width: 100%; height: 34px; }
.kg-path .kg-btn { margin-top: auto; }
.kg-path-rows { display: flex; flex-direction: column; margin-top: -6px; }
html[lang="en"] a.kg-path-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--kg-line); text-decoration: none; color: var(--kg-ink); }
.kg-path-row img { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.kg-path-row > span { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; }
.kg-path-row strong { font-size: 17px; font-weight: 600; }
.kg-path-row small { font-size: 15.5px; line-height: 1.45; color: var(--kg-text); }
.kg-path-row > svg { flex: none; width: 20px; height: 20px; color: var(--kg-blue); }

/* ---------- Lanes ---------- */
.us-lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
html[lang="en"] a.us-lane {
  display: flex; flex-direction: column; padding: 0; background: var(--kg-mist); border: 0; border-radius: 24px; overflow: hidden; box-shadow: none;
  text-decoration: none; color: var(--kg-ink); transition: box-shadow 0.2s ease;
}
html[lang="en"] a.us-lane:hover { transform: none; box-shadow: 0 0 0 2px var(--kg-blue); }
.us-lane img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.us-lane-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
html[lang="en"] .us-lane h3 { font-size: 23px; font-weight: 600; margin: 0; color: var(--kg-ink); }
html[lang="en"] .us-lane p { font-size: 16px; line-height: 1.55; color: var(--kg-text); margin: 0; }
html[lang="en"] .us-lane .more { margin-top: auto; padding-top: 8px; font-size: 16px; font-weight: 600; color: var(--kg-blue); }
/* A lane card without a photo (inner pages) keeps its padding. */
html[lang="en"] a.us-lane:not(:has(img)) { padding: 26px 28px 28px; gap: 10px; }

/* ---------- Night sections: how it works, final call ---------- */
.kg-night { background: var(--kg-night); color: #FFFFFF; }
html[lang="en"] .kg-night h2, html[lang="en"] .kg-night h3 { color: #FFFFFF; }
html[lang="en"] .kg-night .us-section-head p, html[lang="en"] .kg-night p { color: var(--kg-night-text); }
html[lang="en"] .kg-night a:not(.us-btn):not(.kg-btn) { color: #9DB8FF; }
.us-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; counter-reset: s; }
html[lang="en"] .us-step {
  background: var(--kg-mist); border: 1px solid var(--kg-line); border-radius: 22px; padding: 22px; box-shadow: none; position: relative;
  counter-increment: s; display: flex; flex-direction: column; gap: 12px;
}
html[lang="en"] .us-step::before {
  content: 'Step ' counter(s); display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--kg-blue-text);
  font-size: 14.5px; font-weight: 600; margin: 0;
}
html[lang="en"] .us-step h3 { font-size: 22px; font-weight: 600; margin: 0; }
html[lang="en"] .us-step p { font-size: 16px; line-height: 1.55; color: var(--kg-text); margin: 0; }
html[lang="en"] .us-step p a { font-weight: 500; }
html[lang="en"] .kg-night .us-step { background: var(--kg-night-card); border-color: var(--kg-night-line); }
html[lang="en"] .kg-night .us-step::before { color: #8FB0FF; order: 1; }
html[lang="en"] .kg-night .us-step p { color: var(--kg-night-text); }
.kg-night .us-step h3 { order: 2; }
.kg-night .us-step p { order: 3; }
.kg-step-visual { height: 150px; border-radius: 14px; background: #0A1838; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; order: 0; }
.kg-step-visual.col { flex-direction: column; align-items: stretch; gap: 12px; }
.kg-step-visual.light { background: #FFFFFF; color: var(--kg-ink); }
.kg-step-visual img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.kg-step-visual .or { font-size: 14px; color: #97A3C2; }
.kg-phone-outline { width: 60px; height: 96px; border-radius: 14px; border: 2px solid #5F7FD9; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.kg-phone-outline::after { content: ''; width: 18px; height: 3px; border-radius: 2px; background: #5F7FD9; }
.kg-up-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #97A3C2; }
.kg-up-row strong { color: #FFFFFF; font-weight: 600; }
.kg-up-bar { height: 8px; border-radius: 999px; background: #3D74FF; }
.kg-up-done { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--kg-night-text); }
.kg-moment-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kg-moment-main { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--kg-ink); }
.kg-play { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--kg-blue); display: flex; align-items: center; justify-content: center; }
.kg-play svg { width: 18px; height: 18px; fill: #FFFFFF; }
.kg-tag { display: inline-block; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 2px 9px; border: 1px solid transparent; white-space: nowrap; }
.kg-tag.attention { color: #8A4B00; background: #FFF1DC; border-color: #F6DDB5; }
.kg-tag.negative { color: #A3211A; background: #FDE9E7; border-color: #F6C9C5; }
.kg-tag.positive { color: #1E6B31; background: #E7F5EA; border-color: #C7E6CE; }
.kg-tag.lang { color: var(--kg-blue-text); background: var(--kg-tint); border-color: #C9D8FF; }
.kg-tag.plain { color: var(--kg-text); background: #F1F3F7; border-color: var(--kg-line-strong); }
.kg-time { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--kg-text); background: #F1F3F7; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.kg-nots { border-top: 1px solid var(--kg-night-line); margin-top: 40px; padding-top: 28px; }
html[lang="en"] .kg-nots h3 { margin: 0 0 16px; font-size: 19px; font-weight: 600; }
.kg-nots ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
html[lang="en"] .kg-nots li { display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid #2A3F82; font-size: 15px; color: #FFFFFF; }
.kg-nots li svg { flex: none; width: 16px; height: 16px; color: #FF8A8A; }
html[lang="en"] .kg-nots p { margin: 0; max-width: 700px; font-size: 16px; line-height: 1.55; }
/* The plain "what we do not do" note on inner pages. */
html[lang="en"] .us-dont { max-width: 860px; margin: 32px 0 0; background: var(--kg-mist); border: 1px solid var(--kg-line); border-left: 1px solid var(--kg-line); border-radius: 16px; padding: 20px 24px; font-size: 16px; line-height: 1.6; color: var(--kg-text); }
html[lang="en"] .us-dont strong { color: var(--kg-ink); font-weight: 600; }
html[lang="en"] .kg-night .us-dont { background: var(--kg-night-card); border-color: var(--kg-night-line); color: var(--kg-night-text); }
html[lang="en"] .kg-night .us-dont strong { color: #FFFFFF; }

/* ---------- The report ---------- */
.kg-report { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.kg-report-visual { flex: 1 1 380px; min-width: 0; }
.kg-handphone { position: relative; height: 640px; border-radius: 28px; overflow: hidden; background: #CDBBA4; }
.kg-handphone-in { position: absolute; left: 50%; top: -30px; width: 1136px; height: 757px; margin-left: -594px; }
.kg-handphone-in > img:first-child { display: block; width: 100%; height: 100%; max-width: none; }
.kg-handphone-in > img + img { position: absolute; left: 40.8%; top: 8.2%; width: 22.95%; height: 76.1%; max-width: none; transform: rotate(-0.87deg); mix-blend-mode: multiply; border-radius: 22px; }
html[lang="en"] .kg-caption { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--kg-muted); }
.kg-report-side { flex: 1.35 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.us-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 30px 40px; }
html[lang="en"] .us-feature { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; display: flex; flex-direction: column; gap: 8px; }
.us-feature > svg { width: 26px; height: 26px; color: var(--kg-blue); }
html[lang="en"] .us-feature h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
html[lang="en"] .us-feature p { font-size: 16px; line-height: 1.55; color: var(--kg-text); margin: 0; }
html[lang="en"] .us-feature p a { font-weight: 500; }
.kg-transcript { border: 1px solid var(--kg-line-strong); border-radius: 18px; overflow: hidden; background: #FFFFFF; }
.kg-transcript-head { background: var(--kg-mist); padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--kg-text); border-bottom: 1px solid var(--kg-line-strong); }
/* The sample lines sit across the full width, under the photo and the list. */
.kg-transcript.wide { margin-top: clamp(32px, 4vw, 52px); border-radius: 22px; }
.kg-transcript.wide .kg-transcript-head { display: flex; align-items: center; gap: 10px; padding: 14px 24px; font-size: 15px; color: var(--kg-ink); }
.kg-transcript.wide .kg-transcript-head::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--kg-blue); }
.kg-transcript-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kg-tline { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; border-left: 1px solid var(--kg-line); }
.kg-tline:first-child { border-left: 0; }
.kg-tline-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 16px; color: var(--kg-ink); }
.kg-tline-top .t { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--kg-blue); margin-right: 2px; }
.kg-tline-top strong { font-weight: 600; }
html[lang="en"] .kg-tline p { margin: 0; font-size: 17.5px; line-height: 1.5; color: var(--kg-ink); }
.kg-tline em { display: block; margin-top: 4px; font-size: 15.5px; color: var(--kg-muted); }
@media (max-width: 900px) {
  .kg-transcript-lines { grid-template-columns: minmax(0, 1fr); }
  .kg-tline { border-left: 0; border-top: 1px solid var(--kg-line); padding: 18px 18px 20px; }
  .kg-tline:first-child { border-top: 0; }
  .kg-transcript.wide .kg-transcript-head { padding: 12px 18px; }
}
html[lang="en"] a.us-realcase {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; max-width: none; margin: 44px 0 0; padding: 20px 24px; border-radius: 18px;
  background: var(--kg-ink); border: 0; box-shadow: none; color: #FFFFFF; text-decoration: none; font-size: 16px; line-height: 1.5;
}
html[lang="en"] a.us-realcase:hover { background: #1B2233; box-shadow: none; }
html[lang="en"] .us-realcase strong { font-size: 17px; font-weight: 600; color: #FFFFFF; }
html[lang="en"] .us-realcase > span:not(.us-chip) { flex: 1 1 320px; color: #D5DAE3; }
html[lang="en"] .us-realcase .us-chip { margin: 0; font-size: 13px; padding: 4px 12px; color: #A3211A; background: #FDE9E7; }

/* ---------- Chips and the report card (inner pages, sample report) ---------- */
html[lang="en"] .us-chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--kg-tint); color: var(--kg-blue-text); margin-left: 6px; vertical-align: middle; }
html[lang="en"] .us-chip.warn { background: #FFF1DC; color: #8A4B00; }
html[lang="en"] .us-chip.lang { background: var(--kg-tint); color: var(--kg-blue-text); }
html[lang="en"] .us-report { background: #FFFFFF; border-radius: 22px; border: 1px solid var(--kg-line-strong); box-shadow: 0 30px 60px -30px rgba(7, 19, 48, 0.35); overflow: hidden; font-size: 14.5px; }
html[lang="en"] .us-report-head { background: #FFFFFF !important; color: var(--kg-ink); padding: 18px 22px 14px; border-bottom: 1px solid var(--kg-line); display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
html[lang="en"] .us-report-head strong { font-size: 16px; font-weight: 700; color: var(--kg-ink); }
html[lang="en"] .us-report-head span { font-size: 13.5px; color: var(--kg-muted); opacity: 1; }
html[lang="en"] .us-report-body { padding: 18px 22px 20px; }
html[lang="en"] .us-report-outcome { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: #1E6B31; background: #E7F5EA; padding: 5px 13px; border-radius: 999px; margin-bottom: 14px; }
html[lang="en"] .us-report-outcome.attention { color: #8A4B00; background: #FFF1DC; }
html[lang="en"] .us-report-summary { font-size: 15px; line-height: 1.55; color: var(--kg-ink); margin: 0 0 16px; background: #EEF5FE; border: 1px solid #D6E7FB; border-radius: 12px; padding: 13px 15px; }
html[lang="en"] .us-report-label { font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--kg-text); margin: 16px 0 8px; }
html[lang="en"] .us-moment { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--kg-line); }
html[lang="en"] .us-moment .t { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--kg-blue); font-size: 13.5px; padding-top: 2px; }
html[lang="en"] .us-moment .who { font-weight: 600; color: var(--kg-ink); font-size: 14px; }
html[lang="en"] .us-moment .q { color: var(--kg-ink); line-height: 1.5; margin: 3px 0 4px; font-size: 15px; }
html[lang="en"] .us-moment .why { font-size: 13.5px; color: var(--kg-muted); font-weight: 400; }
html[lang="en"] .us-moment .why.ok { color: #1E6B31; }
html[lang="en"] .us-moment .orig { display: block; font-size: 13.5px; color: var(--kg-muted); font-style: italic; }
html[lang="en"] .us-report-foot { padding: 14px 22px; background: var(--kg-mist); font-size: 13.5px; line-height: 1.5; color: var(--kg-muted); border-top: 1px solid var(--kg-line); }

/* ---------- Signs ---------- */
.kg-split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.kg-split > img { flex: 1 1 400px; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; border-radius: 28px; display: block; }
.kg-split > div { flex: 1.25 1 460px; min-width: 0; }
html[lang="en"] .kg-split h2.kg-serif { font-size: clamp(34px, 3.7vw, 52px); line-height: 1.06; margin: 0 0 20px; text-wrap: balance; }
.us-signs { display: flex; flex-direction: column; gap: 0; margin: 20px 0 24px; }
html[lang="en"] .us-sign { background: none; border: 0; border-top: 1px solid #D5DCE8; border-radius: 0; box-shadow: none; padding: 14px 0; font-size: 17px; line-height: 1.5; color: var(--kg-ink); }
html[lang="en"] .us-sign:last-child { border-bottom: 1px solid #D5DCE8; }

/* ---------- Trust ---------- */
.us-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px 40px; }
html[lang="en"] .us-trust-item { background: none; border-radius: 0; padding: 0; box-shadow: none; display: flex; flex-direction: column; gap: 10px; }
html[lang="en"] .us-trust-item h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
html[lang="en"] .us-trust-item p { font-size: 16px; line-height: 1.55; color: var(--kg-text); margin: 0; }
.us-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin: 0 0 36px; }
html[lang="en"] .us-stat { text-align: left; min-width: 0; background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 16px; padding: 18px 20px; }
html[lang="en"] .us-stat .n { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--kg-ink); line-height: 1.1; }
html[lang="en"] .us-stat .l { font-size: 14.5px; line-height: 1.35; color: var(--kg-text); margin-top: 4px; }

/* ---------- AI limits ---------- */
.us-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
html[lang="en"] .us-limit { background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 20px; padding: 26px; box-shadow: none; font-size: 16px; line-height: 1.55; color: var(--kg-text); }
html[lang="en"] .us-limit strong { display: block; color: var(--kg-ink); margin-bottom: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
html[lang="en"] .us-limits-highlight { max-width: 860px; margin: 36px 0 0; text-align: left; font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--kg-ink); }

/* ---------- Pricing teaser ---------- */
.us-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
html[lang="en"] .us-tcard { background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 22px; padding: 28px; box-shadow: none; display: flex; flex-direction: column; gap: 12px; }
html[lang="en"] .us-tcard.popular { border: 2px solid var(--kg-blue); background: #F5F8FF; padding: 27px; box-shadow: 0 24px 48px -24px rgba(26, 86, 255, 0.45); }
html[lang="en"] .us-tcard h3 { font-size: 20px; font-weight: 600; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html[lang="en"] .us-tcard h3 .us-chip { margin: 0; font-size: 13.5px; padding: 4px 12px; color: #FFFFFF; background: var(--kg-blue); }
html[lang="en"] .us-tcard .p { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; color: var(--kg-ink); line-height: 1; }
html[lang="en"] .us-tcard .p small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--kg-text); }
html[lang="en"] .us-tcard .d { font-size: 16px; color: var(--kg-text); line-height: 1.55; margin: 0; }
.us-teaser-foot { text-align: left; margin-top: 26px; }

/* ---------- Quotes ---------- */
.us-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
html[lang="en"] .us-quote { margin: 0; background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 24px; padding: clamp(26px, 3vw, 38px); box-shadow: none; display: flex; flex-direction: column; gap: 20px; }
html[lang="en"] .us-quote::before { content: '\201C'; display: block; height: 30px; font-family: var(--kg-serif); font-size: 92px; line-height: 0.82; color: var(--kg-blue); }
html[lang="en"] .us-quote blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: clamp(19px, 1.55vw, 21.5px); line-height: 1.55; letter-spacing: -0.01em; font-style: normal; color: #1B2233; flex: 1; text-wrap: pretty; }
html[lang="en"] .us-quote blockquote::before, html[lang="en"] .us-quote blockquote::after { content: none; }
html[lang="en"] .us-quote mark { background: #DCE6FF; color: var(--kg-ink); font-weight: 600; padding: 1px 5px; margin: 0 -2px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[lang="en"] .us-quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--kg-line); font-size: 15px; line-height: 1.45; color: var(--kg-text); }
html[lang="en"] .us-quote figcaption strong { font-size: 16.5px; color: var(--kg-ink); font-weight: 600; }
.kg-mono { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--kg-tint); color: var(--kg-blue-text); font-size: 18px; font-weight: 700; }

/* ---------- FAQ (the shared accordion, restyled) ---------- */
.us-faq { max-width: 860px; margin: 0; }
html[lang="en"] .accordion { max-width: none; margin: 0; border-top: 1px solid var(--kg-line-strong); }
html[lang="en"] .accordion-item, html[lang="en"] .accordion-item:hover { background: none; border: 0; border-bottom: 1px solid var(--kg-line-strong); border-radius: 0; box-shadow: none; margin: 0; transform: none; }
html[lang="en"] .accordion-header, html[lang="en"] .accordion-item.active .accordion-header, html[lang="en"] .accordion-header:hover { background: none; padding: 22px 0; gap: 16px; }
html[lang="en"] .accordion-title { font-family: var(--kg-sans); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--kg-ink); text-align: left; }
html[lang="en"] .accordion-icon { background: none; width: 24px; height: 24px; flex: none; }
html[lang="en"] .accordion-icon svg { fill: var(--kg-blue); width: 24px; height: 24px; }
html[lang="en"] .accordion-content { background: none; padding-left: 0; padding-right: 0; }
html[lang="en"] .accordion-text { font-size: 16.5px; line-height: 1.6; color: var(--kg-text); text-align: left; padding: 0 0 24px; margin: 0; }
html[lang="en"] .accordion-text a { font-weight: 500; }

/* ---------- Final call ---------- */
html[lang="en"] .us-final { background: var(--kg-night); color: #FFFFFF; padding: clamp(56px, 7vw, 96px) 0; text-align: left; }
.us-final .us-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.us-final .us-wrap > div { flex: 1.1 1 440px; min-width: 0; }
.us-final .us-wrap > img { flex: 1 1 400px; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; display: block; }
html[lang="en"] .us-final h2 { font-family: var(--kg-serif); font-weight: 500; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.02em; color: #FFFFFF; margin: 0 0 22px; }
html[lang="en"] .us-final p { font-size: 19px; line-height: 1.55; color: var(--kg-night-text); margin: 0 0 22px; max-width: 520px; opacity: 1; }
html[lang="en"] .us-final .us-btn:not(.ghost) { background: var(--kg-blue); color: #FFFFFF; border-color: var(--kg-blue); min-height: 58px; padding: 0 32px; font-size: 17.5px; box-shadow: 0 14px 30px -10px rgba(26, 86, 255, 0.9); }
html[lang="en"] .us-final .us-btn.ghost { min-height: 58px; font-size: 17.5px; }
.us-final .us-cta-row { justify-content: flex-start; }
html[lang="en"] .us-final small { display: block; margin-top: 22px; font-size: 14.5px; color: #97A3C2; opacity: 1; }

/* The phone bottom bar of the first version is gone: the header carries "Try it free" on every screen. */
.us-sticky { display: none !important; }
html[lang="en"] body { padding-bottom: 0 !important; }

/* ---------- Long copy and plain cards ---------- */
html[lang="en"] .us-prose { max-width: 760px; margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--kg-text); }
html[lang="en"] .us-prose p { margin: 0 0 18px; }
html[lang="en"] .us-prose h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 14px; color: var(--kg-ink); }
html[lang="en"] .us-prose h3 { font-size: 21px; font-weight: 600; margin: 28px 0 10px; color: var(--kg-ink); }
html[lang="en"] .us-prose ul, html[lang="en"] .us-prose ol { margin: 0 0 18px 22px; padding: 0; }
html[lang="en"] .us-prose li { margin-bottom: 8px; }
html[lang="en"] .us-prose a { font-weight: 500; }
html[lang="en"] .us-prose strong { color: var(--kg-ink); font-weight: 600; }
html[lang="en"] .us-card { background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: none; }
.placeholder { background: #FFF4CC; padding: 0 4px; border-radius: 3px; }

/* ---------- Footer ---------- */
.kg-footer { background: #FFFFFF; border-top: 1px solid var(--kg-line); }
.kg-footer-in { max-width: var(--kg-wrap); margin: 0 auto; padding: 48px var(--kg-gutter) 36px; }
.kg-footer-cols { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.kg-footer-brand { flex: 1.4 1 300px; min-width: 0; }
html[lang="en"] .kg-footer-brand p { margin: 14px 0 0; max-width: 420px; font-size: 15px; line-height: 1.55; color: var(--kg-text); }
.kg-footer-links { flex: 1 1 300px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.kg-footer-support { flex: 1 1 220px; min-width: 0; }
html[lang="en"] .kg-footer-support h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 0 0 4px; }
html[lang="en"] .kg-footer a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--kg-text); text-decoration: none; }
html[lang="en"] .kg-footer a:hover { color: var(--kg-ink); }
html[lang="en"] .kg-footer-support a { color: var(--kg-blue); }
.kg-footer-bottom { border-top: 1px solid var(--kg-line); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
html[lang="en"] .kg-footer-bottom p, html[lang="en"] .kg-footer-bottom a { margin: 0; font-size: 14px; color: var(--kg-muted); }

/* ---------- Shared pop-ups (checkout) ---------- */
html[lang="en"] .modal { border-radius: 22px; font-family: var(--kg-sans); }
html[lang="en"] .modal-title { font-family: var(--kg-sans); font-weight: 600; letter-spacing: -0.02em; color: var(--kg-ink); background: none; -webkit-text-fill-color: currentColor; }
html[lang="en"] .action-button { background: var(--kg-blue); color: #FFFFFF; border-radius: 12px; font-weight: 600; box-shadow: 0 12px 24px -10px rgba(26, 86, 255, 0.75); }
html[lang="en"] .action-button::before { display: none; }
html[lang="en"] .action-button:hover { background: var(--kg-blue-dark); transform: none; }
/* The order forms (partials/en-*-modal.html) use the Hebrew site's form styles, which are right-to-left. */
html[lang="en"] .checkout-input, html[lang="en"] .checkout-textarea { direction: ltr; text-align: left; }
html[lang="en"] .payment-flow-overlay .modal-close { left: auto; right: 12px; }
html[lang="en"] .checkout-label.optional::after { content: ' (optional)'; }
html[lang="en"] .checkout-trial-timeline, html[lang="en"] .plan-coupon-form, html[lang="en"] .plan-coupon-strip { text-align: left; }

.us-section.kg-flush { padding-bottom: 0; }
html[lang="en"] .kg-plan-note { margin: 24px 0 0; font-size: 16px; line-height: 1.55; color: var(--kg-text); }
html[lang="en"] .kg-plan-note strong { color: var(--kg-ink); font-weight: 600; }
html[lang="en"] .kg-badge > span:last-child > span { display: block; font-size: 14.5px; line-height: 1.35; color: var(--kg-text); margin-top: 2px; }
html[lang="en"] .kg-footer a.lang-switch { border: 0; background: none; padding: 0; margin: 0; border-radius: 0; font-weight: 400; }
html[lang="en"] .kg-footer .footer-copyright { text-align: left; opacity: 1; padding: 0; border: 0; }

/* ---------- Plan cards (the pricing page and the ad landing pages) ---------- */
.pr-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
html[lang="en"] .pr-plan { background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; min-width: 0; }
html[lang="en"] .pr-plan.popular { border: 2px solid var(--kg-blue); background: #F5F8FF; padding: 27px; box-shadow: 0 24px 48px -24px rgba(26, 86, 255, 0.45); }
.pr-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
html[lang="en"] .pr-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
html[lang="en"] .pr-chip { flex: none; font-size: 15px; font-weight: 600; line-height: 1.2; color: #FFFFFF; background: var(--kg-blue); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
html[lang="en"] .pr-for { font-size: 16px; line-height: 1.5; color: var(--kg-text); margin: 10px 0 0; }
.pr-price { display: flex; align-items: baseline; align-content: flex-end; flex-wrap: wrap; gap: 6px 10px; margin: 22px 0 0; }
html[lang="en"] .pr-price .amount { font-size: clamp(48px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--kg-ink); font-variant-numeric: tabular-nums; }
html[lang="en"] .pr-price .period { font-size: 17px; color: var(--kg-text); }
html[lang="en"] .pr-price .was { flex: 0 0 100%; font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--kg-muted); text-decoration: line-through; }
html[lang="en"] .pr-price-note { font-size: 15.5px; line-height: 1.5; color: var(--kg-text); margin: 12px 0 0; }
.pr-list { list-style: none; margin: 22px 0 0; padding: 6px 0 0; border-top: 1px solid var(--kg-line-strong); flex: 1 1 auto; }
.pr-plan.popular .pr-list { border-top-color: #C9D8FF; }
html[lang="en"] .pr-list li { position: relative; padding: 9px 0 9px 30px; font-size: 16px; line-height: 1.5; color: var(--kg-text); }
html[lang="en"] .pr-list li strong { color: var(--kg-ink); font-weight: 600; }
.pr-list li::before {
  content: ''; position: absolute; left: 0; top: 12px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%231A56FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9.5l3.6 3.6L14.5 5'/%3E%3C/svg%3E") no-repeat center / contain;
}
html[lang="en"] .pr-plan .us-btn { width: 100%; margin-top: 24px; }

html[lang="en"] .pr-promise { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; margin: 20px 0 0; padding: 14px 22px 14px 14px; background: #FFFFFF; border: 1px solid var(--kg-line-strong); border-radius: 16px; font-size: 17px; line-height: 1.5; color: var(--kg-text); }
html[lang="en"] .pr-promise strong { color: var(--kg-ink); font-weight: 600; }
html[lang="en"] .pr-fine { max-width: 900px; margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--kg-muted); }
@media (min-width: 1000px) {
  .pr-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
  /* The three cards share their rows, so names, prices, lists and buttons line up across them. */
  @supports (grid-template-rows: subgrid) {
    html[lang="en"] .pr-plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
  }
}
@media (max-width: 639px) {
  html[lang="en"] .pr-promise { width: auto; align-items: flex-start; }
}

/* ---------- Ad landing pages (templates/en/start-*.html) ---------- */
.lp-top { position: fixed; top: 0; left: 0; right: 0; z-index: 900; background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--kg-line); }
.lp-top-in { max-width: var(--kg-wrap); margin: 0 auto; padding: 0 var(--kg-gutter); min-height: var(--kg-header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-top-space { height: var(--kg-header-h); }
/* The two cards have the same six parts and share their rows, so the boxes, lists and buttons line up. */
body.lp .kg-path .kg-btn { align-self: stretch; margin-top: 4px; }
body.lp .kg-path.have .lp-checks li { border-top-color: #C9D8FF; }
body.lp .kg-file { justify-content: center; padding: 18px 20px; }
body.lp .kg-file { gap: 14px; }
body.lp .kg-file svg { height: 64px; }
@media (min-width: 960px) {
  body.lp .kg-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  @supports (grid-template-rows: subgrid) {
    body.lp .kg-path { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 18px; align-items: stretch; align-content: start; }
    body.lp .kg-path > * { min-width: 0; }
    body.lp .kg-path-head { align-self: start; }
  }
}
.lp-plan-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 20px; }
html[lang="en"] .lp-plan-foot .pr-promise, html[lang="en"] .lp-plan-foot .kg-plan-note { margin: 0; }
html[lang="en"] body.lp .us-hero h1 { font-size: clamp(38px, 4.3vw, 62px); }
.lp-offer { align-self: stretch; display: flex; align-items: center; gap: 18px; background: var(--kg-mist); border-radius: 16px; padding: 16px; }
.lp-offer img { flex: none; width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
html[lang="en"] .lp-offer-price { margin: 0 0 6px; font-size: 16px; color: var(--kg-text); }
html[lang="en"] .lp-offer-price strong { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--kg-ink); margin-right: 6px; }
html[lang="en"] .lp-offer-terms { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--kg-text); }
html[lang="en"] .lp-offer-terms strong { color: var(--kg-ink); font-weight: 700; }
.lp-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
html[lang="en"] .lp-checks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--kg-line); font-size: 15.5px; line-height: 1.45; color: var(--kg-ink); }
.lp-checks li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--kg-blue); border-bottom: 2px solid var(--kg-blue); transform: rotate(-45deg); }
html[lang="en"] .lp-legal { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--kg-muted); }
.lp-foot { border-top: 1px solid var(--kg-line); background: #FFFFFF; }
.lp-foot-in { max-width: var(--kg-wrap); margin: 0 auto; padding: 24px var(--kg-gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
html[lang="en"] .lp-foot p { margin: 0; font-size: 15px; color: var(--kg-muted); display: flex; flex-wrap: wrap; gap: 0 22px; text-align: left; padding: 0; border: 0; opacity: 1; }
html[lang="en"] .lp-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--kg-text); text-decoration: none; }
html[lang="en"] .lp-foot a:hover { color: var(--kg-ink); }
.lp-bar { display: none; }
@media (max-width: 900px) {
  .lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 890; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--kg-line); box-shadow: 0 -10px 30px -18px rgba(7, 19, 48, 0.45);
    transform: translateY(110%); transition: transform 0.2s ease; }
  .lp-bar.show { transform: none; }
  html[lang="en"] .lp-bar .kg-btn { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 10px; font-size: 15.5px; white-space: nowrap; }
  body.lp .lp-foot-in { padding-bottom: 96px; }
  .lp-offer { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 12px 16px; }
  .lp-offer img { width: 72px; height: 72px; }
  .lp-offer > div { display: contents; }
  html[lang="en"] .lp-offer-price { margin: 0; }
  html[lang="en"] .lp-offer-price strong { display: block; }
  html[lang="en"] .lp-offer-terms { grid-column: 1 / -1; }
}

/* ---------- Site-wide fixes found in QA ---------- */
/* mobile-fixes.css sets overflow-x: hidden here, which switches position: sticky off; clip keeps the page from
   scrolling sideways without that side effect. */
html[lang="en"] body, html[lang="en"] .content-container { overflow-x: clip !important; }
html[lang="en"] #footer-container { background: #FFFFFF; }
html[lang="en"] [id] { scroll-margin-top: calc(var(--kg-header-h) + 20px); }
html[lang="en"] .accordion { gap: 0; }
html[lang="en"] .accordion-title { font-family: var(--kg-sans) !important; }
html[lang="en"] .accordion-item.active .accordion-header { border-bottom: 0; }
html[lang="en"] .accordion-icon { margin: 0; }
html[lang="en"] .us-final h2 { text-wrap: balance; }
.kg-ai-pill svg { color: var(--kg-blue); flex: none; }
html[lang="en"] .kg-night .us-report .us-report-summary { color: var(--kg-ink); }
html[lang="en"] .kg-night .us-report a:not(.us-btn):not(.kg-btn) { color: var(--kg-blue); }
html[lang="en"] .us-report { box-shadow: none; }
/* Three steps sit three across or one below the other, never two and one. */
@media (min-width: 901px) { .us-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .us-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Phone and tablet ---------- */
@media (max-width: 1020px) {
  .kg-nav, html[lang="en"] a.kg-signin { display: none; }
  .kg-menu { display: block; }
}
@media (max-width: 900px) {
  :root { --kg-header-h: 64px; }
  .us-hero .us-wrap { grid-template-columns: minmax(0, 1fr); }
  .kg-hero-photo { aspect-ratio: 4 / 5; }
  .kg-hero-photo.plain { aspect-ratio: 4 / 3; }
  .kg-hero-chip { left: auto; right: 14px; }
  .us-hero .us-cta-row .us-btn, .us-hero .us-cta-row .kg-btn { flex: 1 1 100%; }
  .kg-handphone { height: 560px; }
  .kg-split > img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  /* Nothing a parent has to read is under 15px on a phone. */
  .kg-ai-pill, html[lang="en"] .us-note, html[lang="en"] .us-hero-small, html[lang="en"] .us-step::before, html[lang="en"] .us-final small,
  html[lang="en"] .kg-caption, html[lang="en"] .kg-footer-bottom p, html[lang="en"] .kg-footer-bottom a, html[lang="en"] .us-stat .l,
  html[lang="en"] .kg-badge > span:last-child > span, .kg-partners span, .kg-file-row, .kg-transcript-head, .kg-tline-top .t,
  html[lang="en"] .us-report-head span, html[lang="en"] .us-report-outcome, html[lang="en"] .us-report-label, html[lang="en"] .us-report-foot,
  html[lang="en"] .us-moment .t, html[lang="en"] .us-moment .who, html[lang="en"] .us-moment .why, html[lang="en"] .us-moment .orig { font-size: 15px; }
  .kg-tag, .kg-time, html[lang="en"] .us-chip { font-size: 14px; }
  .kg-moment-main, .kg-up-row, .kg-up-done, .kg-step-visual .or { font-size: 15px; }
  html[lang="en"] .us-moment { grid-template-columns: 66px 1fr; }
  html[lang="en"] .us-report-outcome { border-radius: 14px; }
  .us-final .us-cta-row .us-btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .kg-header-in { gap: 6px; }
  .kg-logo span { font-size: 19px; }
  html[lang="en"] .kg-btn.small { padding: 0 14px; }
  .kg-header-actions { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html[lang="en"] * { transition: none !important; animation: none !important; }
}
