/* attracc — pre-launch landing. Standalone (Cloudflare Pages). No app/Worker coupling. */

/* ---- FONTS: system fonts only (zero webfont loading) for bulletproof mobile loading.
   iOS uses SF Pro + Hiragino, Android uses Roboto + Noto CJK where available.
   Re-introduce webfonts only after proving they are safe on real iOS. ---- */

:root {
  --bg: #fbf7f8;
  --bg-warm: #fdf6ef;
  --surface: #ffffff;
  --ink: #2d2233;
  --ink-soft: #6b5d68;
  --ink-faint: #9b8a94;
  --rose: #d4627a;
  --rose-deep: #b84e66;
  --rose-soft: #e88da0;
  --rose-light: #f5d5dc;
  --rose-bg: #fdf0f3;
  --gold: #d4954a;
  --line: #efe6ea;
  --shadow-rose: 0 24px 60px -28px rgba(184, 78, 102, 0.35);
  --shadow-soft: 0 18px 50px -30px rgba(45, 34, 51, 0.30);
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ja: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --font-serif-ja: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.1 0 0 0 0 0.16 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, #f7d2e0 0, #fadee1 240px, #fde4de 470px, #fcede9 690px, var(--bg) 1120px) no-repeat var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- language toggle: both langs in DOM, CSS shows active (SEO + no innerHTML) ---- */
[data-show="en"] { display: none; }
html[data-lang="en"] [data-show="ja"] { display: none; }
html[data-lang="en"] [data-show="en"] { display: revert; }

/* CJK-safe wrapping contract */
[lang="ja"], html[data-lang="ja"] {
  font-family: var(--font-ja);
  word-break: keep-all;
  overflow-wrap: normal;
}
[lang="ja"] h1, [lang="ja"] h2, [lang="ja"] h3, .ja-head {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
}
/* premium-feminine serif for Japanese display headings */
html[data-lang="ja"] .hero h1,
html[data-lang="ja"] .section-head h2,
html[data-lang="ja"] .promise h2,
html[data-lang="ja"] .wl-card h2,
[lang="ja"].serif, .serif [lang="ja"] {
  font-family: var(--font-serif-ja);
  font-weight: 600;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- brand wordmark ---- */
.brand { font-weight: 600; letter-spacing: -0.01em; font-family: var(--font); }
.brand .tt { color: var(--ink-faint); }
.brand .cc { color: var(--rose); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff; box-shadow: var(--shadow-rose);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 28px 64px -26px rgba(184,78,102,.55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rose-soft); color: var(--rose-deep); transform: translateY(-1px); }
.btn-sm { padding: 11px 20px; font-size: 15px; }

/* ---- header ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(251, 247, 248, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
header.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-size: 24px; display: inline-flex; align-items: center; }
.brand-palm { width: 26px; height: 28px; margin-left: 8px; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  background: var(--surface); font-size: 13px; font-weight: 600;
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer; padding: 8px 13px; color: var(--ink-faint);
  font-family: var(--font); transition: background .2s, color .2s;
}
.lang-toggle button.active { background: var(--rose); color: #fff; }

/* ---- background ambience ---- */
.ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob.b1 { width: 540px; height: 540px; top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, #fbdfe5, transparent 70%); }
.blob.b2 { width: 460px; height: 460px; top: 280px; left: -180px;
  background: radial-gradient(circle at 40% 40%, #f8e8ec, transparent 70%); }
.blob.b3 { width: 420px; height: 420px; top: 1200px; right: -120px;
  background: radial-gradient(circle at 50% 50%, #f0edf8, transparent 70%); }

/* ---- section rhythm ---- */
section { padding: 84px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--rose-deep);
  background: var(--rose-bg); padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 2.3vw, 21px); color: var(--ink-soft); line-height: 1.75; }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { margin-bottom: 18px; }

/* ---- hero ---- */
.hero { padding: 64px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--rose); }
.hero .lead { margin-bottom: 34px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }

/* hero visual — CSS/SVG product hint card */
.hero-art { position: relative; }
.hero-card {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); padding: 26px; position: relative; z-index: 2;
}
.hero-card .hc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-card .hc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--rose-light); }
.hero-card .hc-dot:nth-child(2) { background: #f6e4c8; }
.hero-card .hc-dot:nth-child(3) { background: #d9ead1; }
.hc-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px;
  background: var(--bg); margin-bottom: 12px; }
.hc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--rose-bg); color: var(--rose-deep); flex-shrink: 0; }
.hc-icon.g { background: #eef6ee; color: #5a8a5a; }
.hc-icon.gold { background: #fbf2e3; color: var(--gold); }
.hc-bar { flex: 1; }
.hc-bar .l1 { height: 9px; width: 62%; background: #e9dfe5; border-radius: 6px; margin-bottom: 7px; }
.hc-bar .l2 { height: 7px; width: 40%; background: #f0e8ed; border-radius: 6px; }
.hero-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-soft); padding: 14px 18px; z-index: 3;
  display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 14px;
}
.hero-float.f1 { top: -22px; left: -26px; }
.hero-float.f2 { bottom: -20px; right: -18px; }
.hero-float .pulse { width: 9px; height: 9px; border-radius: 50%; background: #4caf7d;
  box-shadow: 0 0 0 0 rgba(76,175,125,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(76,175,125,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,125,0); } }

/* ---- trust strip ---- */
.trust { padding: 30px 0 46px; }

/* ---- ecosystem strip: what attracc is, at a glance ---- */
.eco { padding: 38px 0 30px; text-align: center; }
.eco-line { max-width: 660px; margin: 0 auto 30px; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); }
.eco-box { position: relative; max-width: 980px; margin: 0 auto; border: 1.5px solid var(--rose-light);
  border-radius: 26px; background: rgba(255, 255, 255, 0.55); padding: 36px 22px 24px;
  box-shadow: var(--shadow-soft); }
.eco-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; font-size: 12.5px;
  font-weight: 700; padding: 6px 16px; border-radius: 999px; letter-spacing: 0.04em; }
