/* Layout: FPT Digital-style corporate landing — navy menu bar, light tabbed hero, numbered overview,
   company panel, one continuous gradient band for the khối rails + Nhuận bút, AI, operating model,
   strengths, client logo strip, đề án advisory + CTA panel, footer.
   Light theme only; tinted areas always fade in and out of white so sections never change color abruptly. */
:root {
  color-scheme: light;
  --navy: #141A3F;
  --on-navy: #F1F2FA;
  --on-navy-muted: #B4B8D4;
  --crimson: #A8284A;
  --pink: #F0708F;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --text: #191B2E;
  --muted: #5B5E73;
  --line: #E4E2EB;
  --tint-a: #FAEEF2;
  --tint-b: #EEF0FB;
  --tint-c: #E8F4F0;
  --grad-brand: linear-gradient(120deg, #A8284A 0%, #7A2E86 55%, #3A3FA0 100%);
  --grad-dark: linear-gradient(135deg, #141A3F 0%, #2A2366 55%, #5A1F4E 100%);
  --grad-nav: linear-gradient(90deg, #141A3F, #2A2366);
  --grad-hero: radial-gradient(55% 80% at 88% 8%, #F9DCE7 0%, transparent 60%), radial-gradient(50% 70% at 5% 95%, #E3E6FF 0%, transparent 60%), linear-gradient(180deg, #F6F4FB 0%, #FFFFFF 100%);
  --grad-flow: linear-gradient(180deg, #FFFFFF 0%, #F5F2FB 20%, #FAF1F6 80%, #FFFFFF 100%);
  /* one band for Khối A → B → C → Nhuận bút: rose → indigo → mint → peach, fading from and back to white */
  --grad-solutions: linear-gradient(180deg, #FFFFFF 0%, #FBEEF3 9%, #F3EDFB 26%, #ECF0FD 42%, #E6F3F6 58%, #E9F5EF 68%, #FCF1EA 84%, #FFFFFF 100%);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(64px, 8vw, 112px); }
.flow { background: var(--grad-flow); }
.label { color: var(--crimson); font-weight: 600; font-size: .9375rem; }
.display { font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: 1.0625rem; max-width: 62ch; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--grad-nav); color: var(--on-navy); padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; height: var(--nav-h); gap: 32px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.1875rem; letter-spacing: -.01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 2px; flex: none; }
.menu { display: flex; gap: 2px; margin-inline-start: 8px; flex: 1; }
.menu a { text-decoration: none; font-size: .9375rem; color: var(--on-navy-muted); padding: 8px 11px; border-radius: 6px; white-space: nowrap; }
.menu a:hover { color: var(--on-navy); }
.nav-cta { align-self: stretch; display: flex; align-items: center; padding-inline: 24px; background: var(--grad-brand); color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--on-navy); cursor: pointer; }
@media (max-width: 1100px) {
  .nav .wrap { gap: 12px; }
  .nav-toggle { display: grid; margin-inline-start: auto; }
  .nav-cta { padding-inline: 16px; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column;
    background: #1D1F4C; padding: 8px var(--gutter) 16px; border-top: 1px solid rgba(255,255,255,.08); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; font-size: 1rem; }
}

.lang { align-self: center; font-weight: 700; font-size: .875rem; color: var(--on-navy); text-decoration: none; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; }
.lang:hover { border-color: var(--on-navy); }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(32px, 5vw, 64px)); overflow: hidden; }
.hero .wrap { max-width: 1320px; }
.product-name { font-size: .9375rem; font-weight: 500; color: var(--muted); max-width: 52ch; line-height: 1.5; }
.hero-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: 28px clamp(40px, 5vw, 64px); }
.hero-panel h2 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--navy);
  background: linear-gradient(100deg, #141A3F 35%, #7A2E86 75%, #A8284A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-panel p { color: var(--muted); font-size: 1.0625rem; margin-top: 20px; max-width: 46ch; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; text-decoration: none; }
.more .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; }
.more .dot svg { width: 12px; height: 12px; }
.more:hover { color: var(--crimson); }
.frame { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 28px 56px -28px rgba(20, 26, 63, .4); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; background: #ECEBF2; color: #6A6C7E; font-size: .8125rem; }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D3D1DC; }
.frame-bar span { margin-inline-start: 8px; }
.frame img { width: 100%; aspect-ratio: 1543 / 784; object-fit: cover; object-position: top left; }
@media (prefers-reduced-motion: no-preference) {
  .hero-panel:not([hidden]) .copy { animation: rise .6s ease both; }
  .hero-panel:not([hidden]) .frame { animation: rise .7s .08s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
.tab { display: grid; gap: 12px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); }
.tab .bar { height: 2px; background: #D9D7E3; overflow: hidden; }
.tab .bar i { display: block; height: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; }
.tab[aria-selected="true"] { color: var(--navy); }
.tab[aria-selected="true"] .bar i { transform: scaleX(1); }
.hero.auto .tab[aria-selected="true"] .bar i { animation: fill 8s linear both; }
.hero.auto:hover .tab .bar i, .hero.auto:focus-within .tab .bar i { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tab .lbl { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; }
.tab .lbl svg { width: 20px; height: 20px; flex: none; opacity: .7; }
.tab:hover { color: var(--navy); }
@media (max-width: 960px) {
  .hero-panel { grid-template-columns: minmax(0, 1fr); }
  .tabs { display: flex; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .tab { flex: 0 0 auto; min-width: 180px; }
}

/* ---------- Overview ---------- */
.overview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.steps li { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.steps .n { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.steps p { color: var(--muted); font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; color: var(--text); }
.chip.a { background: var(--tint-a); } .chip.b { background: var(--tint-b); } .chip.c { background: var(--tint-c); }
.about { display: grid; gap: 28px; align-content: start; }
.about h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.about p { color: var(--muted); }
.about p + p { margin-top: 10px; }
@media (max-width: 960px) { .overview { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Company ---------- */
.co { position: relative; overflow: hidden; background: var(--grad-dark); color: var(--on-navy); border-radius: 20px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
.co::before { content: ""; position: absolute; right: -15%; bottom: -60%; width: 65%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240, 112, 143, .35), transparent); pointer-events: none; }
.co > * { position: relative; }
.co .label { color: var(--pink); }
.co h2 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 12px;
  color: #fff; background: linear-gradient(90deg, #FFFFFF 45%, #F4A9BE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.co .legal { font-size: 1.0625rem; font-weight: 500; margin-top: 6px; }
.co .body { color: var(--on-navy-muted); margin-top: 18px; max-width: 60ch; }
.mission { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 24px; align-self: start; }
.mission h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.mission p { color: var(--on-navy-muted); }
@media (max-width: 900px) { .co { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Solutions: one continuous gradient band ---------- */
.solutions { background: var(--grad-solutions); }
.khoi { padding-block: clamp(48px, 6vw, 80px); }
.khoi-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 28px; }
.khoi-head > div:not(.ctrl) { display: grid; gap: 10px; max-width: 720px; min-width: 0; }
.which { font-weight: 700; font-size: .9375rem; color: var(--crimson); }
.khoi-head h3 { font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.khoi-head p { color: var(--muted); }
.ctrl { display: flex; gap: 8px; }
.ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; }
.ctrl button:hover:not(:disabled) { border-color: var(--text); }
.ctrl button:disabled { opacity: .35; cursor: default; }
.ctrl svg { width: 18px; height: 18px; }
.rail { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.rail li { scroll-snap-align: start; display: flex; }
.card { position: relative; display: flex; flex-direction: column; width: 100%; min-height: 400px; text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 0; overflow: hidden; }
.card:hover { border-color: var(--crimson); }
.card .tag { font-size: .8125rem; color: var(--muted); }
.card .title { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin: 6px 0 8px; }
.card .desc { font-size: .875rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .shot { margin: auto -20px 0 0; padding-top: 18px; }
.card .shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 22% 0; border-top-left-radius: 10px;
  border: 1px solid var(--line); border-right: 0; border-bottom: 0; background: #fff; }
.card .go { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; box-shadow: 0 0 0 4px var(--card); }
.card .go svg { width: 16px; height: 16px; }
.card:hover .go { background: var(--grad-brand); }
.royal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-bottom: 40px; }
.royal > div { background: var(--card); border-radius: 16px; padding: clamp(24px, 3vw, 36px); min-width: 0; }
.royal h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 18px; }
.flowlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: f; }
.flowlist li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; counter-increment: f; }
.flowlist li::before { content: counter(f); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-brand);
  color: #fff; font-weight: 700; font-size: .875rem; display: grid; place-items: center; }
.flowlist strong { font-weight: 600; }
.flowlist span { color: var(--muted); font-size: .9375rem; }
.gains { list-style: none; margin: 0; padding: 0; display: grid; }
.gains li { padding-block: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.gains li:first-child { border-top: 0; padding-top: 0; }
.gains b { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.gains span { color: var(--muted); font-size: .9375rem; }
.rail-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.rail-bar h4 { font-size: 1.125rem; font-weight: 700; }
@media (max-width: 900px) { .royal { grid-template-columns: minmax(0, 1fr); } }

/* ---------- AI ---------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.ai-cards { list-style: none; margin: 40px 0 0; padding: 0 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ai-cards li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.ai-cards li:nth-child(even) { transform: translateY(40px); }
.ai-cards .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.ai-cards svg { width: 24px; height: 24px; }
.ai-cards h3 { font-size: 1.125rem; font-weight: 600; margin-top: 6px; }
.ai-cards p { color: var(--muted); font-size: .9375rem; }
.ai-side { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 20px; }
.guard { border-left: 2px solid var(--crimson); padding-left: 16px; color: var(--muted); font-size: .9375rem; }
.guard strong { color: var(--text); font-weight: 600; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } .ai-side { position: static; } }
@media (max-width: 560px) { .ai-cards { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; } .ai-cards li:nth-child(even) { transform: none; } }

/* ---------- Model ---------- */
.diagram { display: block; width: 100%; padding: clamp(12px, 2vw, 24px); background: var(--grad-dark); border: 0; border-radius: 10px; cursor: zoom-in; position: relative; }
.diagram img { width: 100%; border-radius: 6px; }
.diagram .hint { position: absolute; right: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 36px); background: rgba(10, 13, 36, .8); color: #fff; font-size: .8125rem; padding: 6px 12px; border-radius: 999px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
.split h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.split p { color: var(--muted); }
.split p + p { margin-top: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Strengths bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.bento > article { border-radius: 16px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.bento .tall { grid-row: span 3; background: linear-gradient(135deg, #FDEEF3, #F2ECFB); }
.bento .t-b { background: linear-gradient(135deg, #ECEFFD, #E6F2FB); } .bento .t-c { background: linear-gradient(135deg, #E6F5EF, #EAF1FB); }
.bento .t-d { background: var(--card); border: 1px solid var(--line); }
.bento h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; }
.bento article > p { color: var(--muted); }
.kinds { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.kinds li { background: var(--card); border-radius: 10px; padding: 14px 18px; display: grid; gap: 2px; }
.kinds strong { font-weight: 600; }
.kinds span { color: var(--muted); font-size: .875rem; }
@media (max-width: 860px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento .tall { grid-row: auto; } }

/* ---------- Clients: auto-sliding logo strip ---------- */
.marquee { overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 16px; width: max-content; list-style: none; margin: 0; padding: 0; animation: slide 45s linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
.logo { flex: none; width: 260px; display: grid; gap: 10px; align-content: start; }
.logo .box { height: 128px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 20px 24px; }
.logo .box img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.logo .box img.round { height: 88px; }
.logo.qt .box { background: #007B73; border-color: #007B73; }
.logo small { color: var(--muted); font-size: .8125rem; text-align: center; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; } .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .track [aria-hidden="true"] { display: none; }
}

/* ---------- Đề án advisory + CTA panel ---------- */
.advise { list-style: none; margin: 0 0 clamp(40px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: a; }
.advise li { counter-increment: a; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 6px; align-content: start; background: #fff; }
.advise li::before { content: counter(a, decimal-leading-zero); font-weight: 800; font-size: .875rem; font-variant-numeric: tabular-nums; width: fit-content;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.advise h3 { font-size: 1.0625rem; font-weight: 700; }
.advise p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .advise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .advise { grid-template-columns: minmax(0, 1fr); } }
.cta { position: relative; overflow: hidden; background: var(--grad-dark); color: var(--on-navy); border-radius: 20px; padding: clamp(32px, 5vw, 64px); }
.cta .mark { position: absolute; right: -4%; top: 50%; width: min(36vw, 380px); transform: translateY(-50%); opacity: .9; pointer-events: none; }
.cta .inner { position: relative; max-width: 620px; display: grid; gap: 16px; }
.cta .label { color: var(--pink); }
.cta h2 { color: #fff; }
.cta p { color: var(--on-navy-muted); font-size: 1.0625rem; }
.mailrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.mail { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 12px 16px; font-weight: 600; user-select: all; }
.btn { border: 0; border-radius: 8px; min-height: 48px; padding: 0 20px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn.primary { background: var(--grad-brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--on-navy); border: 1px solid rgba(255, 255, 255, .35); }
.btn.ghost:hover { border-color: var(--on-navy); }
@media (max-width: 760px) { .cta .mark { opacity: .18; right: -25%; width: 80vw; } }

/* ---------- Footer ---------- */
footer { padding-block: 48px 32px; }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.foot .brand { color: var(--text); margin-bottom: 14px; }
.foot .brand .mark { padding: 0; }
.foot address { font-style: normal; color: var(--muted); font-size: .9375rem; display: grid; gap: 6px; max-width: 48ch; }
.foot address b { color: var(--text); font-weight: 600; }
.foot h4 { font-size: .9375rem; font-weight: 600; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.foot ul a:hover { color: var(--text); }
.copy-line { margin-top: 32px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- Viewer dialog ---------- */
dialog { border: 0; padding: 0; border-radius: 14px; width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--card); color: var(--text); overflow: auto; }
dialog::backdrop { background: rgba(8, 10, 28, .72); }
.viewer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.viewer.wide { grid-template-columns: minmax(0, 1fr); }
.viewer figure { margin: 0; background: #F5F4F9; display: grid; place-items: center; padding: 16px; }
.viewer figure img { border-radius: 8px; border: 1px solid var(--line); }
.viewer .txt { padding: 28px 28px 32px; display: grid; gap: 12px; align-content: start; position: relative; }
.viewer.wide .txt { padding-top: 20px; }
.viewer .tag { font-size: .8125rem; font-weight: 600; color: var(--crimson); }
.viewer h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; padding-right: 40px; }
.viewer p { color: var(--muted); }
.viewer ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: .9375rem; }
.x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; }
.x svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .viewer { grid-template-columns: minmax(0, 1fr); } }

/* ---------- AI spotlight (EN page): Agent, RAG, personal style ---------- */
.spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(48px, 6vw, 72px); }
.spot { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.spot .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.spot .ic svg { width: 28px; height: 28px; }
.spot .kicker { font-size: .8125rem; font-weight: 700; color: var(--crimson); margin-top: 6px; }
.spot h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.spot > p { color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.checks li::before { content: "✓"; color: var(--crimson); font-weight: 800; }
@media (max-width: 900px) { .spots { grid-template-columns: minmax(0, 1fr); } }

