/* 7x24hrs AI Support: the public website, sign-in, demo and dashboard share this sheet.
   Look: warm paper, deep night blue, honey from the puppy's fur. The puppy holding on to an edge is the signature. */
:root {
  --ink: #14213d; --muted: #566179; --line: #e7e1d5; --line-strong: #d9cfbd; --bg: #fbf8f2; --soft: #f4efe5; --card: #ffffff;
  --field: #fffdf9; --field-line: #d6cdbd; --ghost-line: #cbc1ae; --glass: rgba(255,255,255,.55); --header-bg: rgba(251,248,242,.9);
  --brand: #1f6feb; --brand-dark: #1755c4; --brand-tint: #e8f0fe; --accent: #1f6feb; --link: #1755c4;
  --honey: #f2a83b; --honey-soft: #fdf0d9; --honey-ink: #8a520a; --honey-line: #efd8ac; --eyebrow: #9a5d0a; --fur-line: #3a2416;
  --night: #0c1a3a; --night-2: #17306b; --on-night: #f6f8ff; --on-night-muted: #c3cde6; --footer: #0c1a3a;
  --good: #1a7f4b; --green-tint: #e3f4ea; --green-ink: #146c3e; --bad: #b02a1c; --bad-tint: #fff1ef; --bad-line: #f1b3ab;
  --info-tint: #eef5ff; --info-line: #c9dcff; --doc-ink: #2c3850; --illus-ink: #5d6478; --code-bg: #0f1720; --radius: 18px;
  --shadow: 0 1px 2px rgba(20,33,61,.06), 0 14px 34px -16px rgba(20,33,61,.24);
  --chat-bg: #ffffff; --chat-log: #f6f7fa; --chat-line: #e2e6ee; --chat-foot-line: #edf0f5; --chat-foot-ink: #5f6880; --chat-dots: #98a2b6; --chat-hand-line: #f1d6a2;
  color-scheme: light;
}
/* Dark: warm charcoal paper instead of warm white; the night-blue panels stay the deepest, brightest-lit layer.
   Applied when chosen ([data-theme=dark]) or, with no choice made, when the system is dark. */