.eco-tag wbr { display: none; } /* pill is one line; suppress BudouX break points */
.eco-flow { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.eco-node { flex: 1; max-width: 205px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 10px 12px; }
.eco-node strong { display: block; font-size: 14.5px; letter-spacing: -0.01em; }
.eco-node small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-faint); }
.eco-arrow { align-self: center; color: var(--rose); font-weight: 700; font-size: 18px; line-height: 1; }
@media (max-width: 760px) {
  .eco-flow { flex-direction: column; align-items: center; gap: 5px; }
  .eco-node { width: 100%; max-width: 320px; }
  .eco-arrow { transform: rotate(90deg); font-size: 16px; }
  .eco-box { padding: 32px 18px 20px; }
}
.trust-inner { text-align: center; }
.trust-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--rose-deep); margin-bottom: 18px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 10px; justify-content: center; }
.chip { font-size: 14px; font-weight: 600; color: var(--ink-soft); background: rgba(255,255,255,0.7);
  border: 1px solid var(--rose-light); padding: 10px 18px; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* constellation accents — semi-transparent star geometry (palm / setting sun / sakura) */
.band, .waitlist, .audience { position: relative; }
.band > .wrap, .waitlist > .wrap, .audience > .wrap { position: relative; }
.cst { position: absolute; pointer-events: none; }
.cst .b, .brand-palm .b { animation: cst-twinkle 5.5s ease-in-out infinite alternate; }
.cst .b:nth-of-type(odd) { animation-delay: 2.6s; }
@keyframes cst-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cst .b { animation: none; } }
.cst-sun { left: 50%; transform: translateX(-50%); bottom: 2px; width: 250px; }
.cst-palm { right: 5%; bottom: 26px; width: 175px; }
.cst-sakura { right: 30px; top: 26px; width: 150px; }
footer { position: relative; }
footer > .wrap { position: relative; }
.cst-waves { left: 50%; transform: translateX(-50%); top: 16px; width: 300px; }
@media (max-width: 760px) {
  .cst-sun { width: 195px; bottom: 0; }
  .cst-palm { width: 112px; right: 4%; bottom: -100px; }
  .cst-sakura { width: 104px; right: 12px; top: auto; bottom: 8px; }
  .cst-waves { display: none; } /* mobile footer belongs to the palm */
}

