/* pack: /css/guide.css /css/footer.css */
.guide { padding: calc(var(--nav-h) + 80px) 24px 96px; background: var(--stage-bot); color: var(--ink); }
.guide__body { max-width: 840px; margin: 0 auto; }
.guide__back { display: inline-block; margin-bottom: 32px; font-size: 14px; }
.guide h1, .guide h2 { font-family: var(--font-display); font-weight: 300; text-wrap: balance; }
.guide h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.06; letter-spacing: -.025em; max-width: 780px; }
.guide h2 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.16; margin-bottom: 24px; scroll-margin-top: calc(var(--nav-h) + 28px); }
.guide p, .guide li { font-size: 17px; line-height: 1.65; }
.guide p { margin: 0 0 20px; }
.guide .guide__intro { font-size: 21px; line-height: 1.5; margin-top: 28px; max-width: 720px; color: var(--muted); }
.guide a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
.guide a:focus-visible, .guide__table:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.guide__contents { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 36px 0 0; padding: 24px 0; border-block: 1px solid var(--line); font-size: 14px; }
.guide section { margin-top: 64px; }
.guide__table { max-width: 100%; overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; text-align: left; }
.guide caption { text-align: left; padding: 18px 20px; font-size: 14px; color: var(--muted); }
.guide th, .guide td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.guide th { font-weight: 500; }
.guide thead th { background: var(--stage-top); }
.guide__total { font-weight: 500; }
.guide .guide__note { border-left: 2px solid var(--ink); padding-left: 20px; color: var(--muted); }
.guide .guide__formula { background: var(--surface); padding: 24px; border-radius: 12px; overflow-wrap: anywhere; }
.guide ol { padding-left: 24px; }
.guide li { margin-bottom: 16px; padding-left: 6px; }
.guide__contact { padding-top: 40px; border-top: 1px solid var(--line); }
.guide__contact .btn { padding: 14px 24px; min-height: 48px; height: auto; }
@media (max-width: 600px) {
  .guide { padding: calc(var(--nav-h) + 48px) 20px 64px; }
  .guide section { margin-top: 48px; }
  .guide .guide__intro { font-size: 19px; }
  .guide table { font-size: 13px; }
  .guide th, .guide td { padding: 12px 10px; }
}
@media print {
  .guide { padding: 0; background: white; }
  .guide__contents, .guide__contact, .guide__back { display: none; }
  .guide__table { overflow: visible; break-inside: avoid; }
  .guide table { min-width: 0; }
}

.guide .guide__facts { margin-top: 40px; padding: 28px 28px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide__facts h2 { margin-bottom: 16px; }
.guide__facts dl { margin: 24px 0 0; }
.guide__facts dt { font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.guide__facts dd { margin: 4px 0 20px; font-size: 17px; line-height: 1.65; }
@media (max-width: 600px) { .guide .guide__facts { padding: 20px 20px 4px; } }
.closing__foot {
  --foot-ease: cubic-bezier(.23, 1, .32, 1);
  position: relative; z-index: 2; color: rgba(255, 255, 255, .78); font-family: var(--font-body); font-size: 14px; line-height: 21px;
  text-align: left; }
.closing__foot--page { background: var(--graphite); }

html:has(.closing__foot--page) { background: var(--graphite); }
.closing__foot--page { box-shadow: 0 1px 0 #16171b; overflow-x: clip; }

html.is-foot { background: #07070b; }
.closing__foot :focus-visible { outline-color: #b9a3e8; outline-offset: 3px; }
.foot-icons { position: absolute; width: 0; height: 0; overflow: hidden; }


.foot__inner { padding-top: 56px; }
.foot__lead { grid-area: lead; display: grid; justify-items: center; text-align: center; }
.foot__tagline { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.2; letter-spacing: -0.012em;
  color: rgba(255, 255, 255, .92); text-wrap: balance; }

.foot__cities { display: flex; flex-wrap: wrap; justify-content: center; margin: 12px 0 0; padding: 0; list-style: none; font-family: var(--font-display);
  font-weight: 300; font-size: 15px; line-height: 1.6; letter-spacing: .01em; color: rgba(255, 255, 255, .6); }
.foot__cities li { white-space: nowrap; }
.foot__cities li:not(:last-child)::after { content: "·"; margin: 0 10px; color: rgba(255, 255, 255, .28); }



.foot__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "ai lead follow"; align-items: end; column-gap: 40px; }
.foot__ai { grid-area: ai; display: grid; justify-items: start; }
.foot__follow { grid-area: follow; display: grid; justify-items: end; }

@media (min-width: 900px) {
  .foot__row { grid-template-rows: auto auto; row-gap: 12px; }
  .foot__row > .foot__lead, .foot__row > .foot__ai, .foot__row > .foot__follow { grid-row: 1 / span 2; grid-template-rows: subgrid; row-gap: 12px; }
  .foot__row .foot__label, .foot__row .foot__tagline { align-self: last baseline; margin: 0; }
  .foot__row .foot__tiles, .foot__row .foot__cities { align-self: center; margin: 0; }
}
@media (max-width: 899px) {
  .foot__inner { padding-top: 64px; }
  .foot__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lead lead" "ai follow"; row-gap: 56px; }
}
.foot__label { margin: 0 0 12px; font-family: var(--font-body); font-weight: 500; font-size: 13px; line-height: 18px; letter-spacing: 0;
  text-transform: none; color: rgba(255, 255, 255, .62); }
.foot__tiles { display: flex; gap: 8px; }
.foot__tile { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px; color: rgba(255, 255, 255, .88); cursor: pointer; }

.foot__tile[data-mail-icon]:not([href]) { display: none; }
.foot__tile svg { width: 18px; height: 18px; fill: currentColor; }
.foot__tile:active { transform: scale(.96); }

.foot__tile[data-tip="LinkedIn"] svg, .foot__tile[data-tip="YouTube"] svg { width: 16px; height: 16px; }
.foot__tile[data-tip="Gemini"] svg { width: 15px; height: 15px; }
.foot__tile[data-tip="Grok"] svg { width: 19px; height: 19px; }
.foot__tile[data-mail-icon] svg { width: 20px; height: 20px; }
.foot__tile { transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s var(--foot-ease); }
.foot__tile:focus-visible { outline: 2px solid #b9a3e8; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .foot__tile:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); color: #fff; }
}

.foot__tile::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -3px); z-index: 1;
  padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 4px; background: #1c1c22; color: rgba(255, 255, 255, .92); font-family: var(--font-body); font-size: 12px;
  line-height: 16px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .14s ease, transform .14s var(--foot-ease); }
.foot__tile:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) { .foot__tile:hover::after { opacity: 1; transform: translate(-50%, 0); } }

.foot__follow .foot__tile:last-child::after { left: auto; right: 0; transform: translateY(-3px); }
.foot__follow .foot__tile:last-child:focus-visible::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .foot__follow .foot__tile:last-child:hover::after { transform: none; } }


