/* Tool48 landing page layer */

:root {
    --shell-max: 1080px;
    --glass-border: rgba(255, 255, 255, 0.6);
    --surface: rgba(255, 255, 255, 0.5);
    --surface-strong: rgba(255, 255, 255, 0.76);
    --ink: #26384a;
    --ink-soft: rgba(38, 56, 74, 0.72);
    --accent-blue: #2f80ed;
    --accent-mint: #20b486;
    --accent-amber: #f4a51c;
    --accent-violet: #7c5cff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

a { color: inherit; }

h1,
h2,
h3,
p { margin-top: 0; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 99999;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-hover);
    font-weight: 900;
}

.skip-link:focus { left: 12px; }

.top-shell,
.notice-box,
.contact-strip,
.footer-shell,
.timeline-list li,
.info-list li,
.page-title,
.content-panel {
    border: 1px solid var(--glass-border);
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(38, 56, 74, 0.1);
}

.top-shell {
    position: sticky;
    top: max(10px, env(safe-area-inset-top));
    z-index: 50;
    width: min(var(--shell-max), calc(100% - 24px));
    margin: 10px auto 0;
    padding: 7px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border-radius: 22px;
    transform: none !important;
    transition: background 0.18s ease, box-shadow 0.18s ease;
    will-change: auto;
}

.top-shell,
.top-shell * {
    transform: none !important;
}

.top-shell:hover {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(38, 56, 74, 0.12);
}

.brand-lockup {
    min-width: 210px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    font-size: 13px;
    font-weight: 1000;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.22);
}

.brand-text strong {
    display: block;
    font-size: 13px;
    line-height: 1.15;
}

.brand-text small {
    display: block;
    color: var(--text-sec);
    font-size: 10px;
    line-height: 1.25;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
    flex-shrink: 0;
    padding: 7px 9px;
    border-radius: 999px;
    color: var(--text-sec);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: background 0.18s ease, color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.64);
    color: var(--primary-hover);
}

.lang-wrap select {
    width: 94px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    padding: 7px 9px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 900;
}

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.52);
}

.nav-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    margin: 4px auto;
    background: var(--primary-hover);
}

.page-shell {
    width: min(var(--shell-max), calc(100% - 28px));
    margin: 0 auto;
    padding: 22px 0 18px;
}

.page-shell.narrow { max-width: 860px; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 20px;
    align-items: center;
    min-height: 250px;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--primary-hover);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    max-width: 620px;
    margin-bottom: 8px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    letter-spacing: 0;
    color: var(--ink);
}

h2 {
    margin-bottom: 7px;
    font-size: clamp(21px, 2.5vw, 28px);
    line-height: 1.16;
    letter-spacing: 0;
    color: var(--ink);
}

.hero-kicker {
    margin-bottom: 8px;
    color: var(--primary-hover);
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 1000;
    line-height: 1.35;
}

.hero-lead,
.section-head p,
.notice-box p,
.body-copy p,
.contact-strip p {
    color: var(--ink-soft);
}

.hero-lead {
    max-width: 560px;
    margin-bottom: 0;
    font-size: clamp(14px, 1.45vw, 16px);
    line-height: 1.5;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 15px;
}

.app-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 1000;
}

.app-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    box-shadow: 0 10px 24px rgba(233, 30, 99, 0.22);
}

.app-button.secondary {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.6);
}

.hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.quick-tool {
    min-height: 72px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(38, 56, 74, 0.08);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-tool:hover {
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 22px rgba(38, 56, 74, 0.12);
    transform: translateY(-1px);
}

.quick-copy strong {
    display: block;
    color: var(--primary-hover);
    font-size: 14px;
    font-weight: 1000;
    line-height: 1.12;
}

.quick-copy small {
    display: block;
    color: var(--text-sec);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 3px;
}

.timeline-section,
.privacy-note {
    margin: 20px 0;
}

.compact-head {
    max-width: 700px;
    margin-bottom: 12px;
}

.timeline-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-list li {
    position: relative;
    min-height: 142px;
    padding: 13px;
    border-radius: 16px;
    overflow: hidden;
}

.timeline-index {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    font-size: 12px;
    font-weight: 1000;
}

.timeline-phase {
    display: block;
    margin-bottom: 5px;
    color: var(--text-sec);
    font-size: 11px;
    font-weight: 900;
}

.timeline-list strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.22;
}

.timeline-list p {
    margin: 6px 0 8px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.45;
}

.timeline-list small {
    color: var(--primary-hover);
    font-size: 11px;
    font-weight: 900;
}

.notice-box {
    margin: 16px 0 20px;
    padding: 13px 16px;
    border-radius: 18px;
}

.notice-box p:last-child { margin-bottom: 0; }

.tool-visual {
    position: relative;
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.tool-visual i {
    position: absolute;
    display: block;
    border-radius: 999px;
}

.tool-visual-ticket i:nth-child(1) {
    inset: 14px 7px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid rgba(233, 30, 99, 0.32);
}

.tool-visual-ticket i:nth-child(2),
.tool-visual-ticket i:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 21px;
    background: rgba(233, 30, 99, 0.22);
}

.tool-visual-ticket i:nth-child(2) { left: 4px; }
.tool-visual-ticket i:nth-child(3) { right: 4px; }

.tool-visual-ticket i:nth-child(4) {
    left: 16px;
    right: 16px;
    top: 20px;
    height: 4px;
    background: var(--primary);
}

.tool-visual-light i {
    width: 7px;
    bottom: 9px;
}