/* dot-grid texture accents — sparse, sunset-rose, fade out via mask */
.flow, .compare { position: relative; }
.flow::before, .compare::before { content: ""; position: absolute; width: 230px; height: 230px;
  background-image: radial-gradient(rgba(212, 98, 122, 0.32) 1.4px, transparent 1.6px);
  background-size: 17px 17px; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent); }
.flow::before { top: 22px; right: 3%; }
.compare::before { bottom: 30px; left: 2%; }
@media (max-width: 760px) { .flow::before, .compare::before { width: 150px; height: 150px; opacity: 0.7; } }

/* ---- problem ---- */
.problem { background: transparent; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.pcard .pemoji { font-size: 30px; margin-bottom: 14px; }
.pcard h3 { margin-bottom: 8px; }
.pcard p { color: var(--ink-soft); font-size: 15.5px; }
.pcard p { margin-bottom: 16px; }
.pcard .fix { display: block; margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line);
  font-size: 14px; font-weight: 600; color: var(--rose-deep); }
.pcard .fix::before { content: "→ "; color: var(--rose); font-weight: 700; }

/* ---- promise ---- */
.promise { text-align: center; }
.promise h2 { max-width: 760px; margin: 0 auto 20px; }
.promise h2 .accent { color: var(--rose); }
.promise .lead { max-width: 600px; margin: 0 auto; }

/* ---- pillars ---- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-rose); border-color: var(--rose-light); }
.pillar .picon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--rose-bg); color: var(--rose-deep); margin-bottom: 20px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }
.pillar .ptag { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600;
  color: var(--rose-deep); }

/* ---- audience ---- */
.audience { background: linear-gradient(168deg, #fdf5f1 0%, #fcebe5 58%, #fbe3e4 100%);
  border-radius: 40px; margin: 0 24px; padding: 0; }
.audience .wrap { padding-top: 60px; padding-bottom: 60px; }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.aud { text-align: center; padding: 28px 16px; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); }
.aud .aemoji { font-size: 34px; margin-bottom: 12px; }
.aud .alabel { font-weight: 600; font-size: 16px; }

