@keyframes hs-show2 { 0%, 45.45% { opacity: 1; visibility: visible; } 50%, 95.45% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
@keyframes hs-dot2 { 0%, 45.45% { background: #23877C; } 50%, 95.45% { background: #CBD6D3; } 100% { background: #23877C; } }
.hs.n2 .hs-slide { animation: hs-show2 11s linear infinite; }
.hs.n2 .hs-dot::before { animation: hs-dot2 11s linear infinite; }
.hs.n2 .hs-slide:nth-child(1), .hs.n2 .hs-dot:nth-child(1)::before { animation-delay: 0s; }
.hs.n2 .hs-slide:nth-child(2), .hs.n2 .hs-dot:nth-child(2)::before { animation-delay: -5.5s; }
@keyframes hs-show3 { 0%, 30.3% { opacity: 1; visibility: visible; } 33.33%, 96.97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
@keyframes hs-dot3 { 0%, 30.3% { background: #23877C; } 33.33%, 96.97% { background: #CBD6D3; } 100% { background: #23877C; } }
.hs.n3 .hs-slide { animation: hs-show3 16.5s linear infinite; }
.hs.n3 .hs-dot::before { animation: hs-dot3 16.5s linear infinite; }
.hs.n3 .hs-slide:nth-child(1), .hs.n3 .hs-dot:nth-child(1)::before { animation-delay: 0s; }
.hs.n3 .hs-slide:nth-child(2), .hs.n3 .hs-dot:nth-child(2)::before { animation-delay: -11s; }
.hs.n3 .hs-slide:nth-child(3), .hs.n3 .hs-dot:nth-child(3)::before { animation-delay: -5.5s; }
@keyframes hs-show4 { 0%, 22.73% { opacity: 1; visibility: visible; } 25%, 97.73% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
@keyframes hs-dot4 { 0%, 22.73% { background: #23877C; } 25%, 97.73% { background: #CBD6D3; } 100% { background: #23877C; } }
.hs.n4 .hs-slide { animation: hs-show4 22s linear infinite; }
.hs.n4 .hs-dot::before { animation: hs-dot4 22s linear infinite; }
.hs.n4 .hs-slide:nth-child(1), .hs.n4 .hs-dot:nth-child(1)::before { animation-delay: 0s; }
.hs.n4 .hs-slide:nth-child(2), .hs.n4 .hs-dot:nth-child(2)::before { animation-delay: -16.5s; }
.hs.n4 .hs-slide:nth-child(3), .hs.n4 .hs-dot:nth-child(3)::before { animation-delay: -11s; }
.hs.n4 .hs-slide:nth-child(4), .hs.n4 .hs-dot:nth-child(4)::before { animation-delay: -5.5s; }
@keyframes hs-show5 { 0%, 18.18% { opacity: 1; visibility: visible; } 20%, 98.18% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
@keyframes hs-dot5 { 0%, 18.18% { background: #23877C; } 20%, 98.18% { background: #CBD6D3; } 100% { background: #23877C; } }
.hs.n5 .hs-slide { animation: hs-show5 27.5s linear infinite; }
.hs.n5 .hs-dot::before { animation: hs-dot5 27.5s linear infinite; }
.hs.n5 .hs-slide:nth-child(1), .hs.n5 .hs-dot:nth-child(1)::before { animation-delay: 0s; }
.hs.n5 .hs-slide:nth-child(2), .hs.n5 .hs-dot:nth-child(2)::before { animation-delay: -22s; }
.hs.n5 .hs-slide:nth-child(3), .hs.n5 .hs-dot:nth-child(3)::before { animation-delay: -16.5s; }
.hs.n5 .hs-slide:nth-child(4), .hs.n5 .hs-dot:nth-child(4)::before { animation-delay: -11s; }
.hs.n5 .hs-slide:nth-child(5), .hs.n5 .hs-dot:nth-child(5)::before { animation-delay: -5.5s; }
@keyframes hs-show6 { 0%, 15.15% { opacity: 1; visibility: visible; } 16.67%, 98.48% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
@keyframes hs-dot6 { 0%, 15.15% { background: #23877C; } 16.67%, 98.48% { background: #CBD6D3; } 100% { background: #23877C; } }
.hs.n6 .hs-slide { animation: hs-show6 33s linear infinite; }
.hs.n6 .hs-dot::before { animation: hs-dot6 33s linear infinite; }
.hs.n6 .hs-slide:nth-child(1), .hs.n6 .hs-dot:nth-child(1)::before { animation-delay: 0s; }
.hs.n6 .hs-slide:nth-child(2), .hs.n6 .hs-dot:nth-child(2)::before { animation-delay: -27.5s; }
.hs.n6 .hs-slide:nth-child(3), .hs.n6 .hs-dot:nth-child(3)::before { animation-delay: -22s; }
.hs.n6 .hs-slide:nth-child(4), .hs.n6 .hs-dot:nth-child(4)::before { animation-delay: -16.5s; }
.hs.n6 .hs-slide:nth-child(5), .hs.n6 .hs-dot:nth-child(5)::before { animation-delay: -11s; }
.hs.n6 .hs-slide:nth-child(6), .hs.n6 .hs-dot:nth-child(6)::before { animation-delay: -5.5s; }
#hs-1:checked ~ .hs-stage .hs-slide:nth-child(1), #hs-2:checked ~ .hs-stage .hs-slide:nth-child(2), #hs-3:checked ~ .hs-stage .hs-slide:nth-child(3), #hs-4:checked ~ .hs-stage .hs-slide:nth-child(4), #hs-5:checked ~ .hs-stage .hs-slide:nth-child(5), #hs-6:checked ~ .hs-stage .hs-slide:nth-child(6) { opacity: 1; visibility: visible; }
#hs-1:checked ~ .hs-controls .hs-dot:nth-child(1)::before, #hs-2:checked ~ .hs-controls .hs-dot:nth-child(2)::before, #hs-3:checked ~ .hs-controls .hs-dot:nth-child(3)::before, #hs-4:checked ~ .hs-controls .hs-dot:nth-child(4)::before, #hs-5:checked ~ .hs-controls .hs-dot:nth-child(5)::before, #hs-6:checked ~ .hs-controls .hs-dot:nth-child(6)::before { background: #23877C; }
#hs-1:focus-visible ~ .hs-controls .hs-dot:nth-child(1), #hs-2:focus-visible ~ .hs-controls .hs-dot:nth-child(2), #hs-3:focus-visible ~ .hs-controls .hs-dot:nth-child(3), #hs-4:focus-visible ~ .hs-controls .hs-dot:nth-child(4), #hs-5:focus-visible ~ .hs-controls .hs-dot:nth-child(5), #hs-6:focus-visible ~ .hs-controls .hs-dot:nth-child(6) { outline: 3px solid #1F7A70; outline-offset: 2px; border-radius: 8px; }
/* Redesign preview (2026-11-26): teal is for the main buttons, the featured plan, links and everything about AI
   (2026-11-27); red is the logo's colour and the app's record button; warm off-white and pale green behind. */
:root {
  --bg: #F6F5F0;
  --ink: #18312F;
  --navy: var(--ink);
  --text: #3C5250;
  --muted: #566A67;
  --red: #E5383B;
  --red-text: #C92A2E;
  --red-btn: #E5383B;
  --red-btn-hover: #C92A2E;
  --pink: #FDECEA;
  --brand: #23877C;
  --brand-text: #1B6F65;
  --brand-btn: #1F7A70;
  --brand-btn-hover: #18635B;
  --brand-soft: #E4F0EC;
  --warm: #E8AC77;
  --warm-soft: #FBEFE3;
  --soft: #EEECE4;
  --line: #E2E0D6;
  --radius: 18px;
  --radius-btn: 999px;
  --shadow: 0 10px 30px rgb(24 49 47 / .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.75 "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
:lang(zh-TW) body, html:lang(zh-TW) body { font-family: "Segoe UI", -apple-system, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
html:lang(zh-CN) body { font-family: "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: .01em; }
h2 { font-size: clamp(25px, 3vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0; }
p, td, li { text-wrap: pretty; }
img { max-width: 100%; }
a { color: var(--brand-text); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-btn); z-index: 100; }
.skip:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 18px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 17px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0F2422; }
/* The single most important action on a page: filled teal, large and bold. White on #1F7A70 is 5.15:1. */
.btn-main { background: var(--brand-btn); color: #fff; font-weight: 700; font-size: 19px; min-height: 56px; }
.btn-main:hover { background: var(--brand-btn-hover); }
.btn-outline { background: #fff; color: var(--brand-text); border-color: var(--brand-text); }
.btn-outline:hover { background: var(--pink); }
.btn-secondary { background: #fff; color: var(--ink); border-color: #C8D3CF; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; }
.brand-text small { font-size: 12px; color: var(--muted); }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: var(--radius-btn); color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--soft); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.dropdown { position: relative; }
.dropdown summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 10px; border-radius: var(--radius-btn); color: var(--ink); font-size: 15px;
}
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary:hover, .dropdown[open] summary { background: var(--soft); }
.dropdown ul {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgb(24 49 47 / .12);
}
.dropdown li > * { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border-radius: var(--radius-btn); color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.dropdown li a:hover { background: var(--soft); }
.dropdown .current { font-weight: 700; background: var(--soft); }
.dropdown .disabled { color: var(--muted); }
.dropdown .disabled small { font-size: 12px; }
.mobile-menu { display: none; }

/* Hero */
.hero { background: var(--bg); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero h1 span { display: block; }
.hero h1 .eyebrow { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--brand-text); }
.mobile-download { display: none; }
.lead { margin-top: 20px; font-size: 19px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
/* Sign-in card on the home page (only when switched on) */
.signin-card { display: flex; flex-direction: column; gap: 8px; max-width: 380px; margin-top: 18px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(24, 49, 47, .08); scroll-margin-top: 92px; }
.signin-card .btn { width: 100%; min-height: 48px; padding: 10px 18px; font-size: 16px; justify-content: center; text-align: center; white-space: normal; }
/* keep the three buttons on the first screen */
.hero:has(.signin-card) { padding-top: 32px; }
html:lang(fr) .hero:has(.signin-card) h1 { font-size: 38px; }
/* Light theme from developers.google.com/identity/branding-guidelines (fill, 1px inside stroke, text colour, medium
   14/20 and 12-10-12 spacing for a 40px button), scaled by 1.2 to the height of the other buttons. */
.signin-card .btn-google { gap: 12px; padding: 0 14px; background: #fff; border: 1px solid #747775; color: #1F1F1F; font-family: "Google Sans", Roboto, "Segoe UI", Arial, sans-serif; font-weight: 500; font-size: 17px; line-height: 24px; }
.signin-card .btn-google:hover { box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.signin-card .btn-google img { width: 24px; height: 24px; flex: none; }
.signin-or { margin: 2px 0; font-size: 14px; text-align: center; color: var(--muted); }
.signin-download { max-width: 380px; margin-top: 14px; font-size: 15px; text-align: center; }
@media (prefers-reduced-motion: no-preference) { html:has(#signin) { scroll-behavior: smooth; } }

/* Product illustration */
.mock { margin: 0; min-width: 0; }
.mock-window { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgb(24 49 47 / .14); overflow: hidden; font-size: 13px; line-height: 1.6; }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD6D3; }
.mock-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-head strong { color: var(--ink); font-size: 16px; }
.mock-head span { color: var(--muted); font-size: 12px; }
.mock-cols { display: grid; grid-template-columns: 1fr 1.1fr; }
.mock-summary { padding: 14px 18px 18px; border-right: 1px solid var(--line); }
.mock-transcript { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; background: #FBFAF7; }
.mock-tab { align-self: flex-start; display: inline-block; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.mock-h { margin-top: 12px; font-weight: 700; color: var(--ink); }
.mock ul { margin: 4px 0 0; padding-left: 18px; }
.mock-todo { display: flex; gap: 8px; margin-top: 6px; }
.mock-todo .box { display: grid; place-items: center; flex: none; width: 15px; height: 15px; margin-top: 3px; border: 1.5px solid #9BB0AB; border-radius: 4px; }
.mock-todo.done .box { background: var(--ink); border-color: var(--ink); color: #fff; }
.mock-todo .tick { width: 11px; height: 11px; stroke-width: 3; }
.mock-todo em { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 99px; background: var(--soft); color: var(--muted); font-style: normal; font-size: 11px; }
.mock-line { padding: 8px 10px; border-radius: 10px; }
.mock-line p:first-child { display: flex; gap: 8px; align-items: baseline; font-size: 12px; }
.mock-line p:first-child span { color: var(--muted); font-size: 11px; }
.tone-1 { background: #E6F2EF; } .tone-1 b { color: #1B6F65; }
.tone-2 { background: #FBEFE3; } .tone-2 b { color: #8F4E14; }
.tone-3 { background: #EFEBF8; } .tone-3 b { color: #5B45A0; }
.mock figcaption { margin-top: 10px; text-align: right; font-size: 12px; color: var(--muted); }

/* Hero slideshow. The timing rules are generated by src/slides-css.mjs and come first in the built file. */
.hs { position: relative; }
.hs-in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hs-stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; touch-action: pan-y; }
/* All slides share the same two rows, so the text area and the picture keep one height and never jump. */
.hs-slide { grid-column: 1; grid-row: 1 / span 2; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 12px; margin: 0; min-width: 0; opacity: 0; visibility: hidden; }
.mock.hs figcaption.hs-cap { margin: 0; align-self: start; text-align: center; font-size: 16px; line-height: 1.6; color: #33504C; }
.hs-cap strong { display: block; font-size: 19px; color: var(--ink); }
.hs-cap span { display: block; text-wrap: balance; } /* no single word left alone on the last line */
.hs-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: 12px; }
.hs-dots { display: flex; gap: 4px; }
.hs-dot { display: grid; place-items: center; width: 28px; height: 28px; cursor: pointer; }
.hs-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #CBD6D3; }
.mock .hs-note { margin-top: 6px; text-align: center; font-size: 12px; color: var(--muted); }
/* No pause button (user decision 2026-11-25): choosing a dot stops auto-play; keyboard focus, a held finger or a mouse over the picture pause it. */
.hs:has(:focus-visible) .hs-slide, .hs:has(:focus-visible) .hs-dot::before,
.hs.hold .hs-slide, .hs.hold .hs-dot::before { animation-play-state: paused; }
@media (hover: hover) { .hs:has(.hs-stage:hover) .hs-slide, .hs:has(.hs-stage:hover) .hs-dot::before { animation-play-state: paused; } }
/* A chosen slide (dot, arrow keys, swipe) stays on screen. */
.hs:not(:has(#hs-auto:checked)) .hs-slide, .hs:not(:has(#hs-auto:checked)) .hs-dot::before { animation: none; }
/* Short screens sit in the middle of the window instead of leaving the lower half empty. */
.hs-slide .mock-window { display: flex; flex-direction: column; }
.hs-slide .mock-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hs-slide .mock-cols { flex: 1; }
/* Show where the keyboard is. */
#hs-auto:focus-visible ~ .hs-controls .hs-dots { outline: 3px solid var(--brand-btn); outline-offset: 2px; border-radius: 8px; }
/* People who ask for less motion get no auto-play: the first slide, changed by hand. */
@media (prefers-reduced-motion: reduce) {
  .hs-slide, .hs-dot::before { animation: none !important; }
  #hs-auto:checked ~ .hs-stage .hs-slide:nth-child(1) { opacity: 1; visibility: visible; }
  #hs-auto:checked ~ .hs-controls .hs-dot:nth-child(1)::before { background: var(--ink); }
}
/* Slide contents */
.talk { margin-top: 14px; }
.talk p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 4px; font-size: 12px; }
.talk p span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.talk svg { display: block; width: 100%; height: 8px; border-radius: 99px; }
.talk-track { fill: var(--soft); }
.talk-1 b { color: #1B6F65; } .talk-1 .talk-fill { fill: #23877C; }
.talk-2 b { color: #8F4E14; } .talk-2 .talk-fill { fill: #D08B4E; }
.talk-3 b { color: #5B45A0; } .talk-3 .talk-fill { fill: #7A66BD; }
.mock-body { padding: 16px 18px 20px; }
.ask-q { margin: 0 0 0 auto; width: fit-content; max-width: 85%; padding: 8px 12px; border-radius: 12px 12px 2px 12px; background: var(--ink); color: #fff; }
.ask-a { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; }
.ask-source { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--soft); }
.ask-source p:first-child { display: flex; gap: 8px; align-items: baseline; font-size: 12px; }
.ask-source b { color: var(--ink); }
.ask-source span { color: var(--muted); font-size: 11px; }
.mock-head .share-badge { margin-left: auto; padding: 0 10px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); }
.share-row { display: flex; gap: 8px; margin-top: 6px; }
.share-link { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid #C8D3CF; border-radius: 8px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-copy { flex: none; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.share-note { margin-top: 10px; color: var(--muted); font-size: 12px; }

.mock-head .mock-badge { margin-left: auto; padding: 0 10px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.cap-line + .cap-line { margin-top: 10px; }
.cap-original { color: var(--muted); font-size: 12px; }
.cap-translated { color: var(--ink); font-weight: 700; }
.mock-project { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: var(--soft); color: var(--ink); }
.mock-project em { color: var(--muted); font-style: normal; }
.mock-meeting { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mock-meeting b { color: var(--ink); }
.mock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mock-tags em { padding: 0 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-text); font-style: normal; font-size: 12px; }
.mock-filed { margin-top: 4px; color: var(--muted); font-size: 11px; }
.mock-home { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.home-title { font-size: 18px; font-weight: 700; color: var(--ink); }
.home-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--soft); }
.home-tabs span { padding: 4px 18px; border-radius: 6px; color: var(--muted); }
.home-tabs .on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgb(24 49 47 / .15); }
.home-launch { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 12px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.home-launch p span { display: block; color: var(--muted); font-size: 11px; }
.home-launch p b { display: block; padding: 6px 10px; border: 1px solid #C8D3CF; border-radius: 8px; color: var(--ink); font-weight: 400; }
.home-launch .home-start { padding: 10px 22px; border-radius: 8px; background: var(--red-btn); color: #fff; font-size: 19px; font-weight: 700; }
.home-ask { width: 100%; padding: 10px 12px; border: 1px solid #C8D3CF; border-radius: 10px; color: var(--muted); }
/* The home page slideshow, again in the middle of the features page. */
.feature-slides { max-width: 600px; margin: 44px auto 0; }
/* The web app's accuracy figures on the features page: the key limit in normal size, how they were measured in small print. */
.accuracy { scroll-margin-top: 92px; max-width: 720px; margin: 44px auto 0; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.accuracy-eyebrow { color: var(--brand-text); font-size: 14px; font-weight: 700; }
.accuracy h3 { margin-top: 4px; font-size: 22px; }
.accuracy-figures { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.accuracy-figures strong { display: block; color: var(--ink); font-size: clamp(26px, 6vw, 40px); line-height: 1.2; white-space: nowrap; }
.accuracy-figures span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.accuracy-figures span span { margin: 0; }
.accuracy-note { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text); font-size: 8.5px; line-height: 1.8; text-align: left; }
/* Phones: two figures per row */
@media (max-width: 520px) {
  .accuracy-figures { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
}

/* Comparison and guide pages */
.section.article > .wrap > h2 { margin: 36px 0 12px; font-size: 24px; text-align: left; }
.article p { margin: 0 0 12px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article .checked { color: var(--muted); font-size: 14px; }
.article .compare { margin: 0 0 16px; font-size: 15px; }
.article .compare tbody th { width: 22%; }
.article .compare td { width: auto; }
.article .sources a { color: var(--brand-text); overflow-wrap: anywhere; }
.article .disclaimer { margin-top: 20px; color: var(--muted); font-size: 14px; }
.foot-heading { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.foot-articles { margin-top: 4px; }

/* Cookie consent (only present when analytics is configured) */
.consent { position: fixed; inset: auto 0 0 0; z-index: 50; padding: 14px 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgb(24 49 47 / .12); }
.consent[hidden] { display: none; }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.consent p { flex: 1 1 420px; margin: 0; font-size: 15px; line-height: 1.6; }
.consent a { color: var(--brand-text); }
.consent-buttons { display: flex; gap: 10px; }
.consent-buttons .btn { min-width: 120px; justify-content: center; cursor: pointer; font: inherit; font-weight: 700; }
.consent-open { margin-top: 12px; padding: 6px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.consent-open[hidden] { display: none; }
@media (max-width: 720px) { .consent-buttons { width: 100%; } .consent-buttons .btn { flex: 1; } }

/* Next to the download button: the optional speed-up for NVIDIA graphics cards (text only until a logo is licensed). */
/* A temporary problem with the offered installer: shown while config.download.knownIssueFor matches the version. */
.known-issue { display: flex; gap: 10px; margin: 16px auto 4px; max-width: 36em; padding: 12px 16px; text-align: left; color: var(--ink); background: #FFF6E5; border: 2px solid #C77700; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.6; }
.known-issue .icon { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: #9A5B00; }
.speed-note { margin: 12px auto 0; max-width: 34em; color: var(--ink); font-size: 15px; font-weight: 600; }
.speed-note .speed-icon { display: inline-block; width: 30px; height: 30px; vertical-align: -9px; margin-right: 8px; } /* large enough to read the badge */

/* Sections */
.section { padding: 72px 0; }
.section > .wrap > h2 { text-align: center; margin-bottom: 40px; }
@media (min-width: 700px) { .bot-cards .cards { grid-template-columns: repeat(2, 1fr); } }
/* a whole sentence as the heading, with the "coming soon" line right under it */
.section.meet > .wrap > .meet-soon { text-align: center; margin: -28px 0 28px; }
.section.meet > .wrap > h2 { max-width: 860px; margin-left: auto; margin-right: auto; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.45; text-wrap: balance; }
.section-soft { background: var(--soft); }
.section + .section:not(.section-soft):not(.section-cta) { padding-top: 40px; }
.section-soft + .section:not(.section-soft):not(.section-cta) { padding-top: 72px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.step-icon { position: absolute; top: 28px; right: 24px; width: 32px; height: 32px; color: var(--brand); }
.steps h3 { margin: 18px 0 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.card { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); }
.card h3 { margin-bottom: 8px; }
.badge { display: inline-block; margin-bottom: 8px; padding: 1px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-text); font-size: 13px; font-weight: 600; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { background: var(--soft); color: var(--ink); }
.compare tbody th { width: 24%; color: var(--ink); }
.compare td { width: 38%; }

.privacy-box { display: flex; gap: 24px; padding: 40px; border-radius: 16px; background: var(--ink); color: #E3EDEA; }
.privacy-box h2 { color: #fff; margin-bottom: 10px; }
.privacy-box p { max-width: 62ch; }
.privacy-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: rgb(255 255 255 / .1); color: #fff; }
.privacy-icon .icon { width: 30px; height: 30px; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 600; color: #fff; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1.2; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; }

.section-cta { background: var(--brand-soft); text-align: center; }
.section-cta img { display: block; margin: 0 auto 16px; }
.section-cta > .wrap > h2 { margin-bottom: 0; }
.section-cta .cta-row { justify-content: center; margin-top: 28px; }

/* Inner pages */
.page-hero { background: linear-gradient(180deg, var(--brand-soft), var(--bg)); padding: 64px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.page-hero .lead { margin-top: 14px; }
.center { text-align: center; }
p.center { margin-top: 32px; }
.group-head { text-align: center; margin-bottom: 36px; }
.group-head h2 { display: inline-block; }
.group-head .badge { margin: 0 0 0 10px; vertical-align: 6px; }
.card h3 .badge { margin: 0 0 0 6px; padding: 0 8px; line-height: 18px; font-size: 12px; vertical-align: 1px; }
.group-head p { margin-top: 8px; }
.notice { max-width: 640px; margin: 0 auto 28px; padding: 12px 18px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); text-align: center; font-size: 15px; }

.notice.left { max-width: none; margin: 40px 0 0; text-align: left; }
.notice.left h3 { font-size: 16px; margin-bottom: 4px; }
.blocked-download ul { margin: 8px 0; padding-left: 20px; }
.blocked-download li { margin-top: 6px; }
.blocked-download + .notice { margin-top: 14px; }
.badge.neutral { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plan.featured { border: 2px solid var(--brand-btn); padding: 27px 23px; }
.plan h2 { font-size: 20px; }
.plan h2 .badge { margin: 0 0 0 6px; vertical-align: 2px; }
/* Plan cards: name and one line, the price, the button, then the features. */
.plan { position: relative; }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; padding: 2px 14px; border-radius: 99px; background: var(--brand-btn); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.plan-desc { min-height: 4.8em; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.price-block { min-height: 148px; margin-top: 10px; }
.price { color: var(--navy); }
.price strong { font-size: 40px; line-height: 1.2; }
.price-words strong { font-size: 28px; line-height: 48px; white-space: nowrap; }
.price span { margin-left: 6px; color: var(--muted); font-size: 15px; }
.price-note, .list-line { font-size: 14px; line-height: 1.6; color: var(--muted); }
.offer { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: var(--pink); color: var(--red-text); font-size: 14px; font-weight: 600; line-height: 1.6; }
.plan .btn { width: 100%; min-height: 56px; margin-top: 8px; }
.feat-head { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: 15px; }
/* Yearly or monthly billing: two radio buttons and CSS, no script. */
.bill-in { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bill-switch { display: flex; justify-content: center; margin: 0 0 34px; }
.bill-options { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.bill-options label { display: flex; align-items: center; gap: 8px; padding: 7px 20px; border-radius: 999px; color: var(--navy); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bill-options small { padding: 0 8px; border-radius: 99px; background: var(--pink); color: var(--red-text); font-size: 12px; font-weight: 700; }
#bill-year:checked ~ .bill-switch label[for="bill-year"], #bill-month:checked ~ .bill-switch label[for="bill-month"] { background: var(--navy); color: #fff; }
#bill-year:focus-visible ~ .bill-switch label[for="bill-year"], #bill-month:focus-visible ~ .bill-switch label[for="bill-month"] { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.bill-month { display: none; }
#bill-month:checked ~ * .bill-month { display: block; }
#bill-month:checked ~ * .bill-year { display: none; }
.plan .ticks { flex: 1; margin: 10px 0 0; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; padding: 5px 0; font-size: 16px; }
.plan .ticks li { font-size: 15px; }
.ticks .icon { width: 20px; height: 20px; flex: none; margin-top: 5px; color: var(--brand-text); stroke-width: 2.25; }
/* System requirements: ticks and the graphics-card badge share one column, so the text lines up. */
.reqs li > .icon, .reqs .gpu-badge { flex: 0 0 48px; }
.reqs .gpu-badge { width: 48px; height: 48px; }
@media (max-width: 960px) { .plan-desc, .price-block { min-height: 0; } .price-block { margin-bottom: 6px; } }
@media (max-width: 360px) { .bill-options label { padding: 7px 12px; font-size: 14px; } }
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.extras li { padding: 22px 24px; border-radius: var(--radius); background: var(--soft); }
.extras h3 { margin-bottom: 4px; }
.extra-buy { margin-top: 12px; }
.seller ul { margin: 6px 0 0; padding-left: 20px; }
.seller li { margin-top: 4px; }
.legal h2[id] { scroll-margin-top: 84px; }

.download-box { padding: 40px 24px; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.download-box h2 { margin: 12px 0 24px; font-size: 24px; }
.download-box .btn .icon { margin-right: 8px; }
.platform-jump { margin-top: 18px; }
.android-box { margin-top: 56px; scroll-margin-top: 84px; }
.android-intro { max-width: 520px; margin: -12px auto 24px; }
.btn-disabled { background: #ECEBE4; color: var(--muted); cursor: default; }
.sha code { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; word-break: break-all; }
.text-link.dark { color: var(--brand-text); }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 48px; }
.two-col h2 { font-size: 22px; margin-bottom: 12px; }
.num-list { margin: 0; padding-left: 22px; }
.num-list li { padding: 5px 0; }
.prose p + p { margin-top: 18px; }
.prose { font-size: 18px; }
.mail-line { margin-top: 14px; }
.mail-line .badge { margin: 0; }
.mail { font-weight: 600; word-break: break-all; }

/* Legal pages */
.legal h2, .section > .wrap.legal > h2 { font-size: 22px; margin: 40px 0 12px; text-align: left; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p { margin: 12px 0; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal code { font-size: .9em; padding: 1px 5px; border-radius: 4px; background: var(--soft); }
.legal strong { color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.legal th, .legal td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal thead th { background: var(--soft); color: var(--ink); white-space: nowrap; }
.legal tbody tr:last-child td { border-bottom: 0; }
.badge.draft { background: #FFF4D6; color: #7A4B00; margin: 0 0 0 8px; vertical-align: 3px; font-size: 12px; white-space: nowrap; }
mark.todo { background: #FFE9A8; color: #5C3900; padding: 0 4px; border-radius: 4px; }
.draft-box { margin-bottom: 24px; padding: 16px 22px; border: 1px solid #F1D48A; border-radius: var(--radius); background: #FFFBEE; }
.draft-box > .badge.draft { margin: 6px 0 0; }
.draft-box h2 { margin-top: 20px; }
.draft-box h2:first-of-type { margin-top: 10px; }

.message { padding: 96px 0 112px; text-align: center; }
.message h1 { margin: 20px 0 10px; font-size: 30px; }
.message .btn { margin-top: 28px; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 18px 0 0; padding: 0; list-style: none; }
.foot-links a { display: inline-block; padding: 4px 0; color: var(--text); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copyright { margin-top: 18px; }

/* French labels are long: below this width they use the menu button (the header would overflow). */
@media (max-width: 1100px) and (min-width: 721px) {
  html:lang(fr) .main-nav, html:lang(fr) .sign-in { display: none; }
  html:lang(fr) .mobile-menu { display: block; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { text-align: center; }
  .hero .cta-row { justify-content: center; }
  .signin-card, .signin-download { margin-inline: auto; }
  .mock { width: min(640px, 100%); margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .bar { gap: 12px; min-height: 60px; }
  .main-nav, .sign-in, .lang-label, .header-cta { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn-secondary { display: none; }
  .mobile-download { display: block; padding: 10px 0; text-align: center; font-size: 15px; }
  /* the sign-in card comes right under the title, so the cookie banner does not cover its buttons on a first visit */
  .hero-text:has(.signin-card) { display: flex; flex-direction: column; }
  .hero-text:has(.signin-card) .lead { order: 1; margin-top: 18px; }
  .hero-text:has(.signin-card) .signin-download { order: 2; }
  .signin-card { width: 100%; }
  html:lang(fr) .hero:has(.signin-card) h1 { font-size: 30px; }
  .foot-links a { padding: 11px 0; }
  .foot-links { gap: 0 22px; }
  .mobile-menu { display: block; }
  .section { padding: 52px 0; }
  .section + .section:not(.section-soft):not(.section-cta) { padding-top: 24px; }
  .section-soft + .section:not(.section-soft):not(.section-cta) { padding-top: 52px; }
  .section > .wrap > h2 { margin-bottom: 28px; }
  .lead { font-size: 17px; }
  .cta-row { flex-direction: column; }
  .btn-lg { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
  .cards, .extras, .two-col { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding-top: 44px; }
  .legal table { min-width: 0; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal tbody tr:last-child { border-bottom: 0; }
  .legal td { padding: 2px 14px; border: 0; }
  .legal td:first-child { font-weight: 700; color: var(--ink); }
  .legal td:empty { display: none; }
  .mock-cols { grid-template-columns: minmax(0, 1fr); }
  .mock-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  /* Three lines on phones so the punchline shows; the first slide is already the tallest, so it keeps two. */
  .mock-line:nth-of-type(n+4) { display: none; }
  .hs-slide:first-child .mock-line:nth-of-type(n+3) { display: none; }
  .article .compare tbody th { width: auto; }
  /* On phones only the top of the picture is on screen at first, so short screens start at the top. */
  .hs-slide .mock-body { justify-content: flex-start; }
  .privacy-box { flex-direction: column; padding: 28px 22px; }

  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody th { width: auto; background: var(--soft); }
  .compare tbody th, .compare td { padding: 10px 16px; }
  .compare tbody tr:last-child > th { border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child > td:first-of-type { border-bottom: 1px solid var(--line); }
  .compare tbody td::before { content: attr(data-col); display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
}

/* ---------- Redesign layout ---------- */
.main-nav { margin-left: auto; }
.sign-in .short { display: none; }
.btn-ghost { border-color: var(--brand-btn); color: var(--brand-text); background: transparent; min-width: 84px; }
.btn-ghost:hover { background: var(--brand-soft); }
/* header "Start free": teal like the other main buttons */
.header-cta { min-height: 44px; padding: 6px 20px; border-color: transparent; background: var(--brand-btn); color: #fff; font-size: 19px; font-weight: 700; }
.header-cta:hover { background: var(--brand-btn-hover); }
.btn-secondary { border-color: var(--brand-btn); color: var(--brand-text); }
.btn-secondary:hover { border-color: var(--brand-btn-hover); background: var(--brand-soft); }
.btn-green { background: var(--brand-btn); color: #fff; }
.btn-green:hover { background: var(--brand-btn-hover); }
.btn-icon { width: 20px; height: 20px; margin-right: 8px; }
.card, .plan, .steps li, .download-box, .faq details, .compare, .table-scroll { background: #fff; box-shadow: var(--shadow); }
#faq { scroll-margin-top: 76px; }

/* Hero: soft hills behind the headline and the product picture (drawn with CSS, no pictures). */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 56px 0 68px; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.hero::before { width: 980px; height: 760px; right: -300px; top: -200px; background: radial-gradient(closest-side, rgb(35 135 124 / .12) 0 62%, rgb(232 172 119 / .26) 63% 82%, rgb(232 172 119 / 0)); }
.hero::after { width: 760px; height: 300px; left: -300px; bottom: -225px; background: rgb(35 135 124 / .15); box-shadow: 1180px 70px 0 -20px rgb(35 135 124 / .12), 620px 130px 0 0 rgb(35 135 124 / .07); }
.hero h1, .hero-slogan { font-size: clamp(36px, 4.6vw, 54px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hero h1.label { font-size: 14px; line-height: 1.5; }
.hero-slogan span { display: block; }
.hero h1 .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 15px; border: 1px solid rgb(232 172 119 / .6); border-radius: 999px; background: var(--brand-soft); font-size: 14px; letter-spacing: .02em; line-height: 1.5; color: var(--brand-text); }
.hero h1 .eyebrow .icon { width: 17px; height: 17px; color: var(--brand); }
.hero h1 em, .hero-slogan em { font-style: normal; color: var(--brand); }
.hero-sub { margin-top: 16px; font-size: 24px; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.hero .cta-row { margin-top: 28px; }
.hero .cta-row .btn { padding-inline: 32px; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 9px; padding: 0 14px; border-left: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.hero-points li:first-child { padding-left: 0; border-left: 0; }
.hero-points .icon { width: 24px; height: 24px; color: var(--brand); }
.hero-points b { display: block; color: var(--ink); font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; }
.hero-points a { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.hero-points a b { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 4px; }
.hero-points a:hover b { color: var(--brand); }

/* The app picture: the window first, the slide's caption under it, as one large frame. */
.mock-window { border-radius: 20px; box-shadow: 0 30px 70px rgb(24 49 47 / .15); }
.mock-bar { align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: 13px; }
.mock-bar img { width: 20px; height: 20px; }
.mock-tab { border-bottom-color: var(--brand); }
.mock-summary .mock-tab::before, .mock-head .mock-badge::before { content: "✦"; margin-right: 6px; color: var(--brand); }
.mock-head .mock-badge { background: var(--brand-soft); border-color: transparent; color: var(--brand-text); }
.mock-todo.done .box { background: var(--brand); border-color: var(--brand); }
.hero .hs-stage { grid-template-rows: 1fr auto; }
.hero .hs-slide .mock-window { grid-row: 1; }
.hero .mock.hs figcaption.hs-cap { grid-row: 2; font-size: 15px; }
.hero .hs-cap strong { font-size: 17px; }

/* Web and Windows, side by side */
.versions { padding-top: 56px; }
.version-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.version { display: grid; grid-template-columns: minmax(0, 1fr) 190px; grid-template-rows: auto 1fr auto; column-gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(120deg, #fff 55%, var(--brand-soft)); box-shadow: var(--shadow); }
.version-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.version-head .icon { width: 46px; height: 46px; color: var(--brand); stroke-width: 1.5; }
.version h3 { font-size: 23px; }
.version-head p { color: var(--ink); font-size: 15px; }
.version .ticks { grid-column: 1; margin: 16px 0 0; }
.version .ticks li { font-size: 15px; line-height: 1.6; }
.version .ticks .icon { color: var(--brand); }
.version-art { grid-column: 2; align-self: center; width: 100%; height: auto; }
.version-art .screen { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.version-art .base { fill: #9BB0AB; }
.version-art .mark { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.version .btn { grid-column: 1 / -1; justify-self: end; margin-top: 18px; }

@media (max-width: 1180px) and (min-width: 721px) {
  html:lang(fr) .main-nav { display: none; }
  html:lang(fr) .sign-in { display: inline-flex; }
  html:lang(fr) .main-nav + .actions { margin-left: auto; }
  .version { grid-template-columns: minmax(0, 1fr) 120px; }
}
@media (min-width: 961px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero h1, .hero-slogan { font-size: clamp(34px, 3.4vw, 44px); }
  .hero h1.label { font-size: 14px; }
}
@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero-points { max-width: 620px; justify-content: center; margin-inline: auto; text-align: left; }
  .version-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) and (min-width: 721px) {
  .bar { gap: 14px; }
  .lang-label { display: none; }
  .main-nav a { padding: 8px; }
  .header-cta { padding: 6px 14px; }
  .version { grid-template-columns: minmax(0, 1fr) 190px; }
}
@media (max-width: 720px) {
  .site-header .sign-in { display: inline-flex; min-height: 38px; min-width: 0; padding: 6px 14px; }
  .site-header .header-cta { display: none; }
  .actions { gap: 4px; }
  .dropdown summary { padding: 8px; }
  .hero-sub { font-size: 19px; }
  .hero-points { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 320px; }
  .hero-points li { padding: 0; border-left: 0; }
  .version { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .version-art { display: none; }
  .version .btn { justify-self: stretch; }
}
@media (max-width: 480px) {
  .sign-in .long { display: none; }
  .sign-in .short { display: inline; }
  .brand-text strong { font-size: 16px; }
}
@media (max-width: 360px) {
  .bar { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { display: none; }
  .site-header .sign-in { padding: 6px 10px; font-size: 14px; }
}
@media (max-width: 360px) {
  html:lang(fr) .site-header .sign-in { padding: 6px 8px; font-size: 13px; }
  html:lang(fr) .brand-text strong { font-size: 13px; }
  html:lang(fr) .bar { gap: 4px; }
}
/* phones: softer shapes, a header that fits long names, and a pill that wraps cleanly */
@media (max-width: 720px) {
  .hero::before { width: 640px; height: 460px; right: -360px; top: -170px; }
  .hero h1 .eyebrow { display: inline-block; font-size: 13px; }
  .hero h1 .eyebrow .icon { display: inline-block; margin-right: 8px; vertical-align: -3px; }
}
@media (max-width: 480px) {
  .bar { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand-text strong { font-size: 15px; }
  .actions { gap: 2px; }
  .site-header .sign-in { padding: 6px 11px; }
}
@media (max-width: 360px) {
  .brand img { width: 28px; height: 28px; }
  .brand-text strong { font-size: 13px; }
  .bar { gap: 4px; }
}

/* Header widths where the name ran into the globe: the two icon buttons get slimmer sides and the menu button moves
   a few pixels into the margin. Every other width keeps its own sizes. */
@media (max-width: 336px) {
  html:lang(en) .site-header .dropdown summary { padding-inline: 4px; }
  html:lang(en) .site-header .actions { margin-right: -4px; }
}
@media (max-width: 349px), (min-width: 361px) and (max-width: 385px) {
  html:lang(fr) .site-header .dropdown summary { padding-inline: 4px; }
  html:lang(fr) .site-header .actions { margin-right: -8px; }
  html:lang(fr) .site-header .sign-in { padding-inline: 6px; }
  html:lang(fr) .site-header .brand { gap: 6px; }
}
/* French on small tablets: the same labels and sizes, with less space around them. */
@media (min-width: 721px) and (max-width: 749px) {
  html:lang(fr) .site-header .actions { gap: 4px; }
  html:lang(fr) .site-header .sign-in { padding-inline: 12px; }
  html:lang(fr) .site-header .header-cta { padding-inline: 10px; }
}
/* English on small tablets: the page links do not fit beside the name, so they move into the menu button (as French
   does up to 1100px). */
@media (min-width: 721px) and (max-width: 799px) {
  html:lang(en) .main-nav { display: none; }
  html:lang(en) .mobile-menu { display: block; }
  html:lang(en) .main-nav + .actions { margin-left: auto; }
}
