/* Promo home page (EN, FR, JA). Privacy, Support and Review pages use style.css. */
:root {
    --green: #24584b;
    --green-deep: #173d34;
    --sun: #f6a623;
    --text: #1c1c1e;
    --muted: #6e6e73;
    --bg: #fbfbfd;
    --card: #ffffff;
    --line: #e5e5ea;
    --accent: #24584b;
}
@media (prefers-color-scheme: dark) {
    :root { --text: #f2f2f7; --muted: #a1a1a6; --bg: #111113; --card: #1c1c1e; --line: #2c2c2e; --accent: #6cc7ac; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Segoe UI", "Yu Gothic", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
:lang(ja) body, body:lang(ja) { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Hero: a fog layer (canvas) clears along a wandering road and wherever the pointer goes */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(246, 166, 35, 0.35), transparent 32%),
        linear-gradient(160deg, #2f7562 0%, var(--green) 45%, var(--green-deep) 100%);
}
.hero::before {
    /* Faint "streets" under the fog */
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    transform: rotate(-12deg) scale(1.4);
}
#fog { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; pointer-events: none; }
.hero a, .hero nav { pointer-events: auto; }
.topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding-top: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.topbar nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar nav > a { font-size: 15px; text-decoration: none; opacity: 0.9; }
.topbar nav > a:hover { opacity: 1; text-decoration: underline; }

/* Language picker */
.langs {
    display: flex;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 3px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.langs a {
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 999px;
    opacity: 0.85;
}
.langs a:hover { opacity: 1; }
.langs a[aria-current="page"] { background: #fff; color: var(--green-deep); opacity: 1; }

.hero-main {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding-top: 28px;
    padding-bottom: 64px;
}
.hero h1 {
    font-size: clamp(40px, 6.2vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero h1:lang(ja) { font-size: clamp(34px, 5vw, 56px); letter-spacing: 0; line-height: 1.25; }
.hero p.lead { font-size: 20px; line-height: 1.5; max-width: 30em; margin: 0 0 28px; opacity: 0.95; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta img.badge { height: 54px; display: block; }
.cta small { font-size: 14px; opacity: 0.85; }
.hint { margin-top: 26px; font-size: 13px; opacity: 0.7; }
.phone {
    justify-self: center;
    width: min(340px, 80vw);
    border-radius: 34px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

/* Sections */
section { padding: 88px 0; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin: 0 0 8px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 16px; }
h2:lang(ja) { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 0; line-height: 1.35; }
.intro { max-width: 40em; color: var(--muted); font-size: 19px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.feature .icon { font-size: 28px; line-height: 1; }
.feature h3 { font-size: 19px; margin: 14px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.gallery {
    display: flex; gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 24px 24px;
    margin: 40px auto 0;
    max-width: 1080px;
}
.gallery img {
    flex: 0 0 auto;
    width: 250px;
    border-radius: 26px;
    scroll-snap-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.quote {
    background: linear-gradient(160deg, #2f7562, var(--green-deep));
    color: #fff;
    text-align: center;
}
.quote p { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.35; font-weight: 600; max-width: 22em; margin: 0 auto; }
.quote p span { color: var(--sun); }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.checks li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

.pricing { text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 40px auto 0; text-align: left; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.plan.premium { border: 2px solid var(--accent); }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .price { color: var(--muted); margin: 0 0 16px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 6px 0; }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 22px; }

.final { text-align: center; padding-bottom: 64px; }
.final img.appicon { width: 110px; height: 110px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.final h2 { margin-top: 24px; }
.final .intro { margin: 0 auto; }
.final .cta { justify-content: center; margin-top: 24px; }
.contact { color: var(--muted); font-size: 16px; margin: 40px 0 0; }
.contact a { color: var(--accent); font-weight: 600; font-size: 19px; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 16px; }

@media (max-width: 820px) {
    .hero-main { grid-template-columns: 1fr; text-align: center; padding-bottom: 48px; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .cta { justify-content: center; }
    .phone { width: min(280px, 72vw); }
    .features { grid-template-columns: 1fr; }
    .privacy, .plans { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
    .topbar nav > a.hide-small { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