/* ---- waitlist ---- */
.waitlist { text-align: center; }
.wl-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(155deg, #fff9f5 0%, #fce3de 55%, #fbdce4 100%);
  border: 1px solid var(--rose-light); border-radius: var(--radius-lg);
  padding: 56px 40px; box-shadow: var(--shadow-rose);
}
.wl-card h2 { margin-bottom: 16px; }
.wl-card .lead { margin-bottom: 30px; }
.wl-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.wl-form input[type="email"] {
  flex: 1; min-width: 220px; font-family: var(--font); font-size: 16px;
  padding: 15px 20px; border-radius: 999px; border: 1px solid var(--rose-light);
  background: #fff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.wl-form input[type="email"]:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(212,98,122,.14); }
.wl-form input[type="email"]::placeholder { color: var(--ink-faint); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* honeypot */
.wl-fine { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.wl-msg { margin-top: 20px; font-weight: 600; min-height: 24px; }
.wl-msg.ok { color: #3f8f63; }
.wl-msg.err { color: var(--rose-deep); }
.wl-success { display: none; }
.wl-form.done { display: none; }
.wl-card.done .wl-success { display: block; }

/* ---- footer ---- */
footer { padding: 96px 0 50px; border-top: 0; margin-top: 24px;
  background: linear-gradient(180deg, rgba(251, 247, 248, 0) 0%, #fce2dd 52%, #f8d6dd 100%); }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 360px; }
.foot-brand .brand { font-size: 26px; }
.foot-brand p { margin-top: 14px; color: var(--ink-soft); font-size: 14.5px; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: 15px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--rose-deep); }
.foot-bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px 18px; flex-wrap: wrap;
  color: var(--ink-faint); font-size: 13.5px; }
.foot-lang { font-size: 12px; }
.foot-lang button { padding: 6px 11px; }

/* ---- reveal animation ---- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .reveal { opacity: 1; transform: none; transition: none; } .hero-float .pulse, .photo-float .pulse { animation: none; } }

/* ---- legal pages ---- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 10px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 23px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--rose-deep); text-decoration: underline; }
.legal .back { display: inline-block; margin-bottom: 30px; font-weight: 600; color: var(--rose-deep); }
.legal .operator { background: rgba(255,255,255,0.72); border: 1px solid var(--rose-light);
  border-radius: 16px; padding: 16px 20px; font-size: 15px; line-height: 1.9;
  color: var(--ink-soft); margin: 20px 0 8px; }
.legal .operator strong { color: var(--ink); }

/* ===== imagery + Japanese-LP elements (rework) ===== */

/* photo frames */
.photo-frame { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); background: var(--surface); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame.tilt { transform: rotate(-1.2deg); }

/* hero photo + overlaid stamps */
.hero-photo { position: relative; }
.hero-photo .photo-frame { aspect-ratio: 4 / 3.1; }
.hero-photo .deco-leaf { position: absolute; z-index: 0; opacity: .5; }

/* circular stamp / seal (丸スタンプ) */
.stamp { position: absolute; z-index: 4; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--surface);
  box-shadow: var(--shadow-rose); border: 2px dashed var(--rose-soft); color: var(--rose-deep);
  font-weight: 700; font-size: 14px; line-height: 1.35; padding: 10px; transform: rotate(-8deg); }
.stamp.solid { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff;
  border-color: rgba(255,255,255,.6); }
.stamp.s1 { top: -26px; right: 8%; }
.stamp.s2 { bottom: -22px; left: -22px; transform: rotate(7deg); }
.stamp .sub { display: block; font-size: 10px; font-weight: 600; opacity: .8; letter-spacing: .04em; }

/* status pill float (reused look) */
.photo-float { position: absolute; z-index: 5; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-soft); padding: 12px 16px; display: flex; align-items: center;
  gap: 10px; font-weight: 600; font-size: 14px; }
.photo-float .pulse { width: 9px; height: 9px; border-radius: 50%; background: #4caf7d;
  box-shadow: 0 0 0 0 rgba(76,175,125,.5); animation: pulse 2.4s infinite; }

/* ribbon label */
.ribbon { display: inline-flex; align-items: center; gap: 7px; background: var(--rose); color: #fff;
  font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 7px 16px 7px 14px; border-radius: 8px;
  position: relative; box-shadow: var(--shadow-rose); }
.ribbon::before { content: "POINT"; font-size: 10px; opacity: .85; font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.5); padding-right: 7px; }

/* differentiation rows (vs typical tools) */
.diff { position: relative; }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.diff-card { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; overflow: hidden; }
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-rose); border-color: var(--rose-light); }
.diff-card .num { position: absolute; top: 18px; right: 22px; font-family: var(--font); font-weight: 700;
  font-size: 46px; color: var(--rose-light); line-height: 1; }
.diff-card .picon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--rose-bg); color: var(--rose-deep); margin-bottom: 18px; font-size: 22px; }
.diff-card h3 { margin-bottom: 10px; padding-right: 40px; }
.diff-card p { color: var(--ink-soft); font-size: 15.5px; }
.diff-card .vs { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-faint);
  border-top: 1px dashed var(--line); padding-top: 12px; }
.diff-card .vs b { color: var(--rose-deep); font-weight: 600; }