:root[data-theme="dark"] {
  --ink: #efe9df; --muted: #ada594; --line: #332e26; --line-strong: #4a4337; --bg: #13110d; --soft: #1b1914; --card: #211e18;
  --field: #191712; --field-line: #4d4538; --ghost-line: #5a5143; --glass: rgba(255,255,255,.03); --header-bg: rgba(19,17,13,.86);
  --brand: #2f6fe4; --brand-dark: #2a62cc; --brand-tint: #172846; --accent: #7eaeff; --link: #93bcff;
  --honey-soft: #33260f; --honey-ink: #f3c47e; --honey-line: #5b4320; --eyebrow: #f0b45e;
  --night: #0a1530; --night-2: #172f66; --footer: #0b0e16;
  --good: #63d293; --green-tint: #143021; --green-ink: #8adcaa; --bad: #ff8f7f; --bad-tint: #3a1a15; --bad-line: #6e2e25;
  --info-tint: #15233d; --info-line: #2d4572; --doc-ink: #d9d2c5; --illus-ink: #b5ad9e; --code-bg: #0b0f16;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 16px 36px -18px rgba(0,0,0,.75);
  --chat-bg: #1c1a15; --chat-log: #15130f; --chat-line: #38332a; --chat-foot-line: #2e2a22; --chat-foot-ink: #ada594; --chat-dots: #7d7566; --chat-hand-line: #5b4320;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #efe9df; --muted: #ada594; --line: #332e26; --line-strong: #4a4337; --bg: #13110d; --soft: #1b1914; --card: #211e18;
  --field: #191712; --field-line: #4d4538; --ghost-line: #5a5143; --glass: rgba(255,255,255,.03); --header-bg: rgba(19,17,13,.86);
  --brand: #2f6fe4; --brand-dark: #2a62cc; --brand-tint: #172846; --accent: #7eaeff; --link: #93bcff;
  --honey-soft: #33260f; --honey-ink: #f3c47e; --honey-line: #5b4320; --eyebrow: #f0b45e;
  --night: #0a1530; --night-2: #172f66; --footer: #0b0e16;
  --good: #63d293; --green-tint: #143021; --green-ink: #8adcaa; --bad: #ff8f7f; --bad-tint: #3a1a15; --bad-line: #6e2e25;
  --info-tint: #15233d; --info-line: #2d4572; --doc-ink: #d9d2c5; --illus-ink: #b5ad9e; --code-bg: #0b0f16;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 16px 36px -18px rgba(0,0,0,.75);
  --chat-bg: #1c1a15; --chat-log: #15130f; --chat-line: #38332a; --chat-foot-line: #2e2a22; --chat-foot-ink: #ada594; --chat-dots: #7d7566; --chat-hand-line: #5b4320;
  color-scheme: dark;
} }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
.logo img { border-radius: 9px; box-shadow: 0 3px 8px -2px rgba(31,111,235,.45); }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
nav a:hover { background: var(--soft); color: var(--link); }
nav a.pill { border: 1.5px solid var(--ink); padding: 6.5px 16px; margin-left: 6px; font-weight: 600; }
nav a.pill:hover { background: var(--ink); color: var(--bg); }
/* the header gives way step by step as the window narrows, so Sign in is always on screen (a phone held upright included) */
details.more { display: none; position: relative; }
details.more summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; margin-left: 2px; border-radius: 999px; color: var(--ink); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary:hover, details.more[open] summary { background: var(--soft); }
details.more summary svg { width: 20px; height: 20px; fill: currentColor; }
details.more .more-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: flex; flex-direction: column; min-width: 200px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
details.more .more-menu a { display: block !important; padding: 10px 14px; border-radius: 9px; font-size: 15px; }
/* narrow screens: the links fold into the ⋮ menu; the language, theme and Sign in stay in the bar */
@media (max-width: 1000px) { nav > a:not(.pill) { display: none; } details.more { display: block; } details.langs summary span { display: none; } details.langs summary { padding: 7px; } }
@media (max-width: 820px) { .logo span { display: none; } nav a:not(.pill):nth-child(1) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 16px; line-height: 1.25; box-shadow: 0 8px 20px -10px rgba(31,111,235,.8); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.honey { background: var(--honey); color: #2a1803; box-shadow: 0 10px 24px -10px rgba(242,168,59,.9); }
.btn.honey:hover { background: #f7b95c; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ghost-line); box-shadow: none; margin-left: 10px; }
.btn.ghost:hover { border-color: var(--ink); background: var(--soft); }
.night .btn.ghost { color: var(--on-night); border-color: rgba(255,255,255,.4); }
.night .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions .btn.ghost { margin: 0; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* sections */
section { padding: 96px 0; }
section h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.03em; }
p.lead { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--eyebrow); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--honey); }
.night .eyebrow { color: #ffc56e; }
.soft { background: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--card); }
.card h3 { margin: 0 0 6px; font-size: 17.5px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 11px; background: var(--honey-soft); color: var(--honey-ink); align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }

/* night panels: the hero and the call to action */
.night { position: relative; overflow: hidden; color: var(--on-night); border-radius: 32px;
  background: radial-gradient(900px 440px at 85% -12%, rgba(242,168,59,.2), transparent 62%), radial-gradient(760px 520px at -6% 112%, rgba(31,111,235,.5), transparent 62%), linear-gradient(160deg, var(--night-2), var(--night) 64%); }
.night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 47% 9%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 61% 34%, #fff 50%, transparent 52%), radial-gradient(1.3px 1.3px at 74% 86%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 93% 30%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 5% 52%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 36% 40%, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 52% 93%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 88% 62%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 20% 92%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 69% 15%, #fff 50%, transparent 52%);
  animation: twinkle 5s ease-in-out infinite alternate; }
