/* 글꼴: 제목은 마루 부리(명조), 본문은 프리텐다드. 둘 다 SIL OFL 1.1(assets/fonts/LICENSE-*.txt).
   상용 한글 2,350자 + 영문·기호만 남긴 경량본이다. 굵기 범위를 지정해 브라우저가 가짜 굵기를 만들지 않게 한다. */
@font-face { font-family: "AmandaDisplay"; font-weight: 100 900; font-display: swap; src: url("../fonts/MaruBuri-Bold.subset.woff2") format("woff2"); }
@font-face { font-family: "AmandaText"; font-weight: 100 500; font-display: swap; src: url("../fonts/Pretendard-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "AmandaText"; font-weight: 600 900; font-display: swap; src: url("../fonts/Pretendard-SemiBold.subset.woff2") format("woff2"); }

:root { --navigation-ease: cubic-bezier(.22, .61, .36, 1); }

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-group(*) { animation-duration: 240ms; animation-timing-function: var(--navigation-ease); }
    ::view-transition-old(*), ::view-transition-new(*) { animation-timing-function: var(--navigation-ease); }

    html:has(.site-header) { scroll-behavior: smooth; }
    html:has(.skip-link:focus) { scroll-behavior: auto; }
    .site-page .button, .site-page .store-button, .site-page .route-card a { transition: filter 150ms var(--navigation-ease); }
}

.site-page {
    --brand: #5217e1;
    --lavender: #ebe5ff;
    --lavender-ink: #663fcb;
    --ink: #232733;
    --body: #4f4c56;
    --muted: #645f6b;
    --line: #e5dfef;
    --white: #fff;
    --gold: #ecc87e;
    --gold-ink: #8b5910;
    --soft: #f7f6f9;
    --font-display: "AmandaDisplay", "AppleMyungjo", serif;
    --font-text: "AmandaText", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-family: var(--font-text);
    letter-spacing: -.01em;
    min-height: 100%;
    height: auto;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    overflow-x: visible;
}

.site-page h1, .site-page h2, .site-page h3, .site-page p { margin: 0; }
.site-page h1, .site-page h2, .site-page h3 { font-family: var(--font-display); font-weight: 700; }
.site-page strong { font-weight: 600; }
.site-page h1, .site-page h2, .site-page h3 { line-height: 1.3; letter-spacing: -.035em; word-break: keep-all; }
.site-page h1, .site-page h2 { font-size: clamp(29px, 3.2vw, 49px); }
.site-page p, .site-page li, .site-page dd { word-break: keep-all; overflow-wrap: anywhere; }
.site-page img { display: block; max-width: 100%; }
.site-page .keep { white-space: nowrap; } /* "검토·승인"처럼 가운뎃점으로 묶인 말이 줄 끝에서 갈라지지 않게 */
.site-page a:focus-visible, .site-page button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-page [id] { scroll-margin-top: 16px; }
.site-wrap { width: min(calc(100% - 64px), 1128px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; inset: 8px auto auto 8px; transform: translateY(-160%); padding: 10px 15px; color: var(--brand); background: var(--white); }
.skip-link:focus { transform: none; }

.site-header { background: var(--brand); color: var(--white); position: relative; z-index: 2; box-shadow: 0 6px 22px #17093620; }
.page-home .site-header { box-shadow: none; }
.header-inner {
    width: min(calc(100% - 80px), 1280px);
    min-height: clamp(96px, 10.8vw, 156px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}
.site-logo { width: max-content; color: var(--white); }
.site-logo .ribbon-logo { width: 41px; height: auto; }
.site-logo .wordmark { display: none; }
.page-home .header-inner .site-logo { display: flex; align-items: center; gap: 7px; }
.page-home .header-inner .ribbon-logo { width: 33px; }
.page-home .header-inner .wordmark { display: block; width: 83px; height: auto; filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 34px); }
.site-nav a { padding: 10px 0; color: #e5d9ff; font-size: 15px; white-space: nowrap; text-decoration: underline transparent; text-underline-offset: 5px; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--white); text-decoration-color: currentColor; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.menu-toggle { display: none; }
.button, .store-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 10px; border-radius: 7px; padding: 8px 18px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.header-download { justify-self: end; border-radius: 99px; padding-inline: 18px; background: var(--white); color: var(--brand); }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store-button { min-width: 147px; background: var(--brand); color: var(--white); font-weight: 500; white-space: nowrap; }
.store-button:hover, .button:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-page .button:active, .site-page .store-button:active, .site-page .route-card a:active { filter: brightness(.94); }
.store-button img { flex-shrink: 0; object-fit: contain; }
.store-button:first-child img { filter: brightness(0) invert(1); }

.home-hero {
    color: var(--white);
    background: radial-gradient(ellipse at 75% 82%, #b578ff67 0%, transparent 49%) var(--brand);
    overflow: clip;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 49%; align-items: center; min-height: clamp(450px, 38vw, 592px); }
.hero-copy { position: relative; z-index: 1; display: grid; grid-template-columns: 47% 1fr; align-items: end; gap: 14px; padding: 34px 0 93px; }
.hero-copy h1 { font-size: clamp(51px, 6.4vw, 96px); line-height: 1.12; letter-spacing: -.05em; }
.hero-copy h1 span { color: #dfceff; }
.hero-actions { max-width: 340px; margin-bottom: 4px; }
.hero-actions p { margin-bottom: 17px; color: #f2eaff; font-size: clamp(14px, 1.35vw, 18px); }
.hero-actions .store-links { gap: 7px; }
.hero-actions .store-button { min-width: auto; min-height: 34px; gap: 5px; padding-inline: 9px; background: var(--white); color: #211d29; font-size: 13px; }
.hero-actions .store-button:first-child img { filter: brightness(0); }
.hero-link { margin-top: 13px; color: var(--white); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.hero-image { align-self: end; margin-bottom: 26px; }
.hero-image img { width: 100%; height: auto; }
/* 모델 사진의 잘린 옆면이 직선으로 보이지 않게 좌우 끝을 배경으로 흐린다. */
.hero-image img, .select-hosts img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
}

.home-overview { padding-bottom: 67px; background: var(--soft); }
.trust-section {
    position: relative;
    margin-top: -48px;
    padding: 27px 32px 22px;
    border: 1px solid #eee8f8;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 14px 36px #24135113;
    text-align: center;
}
.trust-section h2 { color: var(--brand); font-size: clamp(23px, 2.65vw, 37px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 18px 0 8px; }
.trust-grid div { display: flex; flex-direction: column-reverse; gap: 1px; padding: 8px 3px; }
.trust-grid div + div { border-inline-start: 1px solid var(--line); }
.trust-grid dd { color: var(--brand); font-family: var(--font-display); font-size: clamp(30px, 4.25vw, 62px); line-height: 1.03; letter-spacing: -.04em; }
.trust-grid dd span { font-family: var(--font-text); font-weight: 600; font-size: .44em; letter-spacing: -.02em; }
.trust-grid dt { color: var(--muted); font-size: 14px; }
.trust-note { color: var(--muted); font-size: 12px; }
.home-routes { padding-top: 56px; }
.home-routes h2, .home-help h2 { margin-bottom: 22px; font-size: clamp(27px, 3vw, 43px); }
.home-routes h2 { margin-bottom: 5px; color: var(--brand); }
.home-routes > p { margin-bottom: 18px; color: var(--body); }
.routes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.route-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; background: var(--white); overflow: clip; }
.route-card > div { padding: 22px; flex: 1; }
.route-card h3 { font-size: 22px; }
.route-card p { margin-top: 9px; color: var(--body); }
.route-card a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 18px; background: var(--brand); color: var(--white); font-weight: 600; }
.route-card a:focus-visible { outline-offset: -4px; }
.route-card a:hover { text-decoration: underline; }
.select-card { border-color: #ba9854; }
.select-card a { background: var(--gold); color: #382811; }

.split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 38px; align-items: center; }
.split-copy { padding-block: 54px 63px; min-width: 0; }
.split-copy h2 { color: var(--brand); }
.split-copy p { margin-top: 14px; }
.split-copy .button { justify-content: space-between; width: min(100%, 325px); margin-top: 25px; background: var(--white); color: var(--brand); }
.split-copy .text-link { margin-top: 18px; }
.feature-band { overflow: clip; background: linear-gradient(160deg, #493d67, #4c3948); color: var(--white); }
.feature-band h2 { color: var(--gold); }
.feature-band p, .feature-band .info-section li, .feature-band .info-section p, .feature-band .steps strong { color: #fff; }
.feature-band .text-link { color: #332663; background: var(--white); border-radius: 7px; padding: 12px 18px; }
.media-first .art { grid-column: 1; grid-row: 1; }
.media-first .split-copy { grid-column: 2; grid-row: 1; }
.home-lounge { background: linear-gradient(126deg, var(--brand), #4428a2); }
.home-lounge h2 { color: var(--white); }
.home-profile .store-links { margin-top: 18px; }
.home-help { padding-block: 49px 53px; background: var(--soft); }
.home-help-heading { display: flex; justify-content: space-between; gap: 8px 20px; align-items: baseline; flex-wrap: wrap; }
.help-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.help-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); }
.help-links a:hover { color: var(--brand); }

.art { position: relative; min-width: 0; margin: 0; align-self: stretch; }
.art > div { position: relative; height: 100%; min-height: 360px; }
.art figcaption { position: absolute; right: 5px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: #171121cf; color: white; font-size: 12px; }
.phone { position: absolute; width: 55%; aspect-ratio: 680 / 1372; }
.phone-screen, .phone-frame { position: absolute; }
.phone-frame { inset: 0; width: 100%; height: 100%; }
.phone-screen { inset: 3% 5%; width: 90%; height: 94%; border-radius: 12% / 6%; object-fit: fill; }
.phone-pair .phone-back { top: -4%; left: 2%; width: 53%; }
.phone-pair .phone-front { top: 13%; right: 4%; width: 54%; }
.profile-art .phone-profile { top: 4%; right: 12%; width: 56%; transform: rotate(11deg); }
.profile-example { position: absolute; z-index: 1; top: 27%; left: 10%; width: 53%; height: 75%; object-fit: cover; object-position: top; border: 1px solid #d8d1e2; border-radius: 13px; transform: rotate(10deg); box-shadow: 0 18px 28px #2b204747; }
.profile-art figcaption { z-index: 2; }
.home-lounge .art, .home-profile .art { min-height: 450px; }
.home-lounge .phone-back { top: 4%; left: 14%; width: 46%; }
.home-lounge .phone-front { top: 17%; width: 45%; }
.home-profile { overflow: clip; }
.phone-venue .phone { top: 8%; left: 18%; width: 58%; }
.venue-card { position: absolute; width: 79%; max-height: 52%; object-fit: cover; bottom: 8%; left: 5%; border: 1px solid #ecc87e; border-radius: 10px; box-shadow: 0 15px 37px #21162c50; }
.select-application .venue-card { left: 9%; }
.select-hosts, .golf-art, .lounge-avatars { display: flex; align-items: end; }
.select-hosts img, .golf-art img, .lounge-avatars img { width: 100%; height: auto; object-fit: contain; }
.select-hosts { background: radial-gradient(closest-side at 50% 72%, #f1e7d8 0%, rgba(251, 248, 243, .85) 55%, rgba(251, 248, 243, 0) 100%); } /* 상자 테두리 전에 완전히 투명해지게 */
.select-hosts { justify-content: center; }
.select-hosts img { width: auto; max-width: 100%; max-height: 575px; object-position: center bottom; } /* 상자 폭을 사진 폭에 맞춰야 좌우 흐림이 사진 끝에 걸린다 */
.about-intro, .select-definition, .lounge-definition, .guide-intro { overflow: clip; }
.about-intro .phone-pair .phone-back, .lounge-definition .phone-pair .phone-back { top: -11%; }
.about-intro .phone-pair .phone-front, .lounge-definition .phone-pair .phone-front { top: 15%; }
.page-select .page-intro h1 { color: var(--gold-ink); }
.meet-feature { background: radial-gradient(ellipse at 82% 85%, #926bb4 0%, transparent 54%), #654287; }
.meet-feature h2 { color: white; }
.golf-art img { max-height: 560px; object-position: bottom right; margin-top: 18px; }
.lounge-look { background: linear-gradient(110deg, #5d5198, #54488f); }
.lounge-look h2 { color: white; }
.lounge-definition .callout { background: #36313c; border-color: var(--gold); color: var(--white); }
.lounge-display .phone { top: 6%; left: 32%; width: 52%; }
.affinity-card { position: absolute; top: 21%; left: 0; width: 43%; }
.actions-card { position: absolute; left: 12%; bottom: 8%; width: 79%; }
.lounge-avatars { align-items: center; }
.lounge-faq { background: #5d5198; color: var(--white); }
.lounge-faq .info-section { border-color: #ffffff3e; }
.lounge-faq .info-section p, .lounge-faq .info-section li, .lounge-faq a { color: var(--white); }
.lounge-faq .info-section h2 { color: var(--ink); }
.lounge-faq .section-bars { padding-block: 45px; }
.lounge-faq .info-section h3 { margin-top: 18px; font-size: 19px; }
.guide-intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr); }
.guide-display .phone { top: 50%; left: 12%; width: min(76%, 315px); transform: translateY(-50%); filter: drop-shadow(0 28px 14px #2c205525); }
.guide-steps .info-section { padding-block: 12px; border: 0; }
.guide-steps .info-section h2 { color: var(--ink); font-size: clamp(19px, 1.8vw, 25px); }

.prose { padding-block: 56px 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--brand); }
.page-intro h1 { color: var(--brand); }
.page-intro .lead { max-width: 660px; margin-top: 12px; color: var(--body); font-size: 17px; }
.page-intro .updated { margin-top: 12px; color: var(--muted); font-size: 12px; }
.info-section { padding-block: 26px; border-bottom: 1px solid var(--line); }
.info-section:last-child { border-bottom: 0; padding-bottom: 0; }
.info-section h2 { margin-bottom: 10px; font-size: clamp(22px, 2.15vw, 32px); }
.info-section p, .info-section li, .facts dd { color: var(--body); }
.info-section p + p, .info-section p + a, .info-section dl + p { margin-top: 10px; }
.info-section p a, .info-section li a, .facts a { display: inline; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.feature-band .info-section p a, .lounge-faq .info-section p a { color: #f6eaff; }
.info-section > ul { padding-left: 20px; list-style: disc; }
.info-section li + li { margin-top: 9px; }
.text-link { font-weight: 600; color: var(--brand); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps { margin: 0; padding-inline-start: 22px; }
.steps strong { color: var(--ink); }
.steps p { margin-top: 2px; }
.callout { padding: 11px 14px; margin-top: 14px !important; background: var(--lavender); border-inline-start: 3px solid var(--brand); }
.facts { margin-block: 12px; border-inline-start: 2px solid var(--line); padding-inline-start: 13px; }
.facts div { display: grid; grid-template-columns: minmax(115px, 27%) 1fr; gap: 5px 14px; padding-block: 4px; }
.facts dt { font-weight: 600; word-break: keep-all; }
.section-bars .info-section { padding-block: 22px 15px; border: 0; }
.section-bars .info-section > h2, .section-title-bar, .faq-section .info-section h2 {
    padding: 10px 14px;
    border-inline-start: 3px solid var(--brand);
    background: var(--lavender);
    font-size: clamp(17px, 1.66vw, 24px);
}
.section-title-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.section-title-bar h2 { margin: 0; font-size: inherit; }
.section-title-bar .button { min-height: 34px; padding: 6px 10px; background: var(--brand); color: white; font-size: 13px; }
.faq-section .info-section { padding-block: 22px 5px; border: 0; }
.faq-section .info-section h2 { display: flex; align-items: stretch; min-height: 44px; padding: 0; border: 0; background: var(--lavender-ink); color: white; }
.faq-section .question-label { display: grid; align-items: center; padding: 7px 12px; min-width: 0; }
.faq-section .question-icon { display: grid; place-items: center; flex: 0 0 48px; background: var(--brand); }
.beta-badge { display: inline-block; vertical-align: middle; border-radius: 4px; padding: 3px 7px; background: var(--gold); color: #30203c; font: 600 .36em / 1.2 var(--font-text); letter-spacing: .025em; }

.download-band { padding: 31px 0; background: var(--lavender); }
.download-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 20px; }
.download-inner h2 { color: var(--brand); font-size: clamp(23px, 2.4vw, 34px); }
.download-inner p { margin-top: 4px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-link { border: 1px solid var(--brand); color: var(--brand); }
.page-bridge .site-logo img { width: 110px; height: auto; margin-bottom: 18px; }
.page-bridge .store-links { margin-block: 18px; }
.site-footer { padding-block: 54px 48px; background: var(--brand); color: #f8f3ff; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-inner .site-logo img { width: 114px; height: auto; filter: brightness(0) invert(1); }
.footer-company { font-size: 13px; line-height: 1.7; }
.footer-company a, .footer-links a { color: #f8f3ff; }
.footer-company a, .footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 9px; }
.footer-links a { font-size: 13px; }
.footer-legal { margin-bottom: 0; }
.site-footer .store-links { margin-top: 14px; }
.site-footer .store-button { min-width: 112px; min-height: 35px; padding: 6px 9px; background: #100d16; font-size: 13px; }
.site-footer .footer-copyright { margin-top: 9px; font-size: 12px; }

@media (min-width: 851px) and (prefers-reduced-motion: no-preference) {
    .site-header { view-transition-name: amanda-header; }
    .site-nav a { transition: color 150ms var(--navigation-ease), text-decoration-color 150ms var(--navigation-ease); }
}

@media (min-width: 1180px) {
    .hero-grid { min-height: clamp(500px, 40.3vw, 580px); }
    .trust-section { min-height: 331px; margin-top: -73px; display: flex; flex-direction: column; justify-content: center; }
    .trust-grid { margin-block: 23px 20px; }
    .home-overview { padding-bottom: 71px; }
    .home-routes { padding-top: 79px; }
    .home-routes > p { margin-bottom: 31px; }
    .route-card { min-height: 267px; }
    .home-lounge .art { min-height: 564px; }
    .home-profile .art { min-height: 611px; }
    .home-help { min-height: 448px; padding-top: 103px; }
    .home-help .help-links a { min-height: 60px; }
    .site-footer { min-height: 419px; padding-top: 66px; }
}

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 46%; }
    .hero-copy { gap: 12px; }
    .hero-copy h1 { font-size: clamp(50px, 6.4vw, 76px); }
    .art > div { min-height: 325px; }
    .home-lounge .art, .home-profile .art { min-height: 385px; }
}

@media (max-width: 850px) {
    .site-wrap { width: min(calc(100% - 40px), 680px); }
    .header-inner { position: relative; width: min(calc(100% - 40px), 680px); min-height: 68px; gap: 0 12px; grid-template-columns: auto 1fr auto; }
    .header-inner .site-logo { grid-column: 2; grid-row: 1; justify-self: center; }
    .header-inner .ribbon-logo { width: 27px; }
    .header-download { grid-column: 3; grid-row: 1; min-height: 38px; padding-inline: 12px; font-size: 12px; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0 18px; padding-bottom: 8px; }
    .navigation-ready .menu-toggle { grid-column: 1; grid-row: 1; display: grid; place-content: center; gap: 4px; width: 44px; height: 44px; margin-inline-start: -10px; border: 0; background: transparent; color: white; cursor: pointer; }
    .menu-toggle span { display: block; width: 21px; height: 2px; background: currentColor; }
    .navigation-ready .site-nav {
        position: absolute;
        inset: 100% 0 auto;
        grid-area: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 12px;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        padding: 10px 12px;
        border: 1px solid #ffffff36;
        border-radius: 12px;
        background: #4617c3;
        box-shadow: 0 12px 26px #210f4e38;
        visibility: hidden;
        pointer-events: none;
    }
    .navigation-ready .menu-toggle[aria-expanded="true"] ~ .site-nav { visibility: visible; pointer-events: auto; }
    .navigation-ready .site-nav a { padding: 10px 5px; white-space: normal; word-break: keep-all; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
    .site-nav a { font-size: 14px; }
    .hero-copy { display: block; padding: 22px 0 58px; }
    .hero-copy h1 { margin-bottom: 16px; }
    .home-overview { padding-bottom: 47px; }
    .home-routes { padding-top: 38px; }
    .routes-grid { gap: 10px; }
    .route-card > div { padding: 15px; }
    .route-card a { padding-inline: 12px; font-size: 14px; }
    .split { gap: 20px; }
    .split-copy { padding-block: 36px 43px; }
    .prose { padding-block: 38px 46px; }
}

@media (max-width: 850px) and (prefers-reduced-motion: no-preference) {
    .navigation-ready .site-nav {
        opacity: 0;
        transform: translateY(-5px);
    }
    .navigation-interacted .site-nav {
        transition: opacity 180ms var(--navigation-ease), transform 180ms var(--navigation-ease), visibility 0s 180ms;
    }
    .navigation-ready .menu-toggle[aria-expanded="true"] ~ .site-nav { opacity: 1; transform: none; transition-delay: 0s; }
    .menu-toggle span { transition: opacity 160ms var(--navigation-ease), transform 180ms var(--navigation-ease); }
}

@media (max-width: 570px) {
    .site-wrap, .header-inner { width: calc(100% - 40px); }
    .site-page { font-size: 15px; }
    .header-inner .site-logo { display: none; }
    .page-home .header-inner .site-logo { justify-self: end; gap: 4px; }
    .page-home .header-inner .site-logo .ribbon-logo { width: 18px; }
    .page-home .header-inner .site-logo .wordmark { width: 59px; }
    .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hero-copy { padding: 26px 0 0; }
    .hero-copy h1 { font-size: clamp(49px, 11vw, 63px); }
    .hero-actions p { max-width: 295px; }
    .hero-image { width: min(100%, 415px); margin: 6px auto 16px; }
    .trust-section { margin-top: -26px; padding-inline: 15px; }
    .trust-section h2 span { display: block; }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; }
    .trust-grid div + div { border: 0; }
    .trust-grid div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .trust-grid div:nth-child(even) { border-inline-start: 1px solid var(--line); }
    .trust-grid dd { font-size: 36px; }
    .routes-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .route-card > div { padding: 17px; }
    .home-routes h2, .home-help h2 { margin-bottom: 8px; }
    .home-help { padding-block: 38px; }
    .home-help-heading { margin-bottom: 12px; }
    .help-links { grid-template-columns: minmax(0, 1fr); }
    .split-copy { padding-block: 36px 12px; }
    .feature-band .split-copy { padding-bottom: 0; }
    .feature-band .split-copy .button { margin-top: 17px; }
    .media-first .art, .media-first .split-copy { grid-column: auto; grid-row: auto; }
    .art > div { min-height: 310px; }
    .home-lounge .art, .home-profile .art { min-height: 315px; }
    .home-lounge .phone-back { top: 4%; }
    .home-lounge .phone-front { top: 15%; }
    .profile-art .phone-profile { top: 5%; right: 10%; }
    .profile-example { top: 25%; left: 7%; width: 55%; }
    .about-intro .phone-pair .phone-back, .lounge-definition .phone-pair .phone-back { top: 5%; }
    .about-intro .phone-pair .phone-front, .lounge-definition .phone-pair .phone-front { top: 15%; }
    .select-hosts img, .golf-art img, .lounge-avatars img { max-height: 320px; object-position: center bottom; }
    .select-hosts img { max-height: clamp(300px, 84vw, 365px); }
    .guide-display { margin-block: 18px 28px; }
    .guide-display > div { min-height: 380px; }
    .guide-display .phone { width: min(60%, 180px); left: 50%; transform: translate(-50%, -50%); }
    .info-section { padding-block: 22px; }
    .page-intro .lead { font-size: 15px; }
    .faq-section .facts div { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 5px; }
    .faq-section .question-icon { flex-basis: 37px; }
    .download-band { padding-block: 22px; }
    .store-button { min-width: auto; padding-inline: 11px; font-size: 14px; }
    .site-footer { padding-block: 36px 31px; }
}

@media (min-width: 370px) and (max-width: 570px) {
    .page-home .site-wrap { width: min(calc(100% - 64px), 446px); }
    .page-home .hero-grid { min-height: clamp(795px, 225vw, 967px); grid-template-rows: auto 1fr; }
    .hero-copy { padding-top: clamp(52px, 17.2vw, 74px); }
    .hero-copy h1 { font-size: 56px; line-height: 1.18; margin-bottom: 23px; }
    .hero-actions p { font-size: 18px; line-height: 1.85; }
    .hero-image { width: min(calc(100% + 42px), 482px); max-width: none; margin: 0; justify-self: center; }
    .page-home .trust-section { width: min(calc(100% - 22px), 482px); min-height: 390px; margin-top: -78px; padding-block: 28px; display: flex; flex-direction: column; justify-content: center; }
    .trust-grid div { padding-block: 14px; }
    .trust-grid dd { font-size: 47px; }
    .home-routes h2 { max-width: 7em; font-size: 34px; }
    .home-routes { padding-top: 42px; }
    .routes-grid { gap: 18px; }
    .route-card { min-height: 245px; }
    .route-card > div { padding: 25px 19px; }
    .route-card a { min-height: 54px; }
    .home-lounge .split { position: relative; min-height: clamp(560px, 167.4vw, 720px); grid-template-rows: auto 1fr; }
    .home-lounge .split-copy { padding-top: clamp(55px, 18vw, 85px); }
    .home-lounge .art { align-self: stretch; }
    .home-lounge .split-copy .button { position: absolute; z-index: 1; bottom: 24px; left: 0; width: 100%; min-height: 55px; margin: 0; }
    .home-lounge .art figcaption { bottom: 88px; }
    .home-profile { min-height: clamp(690px, 204vw, 878px); grid-template-rows: auto 1fr; }
    .home-profile .split-copy { padding-top: clamp(55px, 22vw, 100px); }
    .home-profile .art { min-height: 385px; }
    .profile-art .phone-profile { top: 12%; right: 7%; width: 65%; }
    .profile-example { top: 26%; width: 56%; height: 64%; }
    .home-help { min-height: 480px; padding-top: 77px; }
    .home-help .help-links a { min-height: 57px; }
    .page-home .site-footer { min-height: 420px; padding-top: 57px; }
}