/* split feature (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media .photo-frame { aspect-ratio: 5 / 4; }
.split-copy h2 { margin-bottom: 18px; }
.split-list { margin-top: 22px; display: grid; gap: 14px; }
.split-list .li { display: flex; gap: 12px; align-items: flex-start; }
.split-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--rose-bg);
  color: var(--rose-deep); display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 700; margin-top: 2px; }
.split-list .li p { color: var(--ink-soft); font-size: 15.5px; }
.split-list .li b { color: var(--ink); }

/* use-case strip with photos */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.uc { text-align: center; }
.uc .photo-frame { aspect-ratio: 1 / 1; margin-bottom: 14px; }
.uc .uc-label { font-weight: 600; font-size: 16px; }
.uc .uc-sub { font-size: 13px; color: var(--ink-faint); margin-top: 2px; }

/* dotted petal pattern accent */
.dot-pattern { position: absolute; width: 120px; height: 120px; opacity: .5; z-index: 0;
  background-image: radial-gradient(var(--rose-light) 2.2px, transparent 2.4px);
  background-size: 18px 18px; }

/* ===== full-bleed overlay hero (image + text-safe-zone scrim) ===== */
.hero-full { position: relative; width: 100%; min-height: clamp(520px, 70vh, 680px);
  display: flex; align-items: center; overflow: hidden; }
.hero-full picture { display: contents; }
.hero-bg { position: absolute; right: 0; top: 0; width: 56%; height: 100%; object-fit: cover;
  object-position: 60% 26%; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.hero-scrim { position: absolute; right: 0; top: 0; width: 70%; height: 100%; z-index: 1; background:
  linear-gradient(to right, #fde4de 0%, #fde4de 7%, rgba(253,228,222,0.7) 26%, rgba(253,228,222,0) 60%); }
.hero-full-inner { position: relative; z-index: 2; }
.hero-full .hero-copy { max-width: 500px; }
.nb { white-space: nowrap; }

/* ===== how-it-works flow ===== */
.flow { position: relative; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 4px; }
.fstep { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; }
.fstep .fnum { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep)); box-shadow: var(--shadow-rose); }
.fstep h3 { margin-bottom: 9px; }
.fstep p { color: var(--ink-soft); font-size: 15px; }
.fstep p { margin-bottom: 16px; }
.fstep .fpain { display: block; margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line);
  font-size: 13px; font-weight: 600; color: var(--rose-deep); }
/* connector arrows between steps (desktop) */
.fstep:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 48px; z-index: 2;
  color: var(--rose-soft); font-weight: 700; font-size: 20px; line-height: 1; }
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fstep:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) { .flow-steps { grid-template-columns: 1fr; } }

/* ===== comparison table (従来のツール vs attracc) ===== */
.compare { position: relative; }
.ctable { max-width: 880px; margin: 48px auto 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 1fr 1.15fr; }
.ctable > div { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; min-width: 0; }
/* CJK-safe wrap: breaks only at BudouX <wbr> + punctuation (static markers from compile) */
.ctable .feat, .ctable .trad, .ctable .att { word-break: keep-all; overflow-wrap: normal; line-break: strict; }
.ctable .ch { font-weight: 700; font-size: 15px; background: var(--bg); border-bottom: 2px solid var(--line); }
.ctable .ch.attracc { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff;
  justify-content: center; border-bottom-color: var(--rose-deep); }
.ctable .ch.trad { color: var(--ink-faint); justify-content: center; }
.ctable .feat { font-weight: 600; font-size: 14.5px; color: var(--ink); background: var(--bg); }
.ctable .trad { color: var(--ink-faint); font-size: 14px; justify-content: flex-start; text-align: left; }
.ctable .att { background: var(--rose-bg); color: var(--ink); font-size: 14px; font-weight: 600;
  justify-content: flex-start; text-align: left; align-items: flex-start; }
