@font-face {
    font-family: "Host Grotesk";
    src: url("/asset/host-grotesk.woff2") format("woff2");
    font-display: swap;
}

:root {
    --green: #19808C;
    --green-hover: #146B75;
    --green-dark: #1D606A;
    --mint: #EAF4F5;
    --paper: #F4F8F8;
    --white: #fff;
    --ink: #17383D;
    --muted: #5E7377;
    --line: #D4E4E6;
    --shadow: 0 18px 50px rgba(29, 96, 106, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 90% 5%, rgba(132, 196, 203, .22), transparent 28rem),
        radial-gradient(ellipse at 20% 30%, transparent 0 68px, rgba(25,128,140,.045) 69px 70px, transparent 71px),
        radial-gradient(ellipse at 80% 70%, transparent 0 105px, rgba(25,128,140,.04) 106px 107px, transparent 108px),
        linear-gradient(32deg, transparent 49.6%, rgba(25,128,140,.025) 50%, transparent 50.4%);
    background-size: auto, 290px 230px, 390px 310px, 180px 180px;
    font-family: "Host Grotesk", system-ui, sans-serif;
    font-weight: 400;
}

a { color: inherit; }
button { font: inherit; }
.page-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 24px;
}
.page-brand {
    display: inline-flex;
    align-items: center;
    gap: 10.5px;
    color: var(--green);
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.04em;
}
.page-brand img { width: 18.7px; height: 24.5px; object-fit: contain; flex: 0 0 18.7px; }
.header-map-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 550;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
}
.hero { padding: clamp(48px, 8vw, 92px) 0 40px; max-width: 820px; }
.eyebrow {
    margin: 0 0 15px;
    color: var(--green);
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(2.65rem, 7vw, 5.6rem); line-height: 1.03; letter-spacing: -.035em; }
.hero-copy { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }
.content-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; padding: 20px 0 84px; }
.card {
    grid-column: span 6;
    padding: clamp(25px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.87);
    box-shadow: var(--shadow);
}
.card.wide { grid-column: 1 / -1; }
.card h2 { margin: 0 0 12px; color: var(--green-dark); font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.035em; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.card p + p, .card p + ul, .card ul + p { margin-top: 16px; }
.card ul { margin-bottom: 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.65; }
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    margin-top: 24px;
    padding: 12px 20px;
    border: 0;
    border-radius: 14px;
    color: white;
    background: var(--green);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}
.action-button:hover { background: var(--green-hover); }
.action-button img { width: 19px; height: 19px; filter: brightness(0) invert(1); }
.action-button[hidden], [hidden] { display: none !important; }
.install-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(28px, 5vw, 64px); align-items: center; }
.qr-panel { text-align: center; }
.qr-panel img { display: block; width: min(210px, 100%); margin: 0 auto 14px; border-radius: 20px; background: white; }
.qr-panel strong { display: block; color: var(--green); }
.steps { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--mint); color: var(--ink); line-height: 1.6; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 24px; }
.principle { padding: 20px; border-radius: 18px; background: var(--mint); }
.principle strong { display: block; margin-bottom: 7px; color: var(--green-dark); }
.city-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--green-dark); background: var(--white); text-decoration: none; }
.city-links a:hover { color: white; background: var(--green); }
.site-footer { width: 100%; margin-top: auto; color: #DCEFF1; background: var(--green-dark); }
.site-footer-inner { padding-top: 42px; padding-bottom: 25px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 34px; }
.footer-identity { max-width: 390px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: white; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.footer-brand img { width: 14px; height: 19px; filter: brightness(0) invert(1); }
.footer-identity p { margin: 12px 0 0; color: rgba(220,239,241,.74); font-size: .88rem; line-height: 1.55; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.footer-nav a { color: #EAF4F5; text-decoration: none; font-size: .9rem; font-weight: 550; }
.footer-nav a:hover, .footer-nav a:focus { text-decoration: underline; text-underline-offset: 3px; }
.footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; padding-top: 18px; border-top: 1px solid rgba(220,239,241,.15); color: rgba(220,239,241,.62); font-size: 9.5px; line-height: 1.4; }
.footer-meta p { margin: 0; }
.footer-meta a { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: .5px; text-underline-offset: 2px; }
.legal-hero { max-width: 900px; padding-bottom: 28px; }
.legal-hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.privacy-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 26px; }
.privacy-highlight { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); }
.privacy-highlight strong { display: block; margin-bottom: 5px; color: var(--green-dark); font-size: .96rem; }
.privacy-highlight span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.privacy-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; padding: 10px 0 90px; }
.privacy-index { position: sticky; top: 24px; display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.76); }
.privacy-index strong { margin-bottom: 9px; color: var(--green-dark); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.privacy-index a { padding: 7px 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.privacy-index a:hover, .privacy-index a:focus { color: var(--green); }
.privacy-content { display: grid; gap: 16px; }
.legal-section { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: 0 12px 36px rgba(29,96,106,.07); }
.legal-section h2 { margin: 0 0 12px; color: var(--green-dark); font-size: clamp(1.3rem, 2.5vw, 1.75rem); letter-spacing: -.025em; }
.legal-section h3 { margin: 22px 0 8px; color: var(--green-dark); font-size: 1rem; }
.legal-section p, .legal-section li { color: var(--muted); line-height: 1.68; }
.legal-section p { margin: 0; }
.legal-section p + p, .legal-section p + ul, .legal-section ul + p { margin-top: 13px; }
.legal-section ul { margin-bottom: 0; padding-left: 1.2rem; }
.legal-section a { color: var(--green); font-weight: 550; text-underline-offset: 2px; }
.inline-consent-button { padding: 0; border: 0; color: var(--green); background: transparent; font: inherit; font-weight: 550; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.legal-note { margin-top: 18px !important; padding: 14px 16px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: var(--mint); }
.map-floater {
    position: fixed;
    z-index: 20;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 999px;
    color: white;
    background: var(--green);
    box-shadow: 0 12px 30px rgba(29,96,106,.28);
    text-decoration: none;
    font-weight: 600;
}
.map-floater:hover { background: var(--green-hover); transform: translateY(-1px); }
.not-found-shell { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.not-found-card { max-width: 620px; }
.not-found-card > img { margin-bottom: 12px; }

@media (max-width: 720px) {
    .page-shell { width: min(calc(100% - 28px), 1080px); }
    .page-header { min-height: 74px; }
    .header-map-link { display: none; }
    .hero { padding-top: 48px; }
    .card { grid-column: 1 / -1; border-radius: 22px; }
    .install-layout { grid-template-columns: 1fr; }
    .principles { grid-template-columns: 1fr; }
    .footer-main { display: grid; gap: 28px; }
    .footer-nav { justify-content: flex-start; gap: 9px 20px; }
    .footer-meta { display: grid; gap: 8px; }
    .privacy-highlights { grid-template-columns: 1fr; }
    .privacy-layout { grid-template-columns: 1fr; padding-bottom: 64px; }
    .privacy-index { position: static; display: flex; flex-wrap: wrap; gap: 0 17px; }
    .privacy-index strong { width: 100%; }
    .map-floater { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
}