.tool-visual-light i:nth-child(1) { left: 12px; height: 23px; background: var(--accent-blue); }
.tool-visual-light i:nth-child(2) { left: 22px; height: 30px; background: var(--primary); }
.tool-visual-light i:nth-child(3) { left: 32px; height: 19px; background: var(--accent-mint); }
.tool-visual-light i:nth-child(n+4) { display: none; }

.tool-visual-seat i {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--accent-blue);
}

.tool-visual-seat i:nth-child(1) { left: 10px; top: 12px; }
.tool-visual-seat i:nth-child(2) { left: 23px; top: 12px; }
.tool-visual-seat i:nth-child(3) { left: 36px; top: 12px; }
.tool-visual-seat i:nth-child(4) { left: 10px; top: 27px; background: var(--accent-mint); }
.tool-visual-seat i:nth-child(5) { left: 23px; top: 27px; background: var(--primary); }
.tool-visual-seat i:nth-child(6) { left: 36px; top: 27px; background: var(--accent-amber); }

.tool-visual-data i {
    width: 9px;
    height: 9px;
    background: var(--accent-violet);
}

.tool-visual-data i:nth-child(1) { left: 10px; top: 12px; }
.tool-visual-data i:nth-child(2) { right: 10px; top: 12px; background: var(--primary); }
.tool-visual-data i:nth-child(3) { left: 20px; top: 23px; background: var(--accent-blue); }
.tool-visual-data i:nth-child(4) { left: 10px; bottom: 10px; background: var(--accent-mint); }
.tool-visual-data i:nth-child(5) { right: 10px; bottom: 10px; background: var(--accent-amber); }
.tool-visual-data i:nth-child(6) {
    left: 15px;
    right: 15px;
    top: 24px;
    width: auto;
    height: 2px;
    background: rgba(38, 56, 74, 0.22);
}

.tool-visual-game i {
    width: 12px;
    height: 12px;
    border-radius: 5px;
    background: var(--accent-amber);
}

.tool-visual-game i:nth-child(1) { left: 11px; top: 12px; }
.tool-visual-game i:nth-child(2) { right: 11px; top: 12px; background: var(--primary); }
.tool-visual-game i:nth-child(3) { left: 19px; bottom: 11px; background: var(--accent-blue); }
.tool-visual-game i:nth-child(n+4) { display: none; }

.tool-visual-garapon i:nth-child(1) {
    left: 10px;
    right: 10px;
    top: 10px;
    height: 19px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent-violet));
}

.tool-visual-garapon i:nth-child(2) {
    left: 18px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid rgba(233, 30, 99, 0.32);
}

.tool-visual-garapon i:nth-child(3) {
    left: 10px;
    right: 10px;
    bottom: 9px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-amber);
}

.tool-visual-garapon i:nth-child(n+4) { display: none; }

.info-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    min-height: 92px;
    padding: 14px;
    border-radius: 16px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.contact-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin: 20px 0 12px;
    padding: 16px;
    border-radius: 18px;
}

.contact-strip h2,
.contact-strip p:last-child { margin-bottom: 0; }

.content-panel,
.page-title {
    padding: 20px;
    border-radius: 18px;
}

.page-title { margin-bottom: 16px; }

.page-title h1 {
    margin-bottom: 0;
    font-size: clamp(30px, 5vw, 44px);
}

.body-copy {
    display: grid;
    gap: 12px;
}

.body-copy p {
    margin-bottom: 0;
    line-height: 1.7;
}

.footer-shell {
    width: min(var(--shell-max), calc(100% - 28px));
    margin: 28px auto 20px;
    padding: 16px;
    display: grid;
    gap: 10px;
    border-radius: 18px;
    color: var(--text-sec);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: var(--primary-hover);
    font-weight: 900;
}

.copyright {
    margin: 0;
    font-size: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .top-shell {
        grid-template-columns: auto auto auto;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        display: none;
        padding-top: 6px;
    }

    .site-nav.is-open { display: flex; }
    .nav-toggle { display: block; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        min-height: 0;
    }

    .timeline-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .top-shell,
    .page-shell,
    .footer-shell {
        width: calc(100% - 20px);
    }

    .top-shell {
        top: max(8px, env(safe-area-inset-top));
        padding: 7px;
        gap: 7px;
        border-radius: 18px;
    }

    .brand-lockup {
        min-width: 0;
        gap: 8px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 11px;
        font-size: 12px;
    }

    .brand-text strong {
        max-width: 150px;
        font-size: 12px;
    }

    .brand-text small { display: none; }

    .lang-wrap select {
        width: 82px;
        padding: 7px;
    }

    .page-shell {
        padding-top: 18px;
    }

    h1 {
        font-size: clamp(32px, 10vw, 40px);
        margin-bottom: 7px;
    }

    .hero-kicker {
        font-size: 14px;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.48;
    }

    .cta-row {
        margin-top: 13px;
    }

    .app-button {
        min-height: 37px;
        padding: 9px 13px;
        font-size: 13px;
        flex: 1 1 132px;
    }

    .hero-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .quick-tool {
        min-height: 76px;
        grid-template-columns: 1fr;
        gap: 5px;
        justify-items: center;
        text-align: center;
        padding: 8px 4px;
        border-radius: 12px;
    }

    .tool-visual {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .quick-copy strong {
        font-size: 11px;
    }

    .quick-copy small {
        font-size: 9px;
    }

    .timeline-section,
    .privacy-note {
        margin: 16px 0;
    }

    .compact-head {
        margin-bottom: 10px;
    }

    .timeline-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .timeline-list li {
        min-height: 0;
        padding: 12px;
    }

    .notice-box {
        margin: 12px 0 16px;
        padding: 12px 14px;
    }

    .info-list li {
        min-height: 0;
        padding: 13px;
    }

    .contact-strip {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}