.ctable .att .ic { color: #fff; background: var(--rose); width: 19px; height: 19px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.ctable .trad .ic { color: var(--ink-faint); font-size: 15px; }
.ctable > div:nth-last-child(-n+3) { border-bottom: 0; }
.compare-note { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 16px; }

/* ===== small use-case thumbnails (sparing imagery) ===== */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.persona { background: rgba(255, 255, 255, 0.66); border: 1px solid var(--rose-light);
  border-radius: 22px; padding: 22px 24px 20px; text-align: left; }
.persona .p-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.persona .thumb { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 3px solid var(--surface); box-shadow: var(--shadow-soft); }
.persona .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.persona .p-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.persona .p-line { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }
.persona .p-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.persona .ps-chip { font-size: 12.5px; font-weight: 600; color: var(--rose-deep);
  background: var(--rose-bg); border: 1px solid var(--rose-light); border-radius: 999px; padding: 5px 12px; }
@media (max-width: 760px) {
  .persona-grid { grid-template-columns: 1fr; gap: 14px; }
  .persona { padding: 20px 18px 18px; }
}

/* text-only ownership/promise band */
.band { text-align: center;
  background: radial-gradient(56% 64% at 50% 92%, rgba(247, 210, 224, 0.4), rgba(247, 210, 224, 0) 72%); }
.band .lead { max-width: 600px; margin: 0 auto; }
.band-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.band-list .bl { display: inline-flex; align-items: center; gap: 9px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; }
.band-list .bl .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--rose-bg);
  color: var(--rose-deep); display: grid; place-items: center; font-size: 11px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  section { padding: 66px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 440px; margin: 0 auto; width: 100%; }
  .cards-3, .pillars-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .split-media { max-width: 480px; margin: 0 auto; width: 100%; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 58px 0; }
  .section-head { margin-bottom: 34px; }
  .band-list { flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
  .audience { margin: 0 14px; }
  .audience .wrap { padding-top: 46px; padding-bottom: 46px; }
  footer { padding-top: 76px; }
  .ambient { display: none; }
  .wrap { padding: 0 18px; }
  .nav-right .btn { display: none; }
  .wl-card { padding: 40px 22px; }
  .hero-float.f1 { left: -8px; top: -14px; }
  .hero-float.f2 { right: -6px; }
  .foot-links { gap: 28px; }
  .stamp { width: 82px; height: 82px; font-size: 11.5px; }
  .stamp.s1 { right: 4%; top: -18px; }
  .stamp.s2 { left: -8px; }
  .dot-pattern { display: none; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  /* mobile hero: full-bleed image, text composited over a warm bottom scrim */
  .hero-full { min-height: 90vh; min-height: 90svh; flex-direction: column; align-items: stretch;
    justify-content: flex-end; padding-bottom: 28px; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    object-position: 62% 16%; -webkit-mask-image: none; mask-image: none; z-index: 0; }
  .hero-scrim { display: block; position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; z-index: 1;
    background: linear-gradient(to top,
      var(--bg) 0%, var(--bg) 7%, rgba(253,231,218,0.95) 32%, rgba(253,231,218,0.72) 48%,
      rgba(253,231,218,0.3) 66%, rgba(253,231,218,0) 84%); }
  .hero-full-inner { position: relative; z-index: 2; padding-top: 0; }
  .hero-full .hero-copy { max-width: 100%; }
  .hero-full h1 { font-size: clamp(33px, 9vw, 44px); margin-bottom: 16px; }
  .hero-full .lead { margin-bottom: 22px; }
  .hero-full .eyebrow { margin-bottom: 16px; }
  .ctable { grid-template-columns: 1fr 0.85fr 0.95fr; }
  .ctable > div { padding: 12px 9px; }
  .ctable .ch, .ctable .feat { font-size: 12px; }
  .ctable .trad, .ctable .att { font-size: 11.5px; gap: 5px; }
  .ctable .att { flex-direction: row; gap: 5px; align-items: flex-start; }
  .ctable .att .ic { width: 15px; height: 15px; font-size: 9px; margin-top: 2px; }
  .uc-mini { gap: 24px 28px; }
  .ucm, .ucm .thumb { width: 112px; }
  .ucm .thumb { height: 112px; }
}