.foot__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-top: 48px; padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .12); }

.foot__pages { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (pointer: coarse) {
  .foot__pages { row-gap: 0; }
  .foot__pages a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
}
.foot__copy { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .58); }

.foot__privacy { color: inherit; text-underline-offset: 3px; transition: color .16s ease; }
@media (hover: hover) and (pointer: fine) { .foot__privacy:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); } }
.foot__careers { font-size: 14px; color: rgba(255, 255, 255, .7); text-underline-offset: 4px; transition: color .16s ease; }
@media (hover: hover) and (pointer: fine) {
  .foot__careers:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
}


.foot__mark { position: relative; margin-top: 24px; user-select: none; }
.foot__mark-box { position: relative; height: var(--mark-h, 15.2vw); overflow: hidden; }
.foot__mark-word, .foot__mark-light { position: absolute; left: var(--mark-left, 0); top: var(--mark-top, -2.9vw); font-family: var(--font-wordmark);
  font-weight: 400; font-size: var(--mark-size, 21.6vw); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.foot__mark-word { color: rgba(255, 255, 255, .09); }
.foot__mark-light { color: rgba(255, 247, 232, .22); opacity: 0; transition: opacity .6s ease;
  -webkit-mask-image: radial-gradient(circle 300px at var(--lx, 50%) var(--ly, 50%), #000, transparent 100%);
  mask-image: radial-gradient(circle 300px at var(--lx, 50%) var(--ly, 50%), #000, transparent 100%); }
.foot__mark.is-lit .foot__mark-light { opacity: 1; transition-duration: .4s; }
@media (prefers-reduced-motion: reduce), (hover: none) { .foot__mark-light { display: none; } }
@media (forced-colors: active) { .foot__mark { display: none; } }


@media (min-width: 900px) and (max-width: 1199px) {
  .foot__row { column-gap: 24px; }
  .foot__lead { max-width: 360px; } 
  .foot__tagline { font-size: 26px; }
  .foot__tile { width: 36px; height: 36px; }
  .foot__tiles { gap: 6px; }
  .foot__cities li:nth-child(3)::after { content: none; }
  .foot__cities li:nth-child(n+4) { order: 2; }
  .foot__cities::before { content: ""; flex-basis: 100%; height: 0; order: 1; }
}


@media (max-width: 809px) {
  .foot__inner { padding-top: 56px; }
  .foot__tagline { font-size: 24px; }
  
  .foot__cities li:nth-child(3)::after { content: none; }
  .foot__cities li:nth-child(n+4) { order: 2; }
  .foot__cities::before { content: ""; flex-basis: 100%; height: 0; order: 1; }
  .foot__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "ai" "follow"; row-gap: 48px; }
  .foot__ai, .foot__follow { justify-items: center; }
  .foot__meta { margin-top: 40px; }
}
@media (pointer: coarse) { .foot__tile { width: 44px; height: 44px; } }
@media (max-width: 360px) { .foot__tile { width: 40px; height: 40px; } .foot__tiles { gap: 6px; } }


@media (min-width: 900px) and (min-height: 640px) {
  html:has(.closing .closing__foot) { scroll-snap-type: y proximity; }
  
  .closing:has(.closing__foot) { background: #07070b; }
  .closing:has(.closing__foot) > .closing__media { bottom: auto; height: calc(100svh - var(--nav-h, 64px)); }
  .closing:has(.closing__foot) { scroll-snap-align: start; scroll-margin-top: -16px; }
  
  .closing .foot__mark { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - var(--nav-h, 64px) - var(--closing-foot, 258px)); margin-top: 0; }
  
  .closing .foot__mark::before { content: ""; position: absolute; left: 50%; bottom: -160px; width: min(1100px, 90vw); height: 420px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(255, 247, 232, .08), transparent); pointer-events: none; }
}


@media (forced-colors: active) { .foot__mark, .closing .foot__mark { display: none; } }


@keyframes foot-flow { from { background-position: 200% 0; } to { background-position: 0 0; } }
.closing__foot::before, .closing__foot::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none;
  background: var(--spectrum-flow) 0 0 / 200% 100% repeat-x; animation: foot-flow var(--flow-slow) linear infinite; }
.closing__foot::before { top: -1px; height: 2px; }
.closing__foot::after { top: -3px; height: 6px; filter: blur(5px); opacity: .7; }
@media (prefers-reduced-motion: reduce) { .closing__foot::before, .closing__foot::after { animation: none; } }
@media (forced-colors: active) { .closing__foot::before { background: CanvasText; height: 1px; } .closing__foot::after { display: none; } }
