:root {
  --accent: #ffb326;
  --accent-2: #ff6547;
  --bg: #140b25;
  --paper: #fbf6eb;
  --ink: #1b1423;
  --muted: #5e5968;
  --line: rgba(27, 20, 35, .13);
  --white: #fff;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(5, 4, 12, .18);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 6%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 28rem),
    radial-gradient(circle at 4% 34%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 24rem),
    var(--bg);
  color: var(--white);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.2rem, 5vw, 4.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
ul { margin: .8rem 0 0; padding-left: 1.2rem; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 999; background: #fff; color: #111; padding: .8rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.top-ribbon { background: #0b0911; color: #efeaf7; font-size: .8rem; letter-spacing: .04em; }
.top-ribbon .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .48rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.09); }
.header-main { display: flex; align-items: center; gap: 1.1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 148px; }
.brand img { height: 38px; width: auto; max-width: 190px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.desktop-nav > a, .nav-group > summary { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem .7rem; border-radius: 999px; color: #f5f0fa; text-decoration: none; font-size: .91rem; font-weight: 650; cursor: pointer; }
.desktop-nav > a:hover, .nav-group > summary:hover, .desktop-nav [aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: '▾'; margin-left: .35rem; font-size: .7rem; color: var(--accent); }
.nav-menu { position: absolute; left: 0; top: calc(100% + .55rem); width: 250px; padding: .65rem; background: #fff; color: #18121f; border-radius: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.nav-menu a { padding: .58rem .68rem; border-radius: 10px; text-decoration: none; font-size: .86rem; }
.nav-menu a:hover { background: #f1edf5; }
.header-actions { display: flex; align-items: center; gap: .45rem; }
.lang-switch { display: flex; gap: .2rem; padding: .22rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.lang-switch a { color: #e7e0ef; text-decoration: none; font-size: .75rem; font-weight: 750; padding: .25rem .45rem; border-radius: 999px; }
.lang-switch a[aria-current="page"] { background: var(--accent); color: #17121e; }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .65rem 1.05rem; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .9rem; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #16111c; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.04); }
.btn-soft { border-color: color-mix(in srgb, var(--accent) 48%, transparent); color: #fff; background: color-mix(in srgb, var(--accent) 15%, transparent); }
.btn-dark { background: #19121f; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; margin-left: auto; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ''; display: block; width: 19px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 9px; }
.mobile-menu { display: none; padding: 0 0 1rem; }
.mobile-menu.is-open { display: block; }
.mobile-menu nav { display: grid; gap: .4rem; }
.mobile-menu a, .mobile-menu summary { padding: .7rem .8rem; border-radius: 12px; text-decoration: none; background: rgba(255,255,255,.06); font-weight: 700; }
.mobile-menu details div { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .45rem 0 0 .7rem; }
.mobile-menu details a { font-size: .86rem; font-weight: 600; }
.mobile-menu details summary { list-style: none; display: flex; align-items: center; gap: .55rem; cursor: pointer; }
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu details summary::after { content: ''; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 8px solid var(--accent); transform: rotate(0deg); transition: transform .2s ease; }
.mobile-menu details[open] summary::after { transform: rotate(-90deg); }
.mobile-menu .lang-mobile { display: flex; gap: .4rem; margin-top: .55rem; }

main { min-height: 70vh; }
.hero { padding: clamp(2rem, 5vw, 5rem) 0 2.2rem; }
.hero-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); align-items: center; gap: clamp(1.2rem, 4vw, 4rem); border: 1px solid rgba(255,255,255,.14); border-radius: 34px; padding: clamp(1.45rem, 4vw, 4rem); background: linear-gradient(120deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: 0 34px 100px rgba(0,0,0,.25); }
.hero-shell::before { content: ''; position: absolute; inset: auto -15% -55% 24%; height: 80%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; color: var(--accent); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.hero h1 { max-width: 13ch; }
.hero .lede { max-width: 655px; color: #ede7f3; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.hero-note { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1.1rem; color: #cfc6d8; font-size: .86rem; max-width: 610px; }
.hero-note svg { flex: 0 0 18px; margin-top: .2rem; color: var(--accent-2); }
.hero-media { position: relative; z-index: 1; min-height: 340px; }
.hero-media .hero-photo { width: 100%; height: clamp(340px, 40vw, 500px); object-fit: cover; border-radius: 26px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.hero-media .hero-photo.hero-brand { object-position: right center; }
.hero-media::after { content: ''; position: absolute; inset: auto 8% -8% 8%; height: 30%; background: var(--accent); filter: blur(58px); opacity: .2; z-index: -1; }
.floating-card { position: absolute; right: -1rem; bottom: 1.2rem; width: min(310px, 82%); padding: 1rem 1.1rem; border-radius: 18px; background: rgba(20,14,27,.9); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.floating-card strong { display: block; color: #fff; font-size: .98rem; }
.floating-card span { display: block; color: #d1c8da; font-size: .8rem; margin-top: .16rem; }
.layout-b .hero-shell { grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); }
.layout-b .hero-media .hero-photo { clip-path: polygon(8% 0, 100% 0, 100% 88%, 91% 100%, 0 100%, 0 11%); }
.layout-c .hero-shell { background: linear-gradient(140deg, color-mix(in srgb, var(--accent-2) 20%, transparent), color-mix(in srgb, var(--accent) 13%, transparent)); }
.layout-c .hero-media { min-height: 380px; }
.layout-c .hero-photo { transform: rotate(1.4deg); }
.hero.hero-square .hero-shell { grid-template-columns: minmax(0, .86fr) minmax(440px, 1.14fr); }
.hero.hero-square .hero-media { min-height: 0; width: 100%; }
.hero.hero-square .hero-media .hero-photo { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.fact-strip { padding: 0 0 1rem; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.fact { padding: 1rem 1.05rem; background: #fff; color: var(--ink); border-radius: 16px; border: 1px solid rgba(0,0,0,.04); }
.fact strong { display: block; font-size: .95rem; }
.fact span { display: block; color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.section { padding: clamp(2.5rem, 5vw, 4.6rem) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-heading p { max-width: 690px; color: #d4ccdc; }
.section-kicker { margin-bottom: .55rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.category-card, .info-card { overflow: hidden; border-radius: 19px; background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.04); box-shadow: 0 12px 38px rgba(0,0,0,.12); }
.category-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.category-card .card-body { padding: 1rem 1rem 1.1rem; }
.category-card h3 { margin-bottom: .38rem; }
.category-card p { color: var(--muted); font-size: .86rem; margin-bottom: .75rem; }
.category-card a, .text-link { color: #30213c; font-size: .83rem; font-weight: 850; text-decoration: none; }
.category-card a::after, .text-link::after { content: ' →'; }
.path-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.path-card, .guide-card { padding: 1.35rem; border-radius: 19px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14); }
.path-card .step, .guide-card .step { display: inline-grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--accent); color: #16111c; font-weight: 900; font-size: .75rem; margin-bottom: .8rem; }
.path-card p, .guide-card p { color: #d4cddd; font-size: .86rem; }
.split-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; align-items: stretch; }
.panel-dark { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; background: #fff; color: var(--ink); }
.panel-dark p, .panel-dark li { color: var(--muted); }
.panel-image { overflow: hidden; border-radius: 24px; min-height: 330px; }
.panel-image img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { display: grid; gap: .7rem; margin-top: 1.2rem; }
.mini-list div { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #faf8fc; }
.mini-list strong { display: block; color: var(--ink); font-size: .9rem; }
.mini-list span { display: block; color: var(--muted); font-size: .79rem; }
.faq-list { display: grid; gap: .7rem; }
.faq-list details { padding: 1rem 1.1rem; border-radius: 15px; background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.06); }
.faq-list summary { font-weight: 800; cursor: pointer; }
.faq-list p { color: var(--muted); margin: .65rem 0 0; font-size: .9rem; }
.breadcrumbs { padding-top: 1.2rem; color: #cfc5d7; font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .42rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .42rem; color: #8e829b; }
.breadcrumbs a { text-decoration: none; }
.inner-hero { padding: 1.4rem 0 2rem; }
.inner-hero .hero-shell { min-height: auto; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr); }
.inner-hero h1 { max-width: 15ch; }
.inner-hero .hero-photo { height: clamp(260px, 32vw, 390px); }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; }
.info-card { padding: 1.3rem; }
.info-card h3 { margin-bottom: .45rem; }
.info-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.article-panel { padding: clamp(1.2rem, 3vw, 2.4rem); border-radius: 24px; background: #fff; color: var(--ink); }
.article-panel + .article-panel { margin-top: 1rem; }
.article-panel h2 { margin-bottom: .8rem; }
.article-panel p, .article-panel li { color: #4f4858; }
.article-panel h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.card-index { display: inline-flex; color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .12em; margin-bottom: .55rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.gallery-grid figure { margin: 0; border-radius: 16px; overflow: hidden; background: #130d1b; }
.gallery-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-grid figcaption { padding: .55rem .75rem; color: #d8cfdf; font-size: .76rem; }
.source-strip { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.06); color: #d8d1df; font-size: .8rem; }
.related { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.related a { padding: .58rem .85rem; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); text-decoration: none; font-weight: 700; font-size: .82rem; }
.brand-screen-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); align-items: center; gap: clamp(1rem, 4vw, 3rem); padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: 26px; background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); border: 1px solid rgba(255,255,255,.15); }
.brand-screen-panel p { color: #d7d0df; max-width: 620px; }
.screen-meta { font-size: .78rem; color: #b8aec2 !important; }
.phone-shot { margin: 0; max-width: 390px; justify-self: end; border-radius: 26px; padding: 9px; background: #09070d; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 28px 70px rgba(0,0,0,.35); }
.phone-shot img { width: 100%; max-height: 640px; object-fit: contain; object-position: top; border-radius: 19px; background: #111; }
.source-section { padding: 0 0 clamp(2.5rem, 5vw, 4.5rem); }
.source-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 22px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent-2) 25%, #17111f), #17111f 62%); border: 1px solid rgba(255,255,255,.14); }
.source-box > div { max-width: 760px; }
.source-box p { color: #ded8e4; margin: 0; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 3rem 0; background: radial-gradient(circle at 80% 15%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 32rem), var(--bg); }
.error-page h1 { max-width: 12ch; }
.error-page p { color: #ded6e6; max-width: 620px; }
.site-footer { padding: 3.2rem 0 1.5rem; background: #0b0810; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .75fr); gap: 2rem; }
.footer-brand img { height: 34px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(1.2); }
.footer-brand p { color: #a99fb2; font-size: .82rem; margin-top: .8rem; max-width: 390px; }
.footer-col h3 { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; color: #f7f1fb; }
.footer-col a { display: block; color: #b7adbf; text-decoration: none; font-size: .82rem; padding-block: .19rem; }
.footer-col a:hover { color: #fff; }
.footer-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); color: #93899d; font-size: .76rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; color: #7e7487; font-size: .72rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .hero-shell, .layout-b .hero-shell, .inner-hero .hero-shell, .hero.hero-square .hero-shell, .split-panel { grid-template-columns: 1fr; }
  .hero h1, .inner-hero h1 { max-width: 18ch; }
  .hero-media { order: 2; }
  .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .brand-screen-panel { grid-template-columns: 1fr 280px; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .top-ribbon .wrap span:last-child { display: none; }
  .header-main { min-height: 66px; }
  .brand img { height: 31px; max-width: 150px; }
  .hero { padding-top: 1rem; }
  .hero-shell { border-radius: 24px; padding: 1.2rem; }
  .hero-media .hero-photo, .inner-hero .hero-photo { height: 280px; border-radius: 18px; }
  .floating-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: .7rem; }
  .category-grid, .guide-grid, .content-grid, .path-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: .3rem; }
  .brand-screen-panel { grid-template-columns: 1fr; }
  .phone-shot { justify-self: start; width: min(100%, 340px); }
  .source-box { display: block; }
  .source-box .btn { margin-top: 1rem; }
  .lang-switch { margin-left: auto; }
  .menu-toggle { margin-left: 0; flex: 0 0 44px; }
}
@media (max-width: 480px) {
  .category-grid, .path-grid, .content-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .fact-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .category-card .card-body { padding: .72rem; }
  .category-card p { font-size: .74rem; line-height: 1.45; }
  .hero-shell { padding: 1rem; }
  .hero h1 { font-size: clamp(1.95rem, 10.5vw, 2.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:root{--accent:#6fe7d8;--accent-2:#9b7bff;--bg:#151128;--paper:#f8f6ff;--ink:#17121d;--muted:#4f4858;--line:rgba(18,12,24,.13)}
body{background:radial-gradient(circle at 92% 4%,color-mix(in srgb,var(--accent) 24%,transparent),transparent 30rem),radial-gradient(circle at 0 36%,color-mix(in srgb,var(--accent-2) 15%,transparent),transparent 26rem),var(--bg)}
.hero-shell{background-image:linear-gradient(90deg,rgba(9,7,15,.9),rgba(9,7,15,.35)),var(--hero-surface);--hero-surface:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.02))}
.brand img,.footer-brand img{background:#fff;padding:4px 8px;border-radius:8px}
@media(max-width:480px){.category-grid,.path-grid,.content-grid,.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.category-card .card-body{padding:.72rem}.category-card h3{font-size:1rem}.category-card p{font-size:.74rem;line-height:1.45}.path-card,.info-card{padding:.8rem}.path-card p,.info-card p{font-size:.76rem}.hero-actions .btn{min-width:0;padding-inline:.7rem}}
