:root {
    --primary: #5B4BDB;
    --primary-soft: #8B7CF6;
    --deep: #1E1B2E;
    --bg: #F7F7FB;
    --bg-alt: #EFEFFC;
    --text: #292734;
    --muted: #6F6B7A;
    --accent: #F05A7E;
    --white: #ffffff;
    --border: #deddec;
    --shadow: 0 18px 50px rgba(30, 27, 46, 0.09);
    --radius-lg: 28px;
    --radius-md: 18px;
    --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.72; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(91, 75, 219, 0.35); outline-offset: 3px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--deep); color: var(--white); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(222, 221, 236, 0.85); background: rgba(247, 247, 251, 0.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; min-width: max-content; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 1.18rem; letter-spacing: .03em; }
.brand small { color: var(--muted); margin-top: 4px; }
.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 650; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--bg-alt); color: var(--primary); }
.menu-toggle { display: none; border: 1px solid var(--border); background: var(--white); border-radius: 12px; padding: 10px 14px; font: inherit; }
.hero-section { padding: 70px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: 58px; align-items: center; }
.hero-copy h1, .page-hero h1 { color: var(--deep); margin: 10px 0 18px; font-size: clamp(2.55rem, 6vw, 5.4rem); line-height: 1.04; letter-spacing: -.045em; }
.hero-copy h1 { max-width: 10ch; }
.hero-lead, .page-hero p { font-size: 1.09rem; color: var(--muted); max-width: 62ch; }
.eyebrow { margin: 0; color: var(--primary); text-transform: uppercase; letter-spacing: .09em; font-size: .82rem; font-weight: 800; }
.hero-actions, .inline-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 14px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--primary); color: var(--white); box-shadow: 0 12px 28px rgba(91,75,219,.2); }
.button-primary:hover { transform: translateY(-1px); }
.button-secondary { background: var(--white); border: 1px solid var(--border); color: var(--deep); }
.hero-points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.hero-points li { position: relative; padding-left: 22px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: .65em; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: 34px; min-height: 430px; object-fit: cover; box-shadow: var(--shadow); }
.hero-media figcaption { position: absolute; right: 18px; bottom: 18px; background: rgba(30,27,46,.9); color: #fff; padding: 9px 12px; border-radius: 999px; font-size: .82rem; }
.section-block { padding: 74px 0; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading.compact { max-width: 670px; }
.section-heading h2, .content-band h2, .two-column-text h2, .media-note h2, .safe-note h2 { color: var(--deep); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; letter-spacing: -.025em; margin: 8px 0 12px; }
.section-heading p:last-child, .content-band p, .two-column-text p, .media-note p, .safe-note p { color: var(--muted); }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.entry-card { overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 10px 24px rgba(30,27,46,.05); }
.entry-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.entry-card__body { padding: 22px; }
.entry-card h3 { margin: 8px 0; font-size: 1.28rem; line-height: 1.25; }
.entry-card p { color: var(--muted); }
.text-link { color: var(--primary); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.content-band { padding: 64px 0; background: var(--bg-alt); border-block: 1px solid #e4e2f7; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-layout.align-start { align-items: start; }
.split-layout > img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.inline-links a { color: var(--primary); font-weight: 800; }
.topic-list { display: grid; gap: 18px; }
.topic-row { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--white); }
.topic-row img { width: 190px; height: 120px; object-fit: cover; border-radius: 14px; }
.topic-row h3 { margin: 0 0 6px; font-size: 1.24rem; }
.topic-row p { color: var(--muted); margin: 0; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag-list span { padding: 5px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--primary); font-size: .78rem; font-weight: 700; }
.section-action { margin-top: 28px; }
.muted-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding-inline: 34px; margin-bottom: 74px; box-shadow: 0 10px 28px rgba(30,27,46,.04); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: 15px; padding: 0 18px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 17px 28px 17px 0; font-weight: 800; position: relative; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; color: var(--primary); font-size: 1.3rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details div { padding: 0 0 18px; color: var(--muted); }
.breadcrumbs { width: min(calc(100% - 40px), var(--shell)); margin: 24px auto 0; }
.breadcrumbs ol { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #aaa7b9; }
.breadcrumbs a { color: var(--primary); }
.page-hero { padding: 58px 0 48px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: 54px; align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); max-width: 11ch; }
.page-hero img { border-radius: var(--radius-lg); width: 100%; max-height: 430px; object-fit: cover; box-shadow: var(--shadow); }
.two-column-text { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 42px; align-items: start; }
.info-card { background: var(--deep); color: var(--white); padding: 28px; border-radius: var(--radius-md); position: sticky; top: 104px; }
.info-card h2 { color: var(--white); font-size: 1.5rem; margin-top: 0; }
.info-card ul { padding-left: 20px; display: grid; gap: 12px; }
.info-card a { color: #fff; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact-grid article { background: var(--white); border: 1px solid #dddaf5; padding: 24px; border-radius: 16px; }
.fact-grid p { margin: 0; }
.media-note, .safe-note { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.media-note img, .safe-note img { width: 300px; height: 220px; object-fit: cover; border-radius: var(--radius-md); }
.story-stack { display: grid; gap: 58px; }
.story-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.story-panel.reverse img { order: 2; }
.story-panel img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-panel h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 12px; color: var(--deep); }
.story-panel p { color: var(--muted); }
.number-chip { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--primary); color: var(--white); font-weight: 900; }
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-cards a { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--border); background: var(--white); border-radius: 16px; text-decoration: none; }
.link-cards a:hover { border-color: var(--primary-soft); transform: translateY(-2px); }
.link-cards span { color: var(--muted); }
.video-index-row { display: grid; grid-template-columns: 58px 230px 1fr; gap: 24px; align-items: start; padding: 22px 0; border-top: 1px solid var(--border); }
.video-index-row:last-child { border-bottom: 1px solid var(--border); }
.video-index-number { font-size: 1.1rem; font-weight: 900; color: var(--primary-soft); padding-top: 8px; }
.video-index-row img { width: 230px; height: 150px; object-fit: cover; border-radius: 14px; }
.video-index-row h2 { margin: 0 0 8px; color: var(--deep); font-size: 1.45rem; }
.video-index-row p { color: var(--muted); margin-top: 0; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.editorial-grid article { background: rgba(255,255,255,.72); border: 1px solid #dddaf5; border-radius: 18px; padding: 24px; }
.editorial-grid h2 { font-size: 1.28rem; margin: 0 0 10px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.app-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; }
.app-card h2 { font-size: 1.35rem; margin: 18px 0 8px; }
.app-card p { color: var(--muted); }
.not-found { min-height: 62vh; padding: 100px 0; }
.not-found h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; margin: 12px 0 20px; }
.site-footer { margin-top: 40px; background: var(--deep); color: #d9d7e4; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 32px; align-items: start; }
.footer-brand { color: #fff; font-size: 1.5rem; font-weight: 900; margin: 0 0 8px; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer a { color: #fff; }
.footer-note { color: #aaa6bb; }
@media (max-width: 900px) {
    .menu-toggle { display: inline-flex; }
    .primary-nav { position: absolute; top: 70px; right: 20px; width: min(310px, calc(100vw - 40px)); display: none; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--border); background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
    .primary-nav.is-open { display: flex; }
    .hero-grid, .page-hero, .split-layout, .two-column-text, .story-panel { grid-template-columns: 1fr; }
    .hero-copy h1, .page-hero h1 { max-width: none; }
    .hero-media { max-width: 700px; }
    .entry-grid, .editorial-grid, .app-grid { grid-template-columns: 1fr 1fr; }
    .info-card { position: static; }
    .story-panel.reverse img { order: initial; }
    .video-index-row { grid-template-columns: 48px 180px 1fr; }
    .video-index-row img { width: 180px; height: 120px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .shell { width: min(calc(100% - 26px), var(--shell)); }
    .header-inner { min-height: 68px; }
    .brand small { display: none; }
    .hero-section { padding-top: 42px; }
    .hero-grid { gap: 34px; }
    .hero-media img { min-height: 290px; }
    .section-block { padding: 52px 0; }
    .entry-grid, .editorial-grid, .app-grid, .fact-grid, .link-cards { grid-template-columns: 1fr; }
    .topic-row { grid-template-columns: 110px 1fr; gap: 16px; }
    .topic-row img { width: 110px; height: 94px; }
    .media-note, .safe-note { grid-template-columns: 1fr; }
    .media-note img, .safe-note img { width: 100%; height: auto; max-height: 280px; }
    .video-index-row { grid-template-columns: 38px 1fr; }
    .video-index-row img { grid-column: 2; width: 100%; height: auto; aspect-ratio: 16/9; }
    .video-index-row > div:last-child { grid-column: 2; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .muted-panel { padding-inline: 20px; margin-inline: 13px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