.night > * { position: relative; }
@keyframes twinkle { from { opacity: .4; } to { opacity: .85; } }
.moon { position: absolute; top: 40px; right: 52px; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset -13px 7px 0 0 #ffd99a; filter: drop-shadow(0 0 16px rgba(255,209,138,.6)); transform: rotate(-14deg); }

/* home: hero */
.hero-band { padding: 6px 16px 0; }
.hero { max-width: 1240px; margin: 0 auto; padding: 76px 64px 132px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; margin: 0 0 24px; letter-spacing: -0.04em; font-weight: 800; }
.hero h1 .hl { position: relative; white-space: nowrap; color: #ffcf86; }
.hero h1 .hl svg { color: var(--honey); position: absolute; left: -3%; bottom: -.06em; width: 106%; height: .34em; overflow: visible; }
.hero p.sub { font-size: 19.5px; line-height: 1.55; color: var(--on-night-muted); max-width: 540px; margin: 0 0 34px; }
.hero p.sub b { color: #fff; font-weight: 600; }
.hero .note { color: var(--on-night-muted); margin: 22px 0 0; font-size: 14.5px; max-width: 540px; }
.hero .note a { color: #fff; }

/* the chat window the puppy holds on to: it shows the real widget, which looks the same in both themes */
.hero .scene, .chat { --ink: #14213d; --honey-soft: #fdf0d9; --brand: #1f6feb; --brand-dark: #1755c4; --link: #1755c4; --line: #e7e1d5; }
.scene { position: relative; padding-top: 84px; max-width: 440px; width: 100%; justify-self: end; }
.pup { position: absolute; top: 0; left: 50%; width: 150px; margin-left: -75px; z-index: 2; pointer-events: none; }
.pup svg { width: 100%; height: auto; display: block; overflow: visible; }
.pup .edge { fill: var(--edge, var(--brand)); }
.chat { position: relative; background: var(--chat-bg); color: var(--ink); border-radius: 22px; box-shadow: 0 34px 70px -24px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.chat .bar { display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px; background: var(--brand); color: #fff; }
.chat .bar b { font-size: 15px; display: block; line-height: 1.25; }
.chat .bar small { font-size: 12.5px; opacity: .92; display: flex; align-items: center; gap: 6px; }
.chat .bar small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7ef0a8; box-shadow: 0 0 0 3px rgba(126,240,168,.25); }
.chat .clock { margin-left: auto; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chat .msgs { padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--chat-log); height: 380px; overflow: hidden; justify-content: flex-end; }
.chat .m { margin: 0; flex: none; max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: rise .45s cubic-bezier(.2,.9,.3,1.2) both; }
.chat .m.you { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.chat .m.ai { align-self: flex-start; background: var(--chat-bg); border: 1px solid var(--chat-line); border-bottom-left-radius: 5px; }
.chat .m.ai.hand { background: var(--honey-soft); border-color: var(--chat-hand-line); }
.chat .m .src { display: block; margin-top: 6px; font-size: 12.5px; color: var(--link); font-weight: 600; }
.chat .typing { flex: none; align-self: flex-start; display: flex; gap: 4px; padding: 13px 14px; background: var(--chat-bg); border: 1px solid var(--chat-line); border-radius: 16px; border-bottom-left-radius: 5px; animation: rise .3s both; }
.chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--chat-dots); animation: dots 1s ease-in-out infinite; }
.chat .typing i:nth-child(2) { animation-delay: .15s; } .chat .typing i:nth-child(3) { animation-delay: .3s; }
.chat .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px 12px; font-size: 12.5px; color: var(--chat-foot-ink); border-top: 1px solid var(--chat-foot-line); background: var(--chat-bg); }
.chat .foot a { font-weight: 650; white-space: nowrap; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dots { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* the puppy: the same drawing as the chat button, with its own copy of the styles */
.pup .ln { fill: none; stroke: var(--fur-line); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pup .fur { fill: #eaa95d; stroke: var(--fur-line); stroke-width: 2.6; stroke-linejoin: round; }
.pup .dark { fill: #8a4a23; stroke: var(--fur-line); stroke-width: 2.6; stroke-linejoin: round; }
.pup .collar { fill: #e5484d; stroke: var(--fur-line); stroke-width: 2.2; stroke-linejoin: round; }
.pup .ink { fill: var(--fur-line); }
.pup g, .pup path, .pup ellipse { transform-box: fill-box; }
.pup .head { transform-origin: 50% 92%; animation: bob 3.4s ease-in-out infinite; }
.pup .ear { transform-origin: 50% 6%; }
.pup .ear.l { animation: ear-l 5.5s ease-in-out infinite; } .pup .ear.r { animation: ear-r 7.5s ease-in-out infinite; }
.pup .eye { transform-origin: 50% 55%; animation: blink 4.8s infinite; }
.pup .tail { transform-origin: 85% 95%; animation: wag 1.1s ease-in-out infinite; }
.pup .x { opacity: 0; transition: opacity .15s; }
.pup .tongue { transform-origin: 50% 0; }
.pup.happy .eye, .scene:hover .pup .eye, .scene:focus-within .pup .eye { opacity: 0; animation: none; }
.pup.happy .smile-eyes, .pup.happy .blush, .pup.happy .tongue, .scene:hover .pup .smile-eyes, .scene:hover .pup .blush, .scene:hover .pup .tongue, .scene:focus-within .pup .smile-eyes, .scene:focus-within .pup .blush, .scene:focus-within .pup .tongue { opacity: 1; }
.pup.happy .tongue, .scene:hover .pup .tongue { animation: pant .3s ease-in-out infinite alternate; }
.pup.happy .tail { animation-duration: .3s; }
.pup.think .head { animation: tilt 1.6s ease-in-out infinite; }
.pup.think .eye { animation: none; transform: translate(1.2px, -1.8px); }
.pup.think .dotsy { opacity: 1; }
.pup.think .dotsy circle { animation: dots 1.2s ease-in-out infinite; } .pup.think .dotsy circle:nth-child(2) { animation-delay: .2s; } .pup.think .dotsy circle:nth-child(3) { animation-delay: .4s; }
@keyframes bob { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes tilt { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(10deg) translateY(-1px); } }
@keyframes ear-l { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 94% { transform: rotate(5deg); } }
@keyframes ear-r { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(15deg); } 79% { transform: rotate(-5deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes pant { from { transform: scaleY(.8); } to { transform: scaleY(1.15); } }
@keyframes wag { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(16deg); } }

/* home: facts under the hero */
.facts-band { margin-top: -72px; position: relative; z-index: 3; padding: 0 0 8px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 28px 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.stat b small { font-size: .46em; letter-spacing: -0.01em; margin-left: 4px; color: var(--accent); }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* home: what it does */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.features .card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.features .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--accent); margin-bottom: 18px; }
.ico.h { background: var(--honey-soft); color: var(--honey-ink); }
.ico.g { background: var(--green-tint); color: var(--green-ink); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* home: you stay in charge */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.duo + .duo { margin-top: 88px; }
.duo.flip > :first-child { order: 2; }
.duo h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 12px; }
.duo p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.yes-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.yes-list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.yes-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167044' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; position: relative; }
.mock .mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mock .mh b { color: var(--ink); font-size: 16px; }
.illus { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--illus-ink); background: var(--soft); padding: 3px 9px; border-radius: 999px; }
.gap-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin-top: 8px; font-size: 14.5px; background: var(--field); }
.gap-row .q { flex: 1; min-width: 0; }
.gap-row .q small { display: block; color: var(--muted); font-size: 12.5px; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--honey-soft); color: var(--honey-ink); white-space: nowrap; }
.chip.blue { background: var(--brand-tint); color: var(--link); }
.chip.green { background: var(--green-tint); color: var(--green-ink); }
.handoff .row { display: flex; gap: 12px; align-items: flex-start; }
.handoff .av { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; }
.handoff .bubble { flex: 1; background: var(--soft); border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 14.5px; }
.handoff .bubble b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.handoff .reply { margin: 12px 0 0 50px; display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; font-size: 14px; color: var(--muted); }
.handoff .reply span { flex: 1; min-width: 0; }
.handoff .reply i { font-style: normal; background: var(--brand); color: #fff; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.chans { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* home: how it works */
.how-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.track { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.track h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.track > p { margin: 0 0 24px; color: var(--muted); font-size: 15.5px; }
.track ol { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; }
.track li { position: relative; padding: 0 0 22px 52px; counter-increment: s; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: var(--honey-soft); color: var(--honey-ink); }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 37px; bottom: 3px; width: 1.5px; background: repeating-linear-gradient(var(--line-strong) 0 4px, transparent 4px 8px); }
.track li b { display: block; font-size: 16px; }
.track li span { color: var(--muted); font-size: 15px; }
.track .foot { margin-top: auto; }
.codeline { display: flex; align-items: center; gap: 10px; background: var(--code-bg); color: #e3e9f7; border-radius: 14px; padding: 12px 12px 12px 16px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow: hidden; }
.codeline code { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.codeline .t { color: #8fb6ff; } .codeline .a { color: #ffcf86; } .codeline .s { color: #9be3b4; }
.codeline i { flex: none; font: 600 12px system-ui, sans-serif; font-style: normal; background: rgba(255,255,255,.12); padding: 5px 10px; border-radius: 8px; }
.toggle { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; background: var(--field); }
.toggle img { border-radius: 7px; }
.toggle span { flex: 1; font-weight: 600; }
.toggle i { width: 40px; height: 23px; border-radius: 999px; background: #1a7f4b; position: relative; flex: none; }
.toggle i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; }

/* home: pricing */
.price-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
/* monthly / yearly switch: the checked radio shows its prices; without CSS both show, each with its own unit */
.bill-pick { position: absolute; opacity: 0; pointer-events: none; }
.bill-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.bill-switch label { padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.bill-switch .bill-free { font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--honey-soft); border: 1px solid var(--honey-line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
#bill-m:checked ~ .bill-switch label[for="bill-m"], #bill-y:checked ~ .bill-switch label[for="bill-y"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
#bill-m:focus-visible ~ .bill-switch label[for="bill-m"], #bill-y:focus-visible ~ .bill-switch label[for="bill-y"] { outline: 2px solid var(--ink); outline-offset: 2px; }
#bill-m:checked ~ .price-cards .y, #bill-m:checked ~ .price-cards .y-note, #bill-y:checked ~ .price-cards .m { display: none; }
.price-cards .y-note { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.bill-note { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.price-cards .amt small { display: block; margin: 4px 0 0; }
.price-cards .p { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px 22px; display: flex; flex-direction: column; min-width: 0; }
.price-cards h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--muted); }
.price-cards .amt { font-size: clamp(32px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; margin: 10px 0 0; }
.price-cards .amt small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price-cards .count { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 15px; color: var(--muted); }
.price-cards .count b { display: block; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.price-cards .p.free { background: linear-gradient(170deg, var(--card) 30%, var(--honey-soft)); border-color: var(--honey-line); }
.price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.price-notes p { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.price-notes b { color: var(--ink); }

/* home: questions */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; align-items: start; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 650; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* call to action band */
.cta-band { padding: 0 16px 96px; }
.cta-night { max-width: 1240px; margin: 0 auto; padding: 60px 64px; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 44px; align-items: center; }
.cta-night h2 { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.03em; }
.cta-night p { margin: 0; color: var(--on-night-muted); font-size: 17px; }
.cta-night .pup { position: static; margin: 0; width: 112px; filter: drop-shadow(0 0 28px rgba(255,207,134,.35)); }

/* footer */
footer { background: var(--footer); color: var(--on-night-muted); padding: 40px 0 48px; font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
footer p { margin: 0; }
footer a { color: var(--on-night); margin-right: 20px; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* privacy and terms */
.doc { padding: 56px 24px 96px; max-width: 800px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 12px; }
.doc h2 { font-size: 21px; letter-spacing: -0.015em; margin: 40px 0 8px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--doc-ink); font-size: 16.5px; line-height: 1.7; }
.doc .updated { color: var(--muted); margin: 0 0 32px; display: inline-block; font-size: 14px; background: var(--soft); padding: 4px 12px; border-radius: 999px; }
.doc table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); }
.doc th, .doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--soft); font-weight: 650; }

/* language and theme switchers (header) */
.switch { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; }
details.langs { position: relative; }
details.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; color: var(--ink); }
details.langs summary::-webkit-details-marker { display: none; }
details.langs summary:hover, details.langs[open] summary { background: var(--soft); }
details.langs summary svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
details.langs ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 200px; max-height: 70vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
details.langs ul a { display: block; padding: 7px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
details.langs ul a:hover { background: var(--soft); }
details.langs ul a[aria-current] { font-weight: 700; background: var(--brand-tint); color: var(--link); }
.themes { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--soft); }
.themes button { width: 30px; height: 28px; border: 0; padding: 0; background: none; color: var(--muted); border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.themes button:hover { color: var(--ink); }
.themes button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.themes svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the one-time offer of the visitor's own language (English home page) */
.lang-offer { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; width: max-content; max-width: calc(100vw - 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px 12px 20px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-size: 15px; animation: rise .35s both; }
.lang-offer[hidden] { display: none; }
.lang-offer p { margin: 0; }
.lang-offer div { display: flex; gap: 8px; }
.btn.small { padding: 8px 16px; font-size: 14.5px; }
.lang-offer .btn.ghost { margin: 0; }

/* translated legal pages: the English text is the binding one */
.legal-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--honey-soft); border: 1px solid var(--honey-line); color: var(--ink); font-size: 15px; }
.doc .legal-note { color: var(--ink); font-size: 15px; }

/* long words (German, Russian …) wrap instead of pushing the layout wider */
h1, h2, h3, .card p, .track li span, .faq summary, .price-notes p, .stat span { overflow-wrap: break-word; hyphens: auto; }
/* dark: the night panels keep their depth with a faint rim and glow; buttons lose their light-paper shadows */
:root[data-theme="dark"] .night { box-shadow: inset 0 0 0 1px rgba(150,180,255,.12), 0 30px 80px -40px rgba(47,111,228,.45); }
:root[data-theme="dark"] .btn { box-shadow: none; }
:root[data-theme="dark"] .btn.honey { box-shadow: 0 10px 28px -12px rgba(242,168,59,.55); }
:root[data-theme="dark"] .stats { box-shadow: 0 24px 50px -30px rgba(0,0,0,.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .night { box-shadow: inset 0 0 0 1px rgba(150,180,255,.12), 0 30px 80px -40px rgba(47,111,228,.45); }
  :root:not([data-theme="light"]) .btn { box-shadow: none; }
  :root:not([data-theme="light"]) .btn.honey { box-shadow: 0 10px 28px -12px rgba(242,168,59,.55); }
  :root:not([data-theme="light"]) .stats { box-shadow: 0 24px 50px -30px rgba(0,0,0,.9); }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 60px 40px 120px; gap: 40px; }
  .scene { justify-self: start; }
  .features, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .price-cards .p { grid-column: span 2; } .price-cards .p:nth-child(n+4) { grid-column: span 3; }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-night { grid-template-columns: minmax(0, 1fr); padding: 48px 40px; gap: 22px; }
  .cta-night .pup { display: none; }
}
@media (max-width: 800px) {
  .how-cols, .faq, .price-notes, .duo { grid-template-columns: minmax(0, 1fr); }
  .duo { gap: 32px; } .duo + .duo { margin-top: 64px; }
  .duo.flip > :first-child { order: 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  header.top .wrap { height: 60px; }
  nav { gap: 0; }
  nav a { font-size: 14.5px; padding: 6px 9px; }
  nav a.pill { padding: 5px 13px; margin-left: 4px; }
  nav a:not(.pill):nth-child(1), nav a:not(.pill):nth-child(3) { display: none; }
  details.langs summary span { display: none; }
  details.langs summary { padding: 7px; }
  .switch { margin-left: 0; gap: 2px; }
  .themes button { width: 26px; height: 26px; }
  .lang-offer { left: 16px; right: 16px; transform: none; width: auto; top: 72px; bottom: auto; }   /* the bottom-right corner is the chat puppy's */
  .btn.ghost { margin: 10px 0 0; }
  .hero-band { padding: 4px 8px 0; }
  .night { border-radius: 24px; }
  .hero { padding: 44px 20px 104px; }
  .hero p.sub { font-size: 17px; margin-bottom: 28px; }
  .hero .actions .btn { width: 100%; }
  .moon { top: 20px; right: 20px; width: 36px; height: 36px; box-shadow: inset -9px 5px 0 0 #ffd99a; }
  .scene { padding-top: 63px; justify-self: stretch; max-width: none; }
  .pup { width: 112px; margin-left: -56px; }
  .chat .msgs { height: 372px; }
  section { padding: 68px 0; }
  p.lead { font-size: 16.5px; margin-bottom: 30px; }
  .stat { padding: 20px 18px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .price-cards { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-cards .p, .price-cards .p:nth-child(n+4) { grid-column: auto; } .price-cards .p.free { grid-column: 1 / -1; }
  .price-cards .p { padding: 20px 16px 18px; border-radius: 18px; }
  .price-cards h3 { font-size: 14px; overflow-wrap: normal; hyphens: auto; }
  .price-cards .amt { font-size: 32px; }
  .price-cards .amt small { display: block; font-size: 13.5px; margin: 2px 0 0; }
  .price-cards .count { margin-top: 12px; padding-top: 12px; font-size: 13.5px; }
  .price-cards .count b { font-size: 21px; }
  .track { padding: 24px 20px; }
  .mock { padding: 18px 16px; }
  .cta-band { padding: 0 8px 68px; }
  .cta-night { padding: 40px 22px; }
  .cta-night .btn { width: 100%; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  nav a:not(.pill):nth-child(2) { display: none; } .logo span { display: none; }
  .logo { font-size: 16px; gap: 8px; } nav a.pill { padding: 5px 11px; font-size: 14px; }
}
/* the smallest phones: the puppy icon stands for the name, so the switchers and Sign in always fit */
@media (max-width: 400px) { .logo { font-size: 0; gap: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── content pages: integrations, comparisons, use cases, guides (src/content.ts) ── */
.content { padding: 28px 0 88px; }
.content .wrap { max-width: 860px; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--link); text-decoration: underline; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 16px; }
.page-head .lead { font-size: 19px; color: var(--muted); margin: 0 0 18px; max-width: none; }
.page-head .meta { display: inline-block; margin: 0 0 8px; font-size: 13.5px; color: var(--muted); background: var(--soft); padding: 4px 12px; border-radius: 999px; }
.prose { margin-top: 18px; }
.prose h2 { font-size: clamp(23px, 2.6vw, 29px); line-height: 1.2; letter-spacing: -0.02em; margin: 52px 0 12px; scroll-margin-top: 84px; }
.prose p, .prose li { color: var(--doc-ink); font-size: 17px; line-height: 1.72; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; } .prose li { margin: 0 0 8px; }
.prose code { font: 14.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 22px; }
.steps-list li { counter-increment: s; position: relative; padding: 2px 0 14px 50px; margin: 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--honey-soft); color: var(--honey-ink); border: 1.5px solid var(--honey-line); font-weight: 750; font-size: 15px; }
.callout { background: var(--info-tint); border: 1px solid var(--info-line); border-radius: 14px; padding: 14px 18px; }
.prose p.callout { color: var(--ink); font-size: 16px; }
.table-scroll { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--doc-ink); }
.table-scroll thead th { background: var(--soft); color: var(--ink); font-weight: 700; }
.table-scroll tbody th { font-weight: 650; color: var(--ink); }
.table-scroll tr:last-child td, .table-scroll tr:last-child th { border-bottom: 0; }
.faq.one { grid-template-columns: minmax(0, 1fr); margin: 8px 0 24px; }
.faq.one details p { font-size: 16px; color: var(--doc-ink); }
.example { margin: 18px 0 26px; }
.example figcaption { font-size: 13px; font-weight: 650; color: var(--illus-ink); margin: 0 0 8px; }
.chat.static { box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px; background: var(--chat-log); display: flex; flex-direction: column; gap: 10px; }
.prose .chat.static .m { font-size: 15px; line-height: 1.5; margin: 0; color: #14213d; animation: none; }
.prose .chat.static .m.you { color: #fff; }
.code-fig { margin: 12px 0 22px; }
.code-fig .codeline code { white-space: normal; overflow-wrap: anywhere; }
.codeblock { margin: 0; background: var(--code-bg); color: #e3e9f7; border-radius: 14px; padding: 14px 16px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
.codeblock code, .code-fig .codeblock code { font: inherit !important; color: inherit !important; background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.prose .codeline code { background: none; border: 0; padding: 0; border-radius: 0; font-size: 13.5px; color: inherit; }
.code-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 40px 0; padding: 30px 32px; border-radius: 24px; background: var(--night); background-image: radial-gradient(circle at 85% 15%, var(--night-2), transparent 60%); color: var(--on-night); }
.cta-box h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.02em; color: var(--on-night); }
.prose .cta-box h2 { margin-top: 0; }
.cta-box p, .prose .cta-box p { margin: 0; color: var(--on-night-muted); font-size: 16px; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .btn.ghost { margin: 0; color: var(--on-night); border-color: rgba(255,255,255,.4); }
.cta-box .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hub-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.hub-card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hub-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.hub-card .ico { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 12px; }
.hub-card .ico svg { width: 19px; height: 19px; }
.hub-card b { display: block; font-size: 17px; line-height: 1.3; margin-bottom: 6px; letter-spacing: -0.01em; }
.hub-card span:last-child { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.sources, .related { padding: 0; margin-top: 44px; }
.sources h2, .related h2 { font-size: 21px; margin: 0 0 10px; letter-spacing: -0.015em; }
.sources p, .sources li { color: var(--muted); font-size: 15px; }
.sources ul { padding-left: 20px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 40px; }
.nf-links a { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--ghost-line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.nf-links a:hover { border-color: var(--ink); background: var(--soft); }
.guides-line { font-size: 14.5px; color: var(--muted); margin: -4px 0 18px; }

/* the website's footer with a column per section */
footer.site { padding: 56px 0 44px; }
footer.site .wrap { display: block; }
.foot-cols { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 28px 24px; align-items: start; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-cols h2 { font-size: 14px; letter-spacing: .02em; margin: 0 0 12px; color: var(--on-night); }
.foot-cols h2 a { margin: 0; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin: 0 0 8px; line-height: 1.4; }
footer.site .foot-cols a { margin: 0; color: var(--on-night-muted); }
footer.site .foot-cols a:hover { color: var(--on-night); }
footer.site .foot-cols h2 a { color: var(--on-night); }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.foot-end > p:first-child { display: flex; flex-wrap: wrap; gap: 6px 20px; max-width: 100%; } .foot-end > p:first-child a { margin-right: 0; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 800px) { nav a:not(.pill):nth-child(4) { display: none; } }
@media (max-width: 600px) {
  .content { padding: 18px 0 64px; }
  .page-head .lead { font-size: 17px; }
  .prose p, .prose li { font-size: 16.5px; }
  .hub-cards { grid-template-columns: minmax(0, 1fr); }
  .doc table { display: block; max-width: 100%; }
  .doc th, .doc td { padding: 9px 10px; font-size: 14px; }
  .table-scroll table { min-width: 0; }
  .table-scroll tbody th { min-width: 92px; overflow-wrap: normal; }
  .table-scroll th, .table-scroll td { padding: 9px 10px; font-size: 14px; overflow-wrap: anywhere; hyphens: auto; }
  .cta-box { padding: 26px 20px; }
  .cta-box .actions, .cta-box .btn { width: 100%; }
  .steps-list li { padding-left: 46px; }
  .foot-end { flex-direction: column; align-items: flex-start; }
}

/* the film (no words) under the hero */
.film-sec { padding-bottom: 40px; }
.film-sec .lead { max-width: 760px; }
.film { margin: 34px 0 0; position: relative; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--night); box-shadow: var(--shadow); border: 1px solid var(--line); }
.film.tall { max-width: 420px; margin-left: auto; margin-right: auto; }
.film.tall video { aspect-ratio: 9 / 16; }
.film-full { display: block; margin: 14px auto 0; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.film-full:hover { border-color: var(--brand); color: var(--link); }
.film-full[hidden] { display: none; }
@media (max-width: 600px) { .film-sec { padding-top: 64px; } .film { margin-top: 24px; } }
