/* Simply BP site: the "ink" theme of the original landing, shared by every page. */
:root {
  --ink: #1E2739; --ink-2: #26314A; --ink-3: #34436B;
  --cream: #F6F1E7; --coral: #E8735F;
  --bg: #F7F5F0; --card: #FFFFFF; --text: #1A2133; --muted: #545D70; --line: #E4E1D9;
  --accent: #2E3D63; --tint: #E6E9F0;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11151F; --card: #1A2030; --text: #F2F3F6; --muted: #AEB5C4; --line: #2A3245;
          --accent: #A9B8DC; --tint: #2A3245; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
       -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif;
             letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0; line-height: 1.35; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { background: var(--ink); color: #fff; position: relative; z-index: 5; }
.nav { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
           padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.langpick { position: relative; }
.langpick summary { list-style: none; cursor: pointer; color: rgba(255,255,255,.85); font-weight: 700; font-size: 14px;
                    border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 12px; }
.langpick summary::-webkit-details-marker { display: none; }
.langmenu { position: absolute; right: 0; top: 42px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
            padding: 6px; min-width: 150px; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.langmenu a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 16px; }
.langmenu a.active { background: var(--tint); font-weight: 700; }

/* Hero */
.hero { background-color: var(--ink); color: #fff; overflow: hidden;
        background-image: radial-gradient(at 8% 10%, rgba(74,92,138,.9) 0, transparent 45%),
                          radial-gradient(at 95% 15%, rgba(52,67,107,.8) 0, transparent 40%),
                          radial-gradient(at 75% 100%, rgba(15,20,32,.95) 0, transparent 55%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 40px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 8px 0 18px; font-weight: 800; }
.kicker { display: block; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
          color: var(--coral); margin-bottom: 14px; }
:lang(ja) .kicker { letter-spacing: .02em; }
.hero p.lead { font-size: 20px; color: rgba(255,255,255,.82); margin: 0 0 20px; max-width: 30em; }
.why { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; color: rgba(255,255,255,.9); }
.why li { position: relative; padding-left: 22px; }
.why li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px;
                  border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 48px; width: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none;
       font-weight: 700; font-size: 16px; padding: 12px 20px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.fine { margin: 16px 0 56px; font-size: 15px; color: rgba(255,255,255,.65); }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-end; }
.phone { width: 46%; max-width: 250px; border-radius: 34px; background: #0B0E14; padding: 6px;
         box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 8px 18px rgba(0,0,0,.3); }
.phone img { display: block; width: 100%; border-radius: 29px; }
.hero .phone { margin-bottom: -60px; }
.hero .phone.up { transform: translateY(-44px); }

section { padding: 96px 0 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; max-width: 18em; }
.intro { color: var(--muted); max-width: 36em; margin: 16px 0 0; font-size: 19px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center;
                width: 34px; height: 34px; border-radius: 50%; background: var(--ink-2); color: var(--cream);
                font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.split:first-child { margin-top: 0; }
.split.rev .media { order: 2; }
.media { display: flex; justify-content: center; }
.media .phone { width: 64%; max-width: 280px; }
.copy h3 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.copy p { color: var(--muted); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { background: var(--tint); color: var(--accent); font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* Printable sheets */
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.sheet-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; background: var(--card);
              border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.sheet-img { display: block; line-height: 0; }
.sheet-img img { width: 100%; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(20,25,40,.14); background: #fff; }
.sheet-card h3 { font-size: 21px; margin-bottom: 6px; }
.sheet-card h3 a { color: inherit; text-decoration: none; }
.sheet-card p { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.sheet-card .btn, .sheet-block .btn { font-size: 15px; padding: 10px 16px; }
@media (prefers-color-scheme: dark) { .btn:not(.ghost) { background: #fff; color: var(--ink); } }
.sheet-app { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; padding: 14px 18px;
             background: var(--tint); border-radius: 16px; }
.sheet-app p { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); flex: 1 1 260px; }
.sheet-app .store-badge img { height: 40px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.tile svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.tile h3 { font-size: 19px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }

.strip { display: flex; gap: 20px; overflow-x: auto; padding: 40px 20px 30px; margin: 0 -20px;
         scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { margin: 0; flex: 0 0 220px; scroll-snap-align: center; text-align: center; }
.strip .phone { width: 100%; border-radius: 30px; padding: 5px; box-shadow: 0 18px 36px rgba(20,25,40,.22); }
.strip .phone img { border-radius: 26px; }
@media (min-width: 861px) { .strip { overflow: visible; margin: 0; padding: 48px 0 0; } .strip figure { flex: 1 1 0; } }
.strip figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.plan.pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan .sub { margin: 6px 0 18px; color: var(--muted); font-size: 16px; }
.plan.pro .sub { color: rgba(255,255,255,.7); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 9px 0 9px 30px; position: relative; border-top: 1px solid var(--line); font-size: 16px; }
.plan.pro li { border-color: rgba(255,255,255,.12); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px;
                   border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }

/* FAQ */
.faq { margin-top: 32px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta { margin: 96px 0 0; background: var(--ink); color: #fff; border-radius: 28px; padding: 48px 32px; text-align: center;
       background-image: radial-gradient(at 15% 0%, rgba(74,92,138,.8) 0, transparent 55%); }
.cta img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.cta h2 { margin: 18px auto 10px; }
.cta p { color: rgba(255,255,255,.75); margin: 0 0 26px; }

.note { margin-top: 40px; font-size: 15px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; max-width: 760px; }

/* Inner pages */
.page { padding-top: 48px; padding-bottom: 24px; max-width: 820px; }
.page h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; margin-bottom: 14px; }
.page .lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.page article h2, .page > h2 { font-size: 26px; margin: 36px 0 10px; }
.page article p, .page article li, .page > p { color: var(--text); }
.page article li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.legal .summary { background: var(--card); border-left: 4px solid var(--coral); border-radius: 12px; padding: 16px 20px; font-weight: 600; }
.legal article p { color: var(--muted); }
.page-cta { margin-top: 36px; }
.post-back { margin: 0 0 18px; font-size: 15px; }
.post-date { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.post-disclaimer { font-size: 15px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-top: 32px; }
.post-disclaimer.top { margin: 0 0 24px; }
.post article h2 { font-size: 26px; }
.sources { padding: 8px 0 0; margin-top: 32px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 20px !important; }
.sources li { font-size: 15px; color: var(--muted) !important; word-break: break-word; }
.sources cite { font-style: normal; }
.sheet-block { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; background: var(--card);
               border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin: 28px 0; }
.sheet-block .sheet-name { font-weight: 800; font-size: 19px; margin: 0 0 4px; }
.sheet-block .sheet-name a { color: inherit; }
.sheet-block p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.sheet-block .sheet-app { grid-column: 1 / -1; margin-top: 4px; }
.post-cta { display: flex; gap: 18px; align-items: flex-start; background: var(--ink); color: #fff; border-radius: 22px; padding: 24px; margin-top: 40px; }
.post-cta img { border-radius: 14px; flex: none; }
.post-cta h2 { font-size: 22px; margin-bottom: 6px; }
.post-cta p { color: rgba(255,255,255,.78); margin: 0 0 14px; font-size: 16px; }
.postcards { display: grid; gap: 16px; }
.postcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--text); }
.postcard h2 { font-size: 23px; margin-bottom: 8px; max-width: none; }
.postcard p { color: var(--muted); margin: 0 0 8px; font-size: 16px; }
.sheet-hero { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.sheet-hero .paper { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.sheet-page article { margin-top: 12px; }
.source-list { padding-left: 22px; }
.source-list li { margin: 0 0 22px; }
.source-list cite { display: block; font-style: normal; font-weight: 700; }
.source-list .citation { display: block; color: var(--muted); font-size: 16px; }
.source-list a { font-size: 15px; word-break: break-all; }
.source-list .used { display: block; font-size: 16px; margin-top: 4px; }
.support .faq { margin-top: 12px; }

footer.site { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 15px; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer.site a { color: var(--muted); }
footer.site p { margin: 6px 0; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; }
  .fine { margin-bottom: 40px; }
  .hero .phone { margin-bottom: -40px; }
  .hero .phone.up { transform: translateY(-28px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .plans, .sheet-grid { grid-template-columns: 1fr; gap: 24px; }
  .split.rev .media { order: 0; }
  .sheet-hero { grid-template-columns: 1fr; }
  .sheet-hero .sheet-img { max-width: 280px; }
  section { padding-top: 72px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 10px; }
  .brand { font-size: 17px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .strip { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .strip figure { flex-basis: 190px; }
  .cta { padding: 40px 20px; }
  .sheet-card, .sheet-block { grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; }
  .post-cta { flex-direction: column; }
  .hero p.lead { font-size: 18px; }
}

/* The hero is a <section> too: no section top padding there. */
section.hero { padding-top: 0; }

/* Printable page: one card per row (the page column is narrow), card titles at card size. */
.sheet-page .sheet-grid { grid-template-columns: 1fr; }
.sheet-page .sheet-card { grid-template-columns: 180px 1fr; }
.sheet-card h2 { font-size: 22px; margin-bottom: 8px; max-width: none; }
.sheet-page article h3 { font-size: 19px; margin: 18px 0 4px; }
.sheet-page article h3 + p { margin-top: 0; }
@media (max-width: 520px) { .sheet-page .sheet-card { grid-template-columns: 96px 1fr; } .sheet-card h2 { font-size: 19px; } }

/* The diary: four cards, each with the top of a screenshot. */
.diary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.diary-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 20px; }
.diary-card .shot { height: 300px; overflow: hidden; border-radius: 22px 22px 8px 8px; background: #0B0E14; padding: 5px 5px 0;
                    box-shadow: 0 12px 26px rgba(20,25,40,.16); margin-bottom: 16px; }
.diary-card .shot img { display: block; width: 100%; height: auto; border-radius: 18px 18px 4px 4px; }
.diary-card.wide-shot .shot { height: 300px; background: transparent; padding: 0; box-shadow: none; display: flex; align-items: center; }
.diary-card.wide-shot .shot img { border-radius: 14px; }
.diary-card h3 { font-size: 19px; margin-bottom: 6px; }
.diary-card p { margin: 0; color: var(--muted); font-size: 16px; }
.extras { margin: 24px 0 0; color: var(--muted); font-size: 17px; max-width: 46em; }
#home-check .split { margin-top: 0; }
#home-check .media .phone { width: 56%; max-width: 250px; }
@media (max-width: 860px) { .diary-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .diary-grid { grid-template-columns: 1fr; } .diary-card .shot { height: 260px; }
  .diary-card.wide-shot .shot { height: auto; } }

/* Before launch: "coming soon" pill instead of the App Store badge (not a link, no Apple marks). */
.store-badge.soon { display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 12px;
                    background: #000; color: #fff; border: 1px solid #A6A6A6; font-weight: 700; font-size: 15px;
                    line-height: 1.2; white-space: nowrap; }
.sheet-app .store-badge.soon { height: 40px; font-size: 14px; }
.nav-cta.soon { background: rgba(255,255,255,.14); color: #fff; cursor: default; }

/* Home: four sheets in a compact 2×2 grid. */
#printable .sheet-card { grid-template-columns: 110px 1fr; padding: 16px; }
#printable .sheet-card h3 { font-size: 18px; }

/* Blog: related posts under an article, the closing disclaimer, the "about this blog" block. */
.related { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; margin: 16px 0 10px; }
.related ul { padding-left: 20px; margin: 0; }
.related li { margin: 8px 0; }
.post-disclaimer.end { margin-top: 28px; }
.blog-about { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); }
.blog-about h2 { font-size: 24px; margin: 16px 0 8px; }
.blog-about p { color: var(--muted); }
