:root {
    --text: #202224;
    --muted: #596168;
    --green: #477849;
    --green-dark: #356b3a;
    --green-soft: #e8eddf;
    --line: #e2e5e1;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

img { display: block; max-width: 100%; }

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

.container { width: min(100% - 40px, 1180px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }

.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.header-inner nav { display: flex; gap: 30px; color: var(--muted); font-size: .9375rem; }
.header-inner nav a:hover { color: var(--green-dark); }

.hero { min-height: 610px; padding-block: 70px 85px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 90px); }

.hero-copy { max-width: 560px; }

.eyebrow { margin-bottom: 18px; color: var(--green-dark); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.hero h1 { margin-bottom: 26px; font-size: clamp(2.8rem, 4.3vw, 4.3rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.13; }

.hero-copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 31px; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }

.primary-button { min-height: 50px; padding: 11px 22px; display: inline-flex; align-items: center; gap: 20px; border-radius: 100px; background: var(--green); color: var(--white); font-size: 1rem; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-2px); }
.primary-button span { font-size: 1.25rem; line-height: 1; }

.hero-visual { display: grid; place-items: center; }
.hero-visual img { width: min(100%, 455px); border-radius: 30%; object-fit: contain; }

.section { border-top: 1px solid var(--line); }

.feature-section, .benefits-section, .details-section { padding-block: clamp(80px, 8vw, 120px); }

.feature-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(50px, 7vw, 100px); }

.screenshot-wrap { padding: 30px; display: grid; place-items: center; border-radius: 32px; background: var(--green-soft); }
.screenshot-wrap img { width: min(100%, 375px); height: auto; border-radius: 23px; box-shadow: 0 20px 45px rgba(24, 55, 31, .12); }

.feature-copy h2 { margin-bottom: 42px; font-size: clamp(2.2rem, 3.3vw, 3.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.18; }

.feature-items { display: grid; gap: 29px; }

.feature-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 22px; }

.icon-circle { width: 48px; height: 48px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: .875rem; font-weight: 700; }

.feature-item h3, .benefit h3, .detail-card h3 { margin: 0 0 9px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.feature-item p, .benefit p, .detail-card p { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.centered-title { max-width: 800px; margin: 0 auto 60px; text-align: center; font-size: clamp(2.3rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.22; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.benefit { padding: 12px 20px 20px; }
.benefit .icon-circle, .detail-card .icon-circle { margin-bottom: 22px; }

.section-heading { max-width: 790px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin-bottom: 17px; font-size: clamp(2.3rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.2; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-card { min-height: 215px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; }

.privacy-section { padding-block: 105px 115px; }
.privacy-inner { max-width: 780px; text-align: center; }
.privacy-mark { display: block; height: 42px; color: #9da7a0; font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.privacy-inner h2 { margin: 24px 0 24px; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.38; }
.privacy-inner p { margin-bottom: 26px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.privacy-inner a { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: 1rem; font-weight: 700; }
.privacy-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }


/* Privacy policy: same quiet white canvas as the app page. */
.policy-hero { padding: 74px max(20px, calc((100% - 1180px) / 2)) 70px; border-bottom: 1px solid var(--line); }
.policy-hero-top, .policy-hero-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .875rem; }
.policy-hero-top a { color: var(--green-dark); }
.policy-hero h1 { margin: 45px 0 38px; font-size: clamp(3.2rem, 5vw, 5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.08; }
.policy-hero h1 em { color: var(--green-dark); font-style: normal; }
.policy-hero-bottom { padding-top: 20px; border-top: 1px solid var(--line); }

.policy-body { width: min(100% - 40px, 1180px); margin-inline: auto; padding-block: 70px 110px; display: grid; grid-template-columns: minmax(220px, .3fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 85px); }
.policy-aside { align-self: start; position: sticky; top: 24px; }
.policy-aside h2 { margin-bottom: 15px; font-size: 1.25rem; }
.policy-toc { max-height: calc(100vh - 90px); overflow: auto; padding-right: 8px; }
.policy-toc ol { margin: 0; padding: 0; list-style: none; }
.policy-toc li { border-bottom: 1px solid var(--line); }
.policy-toc a { padding: 10px 0; display: grid; grid-template-columns: 29px 1fr; gap: 10px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.policy-toc a:hover { color: var(--green-dark); }
.policy-toc a span { color: var(--green-dark); font-size: .75rem; font-weight: 700; }
.policy-content { max-width: 740px; }
.policy-lead { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.policy-lead p { font-size: 1.0625rem; line-height: 1.75; }
.policy-lead p:last-child { margin-bottom: 0; }
.policy-content section { padding-block: 34px 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.policy-content section h2 { margin-bottom: 20px; font-size: clamp(1.6rem, 2.2vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
.policy-content section h3 { margin: 26px 0 9px; font-size: 1.25rem; font-weight: 700; }
.policy-content section p { margin-bottom: 16px; color: #3c4541; font-size: 1rem; line-height: 1.8; }
.policy-content section p:last-child { margin-bottom: 0; }
.provider-list { margin: 8px 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.provider-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: #3c4541; line-height: 1.7; }
.provider-list li strong { display: block; margin-bottom: 4px; color: var(--text); }
.policy-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.policy-mobile-toc { display: none; }
.policy-back { padding: 75px max(20px, calc((100% - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 1px solid var(--line); }
.policy-back h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; letter-spacing: -.035em; }

@media (max-width: 900px) {
    .hero { min-height: auto; gap: 25px; }
    .hero-visual img { width: min(100%, 390px); }
    .feature-layout { gap: 40px; }
    .screenshot-wrap { padding: 18px; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 32px, 1180px); }
    .header-inner { min-height: 72px; }
    .header-inner nav { gap: 16px; font-size: .875rem; }
    .hero { padding-block: 65px 75px; grid-template-columns: 1fr; text-align: center; }
    .hero-copy { margin-inline: auto; }
    .hero h1 { font-size: clamp(2.7rem, 9vw, 3.6rem); }
    .hero-visual { margin-top: 10px; }
    .hero-visual img { width: min(78vw, 360px); }
    .feature-section, .benefits-section, .details-section { padding-block: 70px; }
    .feature-layout { grid-template-columns: 1fr; }
    .screenshot-wrap { width: min(100%, 450px); margin-inline: auto; }
    .feature-copy h2 { font-size: 2.2rem; }
    .benefit-grid { grid-template-columns: 1fr; gap: 14px; }
    .benefit { padding: 13px 0 18px; }
    .detail-grid { grid-template-columns: 1fr; }
    .privacy-section { padding-block: 75px 85px; }
    .policy-hero { padding-block: 55px; }
    .policy-hero h1 { font-size: clamp(2.8rem, 9vw, 4rem); }
    .policy-hero-bottom { flex-direction: column; gap: 7px; }
    .policy-body { display: block; padding-block: 45px 80px; }
    .policy-aside { display: none; }
    .policy-mobile-toc { display: block; margin-bottom: 45px; border-block: 1px solid var(--line); }
    .policy-mobile-toc summary { padding: 16px 0; cursor: pointer; font-weight: 700; }
    .policy-mobile-toc .policy-toc { max-height: none; padding-bottom: 16px; }
    .policy-back { padding-block: 55px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
    .header-inner nav a:first-child { display: none; }
    .hero h1 { font-size: 2.6rem; }
    .feature-item { grid-template-columns: 42px minmax(0, 1fr); gap: 15px; }
    .icon-circle { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
