:root { color-scheme: light; --bg: #f3f7fd; --surface: #ffffff; --ink: #111827; --muted: #475569; --line: #d9e2ef; --blue: #2563eb; --blue-dark: #1d4ed8; --soft-blue: #dbeafe; --shadow: 0 18px 45px rgba(15, 23, 42, 0.08); }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 52%, #f8fafc 100%); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 84px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; font-weight: 900; }
.topnav { display: flex; align-items: center; gap: 28px; color: #0f172a; font-size: 16px; }
.topnav .language-switcher { flex: 0 0 auto; --p2a-language-switcher-min-width: 136px; --p2a-language-switcher-min-height: 40px; --p2a-language-switcher-radius: 8px; --p2a-language-switcher-bg: #f8fafc; --p2a-language-switcher-bg-hover: #eff6ff; --p2a-language-switcher-color: #0f172a; --p2a-language-switcher-font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 0; background: #e5e7eb; color: #0f172a; font-weight: 800; font-size: 18px; cursor: pointer; box-shadow: none; }
.hero-actions .button { gap: 10px; }
.hero-actions .button-icon { width: 20px; height: 20px; display: block; object-fit: contain; flex: 0 0 20px; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); }
.button.muted { background: #e5e7eb; }
.topnav .button { min-height: 42px; font-size: 15px; padding: 0 18px; }
.home-hero { max-width: 820px; margin: 0 auto; padding: 96px 20px 124px; text-align: center; }
.home-hero h1 { max-width: 100%; margin: 0 auto; font-size: clamp(48px, 6vw, 72px); line-height: .98; letter-spacing: -0.055em; font-weight: 900; overflow-wrap: normal; }
.home-hero h1 span { display: block; color: var(--blue); }
.home-hero p { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: 22px; line-height: 1.35; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-row { margin-top: 52px; display: flex; align-items: center; justify-content: center; gap: 44px; color: #475569; font-size: 16px; }
.trust-row span { white-space: nowrap; }
.how-section { max-width: 1280px; margin: 0 auto; padding: 36px 84px 72px; }
.how-section h2 { text-align: center; margin: 0 0 48px; font-size: 34px; letter-spacing: -0.03em; }
.section-lead { max-width: 680px; margin: -28px auto 42px; color: var(--muted); font-size: 19px; line-height: 1.45; text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how-grid.six-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-card { min-height: 205px; padding: 30px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.step-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .04); }
.step-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step-icon img { width: 34px; height: 34px; display: block; object-fit: contain; }
.step-icon.blue { background: #dbeafe; color: #1d4ed8; }
.step-icon.purple { background: #f3e8ff; color: #7e22ce; }
.step-icon.green { background: #dcfce7; color: #15803d; }
.step-icon.orange { background: #ffedd5; color: #c2410c; }
.how-card h3 { margin: 0 0 12px; font-size: 20px; }
.how-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.home-install-section { max-width: 1112px; margin: -18px auto 84px; padding: 40px 44px 42px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); box-shadow: var(--shadow); }
.install-kicker { width: fit-content; margin: 0 auto 10px; padding: 5px 12px; border-radius: 999px; background: #eff6ff; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.home-install-section h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.15; letter-spacing: -0.03em; text-align: center; }
.home-install-section .install-intro { max-width: 720px; margin: 0 auto 32px; color: var(--muted); font-size: 18px; line-height: 1.5; text-align: center; }
.home-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-install-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; box-shadow: 0 2px 10px rgba(15, 23, 42, .05); }
.home-install-card-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.home-install-card h3 { margin: 0 0 6px; font-size: 22px; }
.home-install-card p { margin: 0; color: var(--muted); }
.home-install-card ol { margin: 0; padding-left: 22px; }
.home-install-card li { padding-left: 7px; margin: 12px 0; color: #1f2937; line-height: 1.45; }
.home-install-card li::marker { color: var(--blue); font-weight: 900; }
.home-install-card .install-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 auto; }
.home-install-card .install-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.home-install-card .install-icon .platform-icon { fill: currentColor; stroke: none; }
.home-install-card .install-icon.ios { background: #dbeafe; color: #2563eb; box-shadow: inset 0 0 0 1px #bfdbfe; }
.home-install-card .install-icon.android { background: #dcfce7; color: #16a34a; box-shadow: inset 0 0 0 1px #bbf7d0; }
@media (max-width: 960px) { .topbar { padding: 16px 20px; height: auto; align-items: flex-start; flex-direction: column; } .topnav { flex-wrap: wrap; gap: 14px; } .home-hero { padding: 64px 20px 84px; } .trust-row { flex-direction: column; gap: 14px; } .how-section { padding: 28px 20px 56px; } .how-grid, .how-grid.six-step-grid, .home-install-grid { grid-template-columns: 1fr; } .home-install-section { margin: 0 20px 64px; padding: 30px 24px 32px; } .home-install-section h2 { font-size: 26px; } .home-install-card { padding: 24px 22px; } }
@media (max-width: 600px) { .home-hero { padding: 52px 18px 72px; } .home-hero h1 { max-width: 11.6em; font-size: clamp(34px, 9.2vw, 42px); line-height: 1.08; letter-spacing: -0.035em; overflow-wrap: anywhere; } .home-hero p { font-size: 18px; line-height: 1.45; } .hero-actions { gap: 12px; } }
@media (max-width: 360px) { .home-hero { padding-left: 16px; padding-right: 16px; } .home-hero h1 { font-size: clamp(31px, 9.4vw, 34px); line-height: 1.1; letter-spacing: -0.025em; } .hero-actions .button { width: 100%; } }
.how-main { max-width: 1040px; margin: 0 auto; padding: 58px 20px 80px; }
.how-hero { text-align: center; margin-bottom: 54px; }
.how-hero h1 { margin: 0; font-size: 40px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 900; }
.how-hero p { margin: 20px 0 0; color: var(--muted); font-size: 20px; }
.steps-grid.six-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0 auto 64px; }
.flow-card { min-height: 245px; padding: 28px 34px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(15, 23, 42, .08); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flow-icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; font-size: 30px; font-weight: 900; }
.flow-icon.blue { color: var(--blue); background: #dbeafe; }
.step-label { margin: 0 0 16px; color: var(--blue); font-weight: 800; }
.flow-card p:last-child { margin: 0; color: #1f2937; font-size: 17px; line-height: 1.45; }
.install-section { text-align: center; margin-top: 20px; }
.install-section h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.install-section > p { margin: 28px 0 36px; color: var(--muted); font-size: 18px; }
.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; text-align: left; margin-bottom: 34px; }
.install-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 34px; box-shadow: 0 3px 12px rgba(15, 23, 42, .08); }
.install-title { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.install-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 900; flex: 0 0 auto; }
.install-icon.ios { background: #f1f5f9; color: #334155; }
.install-icon.android { background: #dcfce7; color: #16a34a; }
.install-card h3 { margin: 0 0 8px; font-size: 24px; }
.install-card p { margin: 0; color: var(--muted); }
.install-card ol { margin: 22px 0 0; padding-left: 24px; }
.install-card li { padding-left: 8px; margin: 14px 0; color: #1f2937; }
.install-card li::marker { color: var(--blue); font-weight: 900; }
.detail-link { color: var(--blue); font-weight: 800; }
.ready-section { margin-top: 64px; text-align: center; }
.ready-section h2 { margin: 0 0 24px; font-size: 26px; }
.ready-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .steps-grid.six-steps, .install-grid { grid-template-columns: 1fr; } .how-main { padding-top: 40px; } }

.nav-user { font-weight: 800; color: #0f172a; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-notice { max-width: 820px; margin: 24px auto -40px; padding: 14px 18px; border: 1px solid #bbf7d0; border-radius: 12px; background: #f0fdf4; color: #166534; font-weight: 800; text-align: center; }
[hidden] { display: none !important; }
