/* Globa — main stylesheet */

:root {
	--ink: #1d1d1b;
	--ink-2: #2e3136;
	--ink-3: #3a3d42;
	--mute: #5e636a;
	--mute-2: #7a8089;
	--mute-dark: #9a9fa6;
	--line: #c8ccd1;
	--line-2: #d8dbdf;
	--chrome: #f1f2f4;
	--cream: #f6f4ef;
	--yellow: #f2b705;
	--blue: #2f6fb3;
	--green: #3f9b6b;
	--pink: #e86a92;
	--purple: #7b5ea7;
	--pill: linear-gradient(180deg, #fbfbfc, #e8eaed);
	--pill-2: linear-gradient(180deg, #ffffff, #e8eaed);
	--steel: linear-gradient(160deg, #8a9098, #5f656d);
	--font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--gx: clamp(16px, 3vw, 40px);
	--sy: clamp(80px, 9vw, 110px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #e4e6e9; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--mute); }
button { font: inherit; color: inherit; }
.hide { display: none !important; } /* required by tay show()/hide() */
.mono { font-family: var(--mono); }
.center { text-align: center; }
.small { font-size: 11px; }
.muted-dark { color: var(--mute-dark); }
.wrap-x { padding-left: var(--gx); padding-right: var(--gx); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 999px; background: #fff; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot--lg { width: 10px; height: 10px; }
.arrow { width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: -2px; }

@keyframes gl-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes gl-req { 0% { left: 0; } 45% { left: 42%; } 55% { left: 42%; } 100% { left: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--chrome); border-bottom: 1px solid var(--line-2); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__bar { max-width: calc(1200px + 2 * var(--gx)); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }

.site-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.site-logo:hover { color: var(--ink); }
.site-logo .logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.site-logo__text { font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.site-logo__img { display: block; max-height: 36px; width: auto; }

.site-nav { justify-self: center; min-width: 0; }
.site-nav__list { list-style: none; margin: 0; padding: 5px; display: flex; gap: 2px; }
.site-nav__list > li { position: relative; }
.site-nav__list a { display: flex; align-items: center; gap: 8px; padding: 9px clamp(10px, 1.4vw, 18px); border-radius: 999px; font-size: 15px; white-space: nowrap; }
.site-nav__list > li > a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mute-2); opacity: 0; transition: opacity .2s; }
.site-nav__list > li > a:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.site-nav__list > .current-menu-item > a,
.site-nav__list > .current-menu-ancestor > a { background: #fff; }
.site-nav__list > .current-menu-item > a::before,
.site-nav__list > .current-menu-ancestor > a::before { opacity: 1; }
.site-nav .menu-item-has-children > a::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 2px; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; top: calc(100% + 6px); min-width: 220px; border-radius: 18px; background: linear-gradient(180deg, #fbfbfc, #eceef0); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10; }
.site-nav .sub-menu a { border-radius: 12px; padding: 10px 12px; }
.site-nav .sub-menu a:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.btn-pill { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 16px; border-radius: 999px; cursor: pointer; font-size: 15px; white-space: nowrap; color: var(--ink); background: var(--pill); border: 1px solid var(--line); }
.lang { position: relative; }
.lang__code { font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.chevron { width: 5px; height: 5px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); margin: 0 4px 2px; transition: transform .2s; }
.lang.is-open .chevron { transform: rotate(-135deg) translate(-2px, -2px); }
.lang__menu { list-style: none; margin: 0; position: absolute; right: 0; top: 54px; z-index: 10; width: 200px; padding: 6px; border-radius: 18px; background: linear-gradient(180deg, #fbfbfc, #eceef0); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.lang__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.lang__item:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.lang__item.is-current { background: rgba(0, 0, 0, .04); }
.lang__item-code { width: 26px; font-size: 12px; letter-spacing: .12em; color: var(--mute); }
.lang__item-name { flex: 1; }
.lang__item .dot { background: var(--mute-2); opacity: 0; }
.lang__item.is-current .dot { opacity: 1; }

.btn-cta { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 7px 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; background: var(--pill-2); border: 1px solid var(--line); }
.btn-cta:hover { color: var(--ink); background: #fff; }
.btn-cta__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--steel); display: grid; place-items: center; color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--pill); cursor: pointer; place-items: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s, background .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1100px) {
	.site-header__bar { grid-template-columns: auto 1fr; }
	.site-header__actions { justify-self: end; }
	.nav-toggle { display: grid; }
	.site-nav { display: none; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
	.nav-open .site-nav { display: block; }
	.site-nav__list { flex-direction: column; padding: 4px 0 8px; }
	.site-nav__list a { padding: 12px 14px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.site-nav .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 560px) {
	.btn-cta__label { display: none; }
	.btn-cta { padding: 0 6px; }
	.site-logo__text { font-size: 19px; }
	.site-logo .logo-mark { width: 28px; height: 28px; }
}

/* ---------- Sections (shared) ---------- */
.sec { padding-top: var(--sy); padding-bottom: var(--sy); }
.sec__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.sec__inner--narrow { max-width: 880px; }
.sec__inner--mid { max-width: 960px; gap: 48px; }
.sec__head { display: flex; flex-direction: column; gap: 14px; text-align: center; max-width: 820px; margin: 0 auto; }
.h2 { margin: 0; font-size: clamp(34px, 4.5vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.h2--xl { font-size: clamp(34px, 4.5vw, 56px); }
.h2--md { font-size: clamp(34px, 4vw, 48px); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.sec__lead { margin: 0 auto; max-width: 620px; font-size: 18px; line-height: 1.5; color: var(--mute); }
.sec__lead--dark { font-size: 19px; color: var(--mute-dark); }
.sec--proof { background: #dde8f4; }
.sec--dark { background: #0c0d0f; color: #f4f5f6; }
.sec--yellow { background: #fbefc4; }
.sec--black { background: #111214; color: #fff; }
.sec--green { background: #e2f0e7; }
.sec--cream { background: var(--cream); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }

/* Scroll reveal (JS adds .reveal, then .is-in) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(32px, 4vw, 48px); overflow: hidden; }
.hero__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
/* Text left, globe + locations right; together with the platform strip it fits one screen. */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero__title { margin: 0; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.hero__lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ink-2); text-wrap: pretty; }
.hero__map { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }

/* Globe height follows the viewport so text, globe, locations and platforms fit above the fold. */
.globe { position: relative; width: min(100%, 560px, max(260px, calc(100svh - 510px))); aspect-ratio: 1; }
.globe__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.globe__stats { position: absolute; left: 0; bottom: 2%; display: flex; gap: 20px; pointer-events: none; }
.globe__stats > div { display: flex; flex-direction: column; gap: 4px; }
.globe__num { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1; }
.globe__lbl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.globe__hint { position: absolute; right: 0; bottom: 2%; font-size: 10px; letter-spacing: .08em; color: var(--mute); }

.locs { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.locs__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; align-items: center; }
.chip { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid #dcd9d1; background: rgba(255, 255, 255, .6); font-size: 12px; color: var(--ink); cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.chip .dot { width: 6px; height: 6px; }
.chip.is-hover { color: var(--purple); background: #fff; }
.chip[aria-pressed="true"] { color: var(--purple); background: #fff; border-color: var(--purple); }
.globe__tip { position: absolute; left: 0; top: 0; z-index: 2; translate: -50% calc(-100% - 16px); pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(29, 29, 27, .14); font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.globe__tip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tc, var(--purple)); }
.globe__tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; margin-left: -4px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.locs__sep { width: 1px; height: 18px; background: #d8d6cf; margin: 0 4px; }
.locs__note { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 12px; color: var(--mute); }

/* Platform picker: full content width at the bottom of the hero, two large logo tiles. */
.platforms { display: flex; flex-direction: column; gap: 14px; }
.platforms__title { margin: 0; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); text-align: center; }
.platforms__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.platform { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 22px); min-height: 104px; padding: 20px 24px; border-radius: 24px; background: #fff; border: 2px solid #e3e0d8; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.platform:hover, .platform:focus-visible { color: var(--ink); border-color: var(--pc); box-shadow: 0 10px 28px rgba(29, 29, 27, .08); transform: translateY(-2px); }
.platform__logo { width: clamp(40px, 4vw, 56px); height: clamp(40px, 4vw, 56px); flex-shrink: 0; color: var(--pc); }
.platform__name { font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }

/* Tablet/mobile: text, globe, locations, platforms stacked. */
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.globe { width: min(100%, 520px); }
}
@media (max-width: 480px) {
	.platform { flex-direction: column; gap: 10px; min-height: 0; padding: 20px 12px; text-align: center; }
	.platform__name { font-size: 18px; }
}

/* ---------- Proof / race ---------- */
.race { border-radius: 24px; padding: 28px 32px; background: #fff; border: 1px solid #c3d3e6; display: flex; flex-direction: column; gap: 20px; }
.race__row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 56px minmax(0, 1fr) 52px; gap: 14px; align-items: center; font-size: 13px; }
.race__city { color: var(--mute); }
.race__track { height: 12px; border-radius: 6px; background: #e6edf5; overflow: hidden; }
.race__bar { height: 100%; width: 0; border-radius: 6px; transition-property: width; transition-timing-function: linear; }
.race__bar--o { background: #b0b4ba; }
.race__bar--e { background: linear-gradient(90deg, #3f9b6b, #2f8a5c); }
.race__val { text-align: right; color: var(--mute-2); }
.race__val--e { font-weight: 700; color: var(--ink); }
.race__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.race__note { flex: 1; min-width: 240px; font-size: 12px; color: var(--mute); }
.race__link { font-size: 13px; font-weight: 500; }
.btn-small { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; cursor: pointer; background: var(--pill-2); border: 1px solid var(--line); }
@media (max-width: 600px) {
	.race { padding: 20px; }
	.race__row { grid-template-columns: 1fr 44px; gap: 6px 10px; }
	.race__city { grid-column: 1 / -1; }
}

/* ---------- How it works ---------- */
.flow { border-radius: 32px; padding: clamp(24px, 4vw, 48px); background: #18191c; border: 1px solid #2c2e33; display: flex; flex-direction: column; gap: 24px; }
.flow__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; align-items: stretch; }
.flow__end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; border-radius: 18px; border: 1px dashed #44474d; text-align: center; }
.flow__icon { width: 44px; height: 44px; border-radius: 50%; background: #2a2c30; border: 1px solid var(--ink-3); margin-bottom: 6px; }
.flow__icon--sq { border-radius: 12px; }
.flow__name { font-size: 16px; font-weight: 500; }
.flow__sub { font-size: 13px; color: var(--mute-dark); }
.flow__layer { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, #2f6fb3, #7b5ea7); color: #fff; }
@media (max-width: 720px) { .flow__layer { grid-column: auto; } }
.flow__layer-title { font-size: 16px; font-weight: 500; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; cursor: pointer; color: var(--ink); background: #eceef0; border: 0; text-align: left; transition: background .2s; }
.tile.is-open { background: linear-gradient(180deg, #fff, var(--chrome)); }
.tile__name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.tile__name .dot { width: 10px; height: 10px; }
.tile__line, .tile__more { font-size: 12px; line-height: 1.45; color: #4a4f56; }
.tile__more, .tile.is-open .tile__line { display: none; }
.tile.is-open .tile__more { display: block; }
.flow__req { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--mute-dark); }
.flow__line { position: relative; flex: 1; height: 2px; border-radius: 1px; background: var(--ink-3); }
.flow__dot { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: gl-req 2.6s ease-in-out infinite; }

/* ---------- Phases / phone ---------- */
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px; align-items: start; }
.phases__list { display: flex; flex-direction: column; gap: 8px; }
.phase { display: block; width: 100%; padding: 18px 20px; border-radius: 16px; cursor: pointer; text-align: left; background: transparent; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.phase.is-active { background: linear-gradient(180deg, #fff, var(--chrome)); border-color: var(--line); }
.phase__title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.phase__tag { font-size: 11px; color: var(--mute); font-weight: 400; }
.phase__body { display: block; font-size: 14px; line-height: 1.5; color: var(--mute); }
.phases__note { margin: 18px 0 0 20px; font-size: 14px; color: var(--mute); }
.phone { max-width: 300px; width: 100%; justify-self: center; padding: 18px 14px; border-radius: 32px; background: linear-gradient(180deg, #fff, var(--chrome)); border: 1px solid var(--line); }
.phone__top { display: flex; justify-content: space-between; padding: 0 6px 10px; font-size: 10px; color: var(--mute); }
.phone__img { height: 170px; border-radius: 16px; transition: all .3s; background: linear-gradient(160deg, #e6e7ea, #b9bdc3); border: 1px solid transparent; }
[data-phase="1"] .phone__img { background: #f7f8f9; border: 1px dashed var(--line); }
.phone__name { margin: 12px 6px 2px; font-size: 15px; font-weight: 500; }
.phone__price { margin: 0 6px 12px; font-size: 12px; color: var(--mute); }
.phone__btn { display: block; width: 100%; min-height: 44px; border: none; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; color: #fff; background: #3f444b; }
.phone__btn.is-added { background: var(--green); }
.phone__btn.is-shake { animation: gl-shake .3s; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.stat { padding: 44px 32px; border-radius: 24px; }
.stat__num { font-size: 72px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); white-space: nowrap; }
.stat__num--sm { font-size: 52px; line-height: 72px; }
.stat__text { margin: 18px auto 0; max-width: 260px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Results / FAQ ---------- */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.result { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid #c4dccd; }
.result__name { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.result__metric { font-size: 24px; }
.result__metric s { color: #8a9098; }
.result__metric strong { color: #2f7d55; }
.result__metric span { font-size: 12px; color: var(--mute); }
.result__note { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding-bottom: 44px; border-bottom: 1px solid #c4dccd; font-size: 12px; color: var(--mute); }
.faq { width: 100%; max-width: 720px; margin: 24px auto 0; }
.faq__title { margin: 0 0 12px; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.faq__item { border-top: 1px solid #c4dccd; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 16px; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { font-weight: 500; }
.faq__mark { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--pill-2); border: 1px solid var(--line); }
.faq__mark::before { content: "+"; }
.faq__item[open] .faq__mark::before { content: "\2212"; }
.faq__item p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--mute); }

/* ---------- Final CTA ---------- */
.cta { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: linear-gradient(135deg, #7b5ea7 0%, #b35f9e 55%, #e86a92 100%); color: #fff; }
.cta__copy { display: flex; flex-direction: column; gap: 14px; }
.cta__title { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.cta__text { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.55; }
.cta__form { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 22px; background: linear-gradient(180deg, #fbfbfc, #eceef0); color: var(--ink); }
.cta__form input, .cta__form select { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.cta__form input:focus, .cta__form select:focus { outline: 2px solid var(--purple); outline-offset: 0; }
.cta__form .is-invalid { border-color: #d6342a; }
.cta__submit { height: 52px; border: none; border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink); background: var(--yellow); }
.cta__submit[disabled] { opacity: .6; cursor: wait; }
.cta__note { font-size: 12px; color: var(--mute); text-align: center; }
.cta__note.is-error { color: #c42e25; }
.cta__note.is-ok { color: #2f7d55; font-size: 14px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 44px; padding-bottom: 44px; background: #0c0d0f; color: var(--mute-dark); }
.site-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 13px; }
.site-logo--footer, .site-logo--footer:hover { color: #fff; }
.site-logo--footer .logo-mark { width: 22px; height: 22px; }
.site-logo--footer .site-logo__text { font-size: 16px; }
.site-logo--footer .site-logo__img { filter: brightness(0) invert(1); max-height: 22px; }
.footer-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--mute-dark); }
.footer-nav a:hover { color: #fff; }
.site-footer__spacer { flex: 1; }
.site-footer__badge { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.site-footer__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.site-footer__meta { margin: 0; font-size: 11px; }

/* ---------- Generic content (pages, posts, archives) ---------- */
.content { background: var(--cream); padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--sy); }
.content__inner { max-width: 1200px; margin: 0 auto; }
.content__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 820px; }
.entry { max-width: 760px; }
.entry__meta { margin: 0; font-size: 12px; color: var(--mute); }
.entry__thumb { margin: 0 0 32px; }
.entry__thumb img { border-radius: 24px; }
.entry__content { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.entry__content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry__content h2, .entry__content h3 { color: var(--ink); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 1.8em 0 .6em; }
.entry__content pre, .entry__content code { font-family: var(--mono); font-size: 14px; }
.entry__content pre { padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); overflow-x: auto; }
.entry__content img { border-radius: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.card__thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.card__date { font-size: 11px; color: var(--mute); }
.card__title { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.card__excerpt { margin: 0; font-size: 14px; color: var(--mute); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 14px; }
.pagination .current { background: var(--ink); color: #fff; }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form input[type="search"] { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font: inherit; }
.search-form input[type="submit"] { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--pill-2); font: inherit; cursor: pointer; }
