/* uppilot.jp landing page. Same tokens as the app (app/static/app.css). */
:root {
  --bg: #F3F5FA; --surface: #FFFFFF; --subtle: #F8FAFD; --line: #E6EAF2;
  --text: #0F1B3D; --text-2: #39445E; --muted: #66708A;
  --primary: #2B5CE6; --primary-dark: #1F47C2; --primary-soft: #EDF2FF; --navy: #0E1838;
  --ok: #12965B; --ok-soft: #E7F6EE;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 8px 28px rgba(15, 27, 61, .06);
  --shadow-lift: 0 4px 10px rgba(15, 27, 61, .06), 0 24px 60px rgba(15, 27, 61, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--surface); color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', system-ui, sans-serif; font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { line-height: 1.35; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { flex: none; filter: drop-shadow(0 4px 10px rgba(43, 92, 230, .28)); }
.logo-word { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.03em; line-height: 1; }
.dot { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(43, 92, 230, .32); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-white { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost { background: none; color: var(--text-2); }
.btn-ghost:hover { color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-outline-light { background: none; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(230, 234, 242, .8); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; }
.top-nav a { color: var(--text-2); } .top-nav a:hover { color: var(--primary); }
.top-cta { display: flex; gap: 8px; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px;
  background: radial-gradient(900px 500px at 85% 10%, #E3EBFF 0%, transparent 60%),
              radial-gradient(700px 400px at 0% 100%, #EEF3FF 0%, transparent 60%), var(--surface); }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pill { background: var(--primary-soft); color: var(--primary); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 5.4vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.grad { background: linear-gradient(100deg, #2B5CE6, #5B8CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 18px; color: var(--text-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }

/* App mockup */
.hero-visual { position: relative; }
.app-window { background: var(--bg); border-radius: 22px; box-shadow: var(--shadow-lift); overflow: hidden; border: 1px solid #fff;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E3E7EF; }
.app-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--bg); padding: 2px 12px; border-radius: 6px; }
.app-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; padding: 18px; }
.app-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.app-card.next { grid-row: span 2; }
.mini-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.next-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.next-title { font-weight: 800; font-size: 15px; margin-top: 2px; }
.chip { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.chip-blue { background: var(--primary-soft); color: var(--primary); }
.timeline { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.timeline li { position: relative; padding: 8px 0 8px 26px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 13px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid #CDD5E3; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 27px; bottom: -10px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.timeline span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.timeline .done::before { background: var(--ok); border-color: var(--ok); }
.timeline .done span { color: var(--ok); }
.timeline .now::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline .now span { color: var(--primary); }
.thumbs { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.thumb { position: relative; flex: 1; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb svg { display: block; width: 100%; height: 100%; }
.thumb-badge { position: absolute; left: 2%; top: 2%; width: 26%; }
.arrow { color: var(--muted); font-weight: 700; }
.report-num { font-size: 22px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.report-sub { font-size: 12px; color: var(--muted); }
.up { color: var(--ok); font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 10px; }
.bars i { flex: 1; background: #DCE5FB; border-radius: 4px 4px 2px 2px; }
.bars i.hi { background: var(--primary); }
.float-badge { position: absolute; left: -24px; bottom: -22px; display: flex; align-items: center; gap: 10px; background: #fff;
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lift); font-size: 14px; font-weight: 700; }

/* Sections */
.section { padding: 104px 0; }
.sec-eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.section h2, .cta-band h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.02em; }
.sec-lead { margin-top: 16px; color: var(--text-2); font-size: 17px; max-width: 42em; }
.note { margin-top: 24px; font-size: 13px; color: var(--muted); }
.note.center, .center { text-align: center; }

.pains { background: var(--bg); text-align: center; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.pain { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); font-weight: 600; color: var(--text-2); }
.pain-ico { display: block; font-size: 28px; margin-bottom: 10px; }
.pain-answer { margin-top: 44px; font-size: 22px; font-weight: 800; }
.pain-answer strong { color: var(--primary); }

.feature-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 48px;
  background: linear-gradient(135deg, #F5F8FF, #EAF0FF); border-radius: 28px; padding: 48px; }
.tag { display: inline-block; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.feature-main h3 { margin-top: 14px; font-size: 26px; font-weight: 900; }
.feature-main-copy > p { margin-top: 12px; color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary);
  color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.checks b { color: var(--text); }
.mini-cal { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lift); }
.mini-cal-head { display: flex; justify-content: space-between; align-items: baseline; }
.mini-cal-head span { font-size: 12px; font-weight: 700; color: var(--primary); }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; text-align: center; }
.mini-cal-grid span { font-size: 12px; color: var(--muted); font-weight: 600; }
.mini-cal-grid i { font-style: normal; font-size: 14px; font-weight: 600; padding: 8px 0; border-radius: 10px; background: var(--subtle); }
.mini-cal-grid i:empty { background: none; }
.mini-cal-grid i.sale { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(43, 92, 230, .3); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.f-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: color-mix(in srgb, var(--c) 12%, white); }
.feature h3 { margin-top: 18px; font-size: 19px; font-weight: 800; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--text-2); line-height: 1.75; }

.how { background: var(--bg); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary);
  font-weight: 800; font-size: 20px; }
.steps h3 { margin-top: 18px; font-size: 20px; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.safe { background: #fff; padding: 30px; }
.safe h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.safe h3::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%2312965B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.safe p { margin-top: 10px; font-size: 15px; color: var(--text-2); }

.pricing { background: var(--bg); text-align: center; }
.pricing .sec-lead { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; align-items: start; }
.plan { position: relative; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan-best { border-color: var(--primary); box-shadow: var(--shadow-lift); }
.best { position: absolute; top: -14px; left: 32px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan-for { margin-top: 4px; font-size: 14px; color: var(--muted); }
.price { margin: 18px 0 20px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.yen { font-size: 24px; margin-right: 2px; }
.per { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.plan-list { list-style: none; padding: 20px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan-list li { position: relative; padding-left: 26px; color: var(--text-2); }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 22px; color: var(--primary); font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 0 22px; color: var(--text-2); font-size: 15px; }

.cta-band { background: radial-gradient(800px 400px at 80% 0%, #3D6BF0 0%, transparent 70%), linear-gradient(135deg, #1F44D6, #0E1838);
  color: #fff; text-align: center; padding: 96px 0; }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.cta-mark { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .3)); margin-bottom: 8px; }

.foot { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 56px 0 32px; font-size: 14px; }
.foot .logo { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-tag { margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.foot-links a { color: #fff; }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; display: flex; flex-direction: column; gap: 6px; }

.modal { border: none; border-radius: 24px; padding: 36px; max-width: 420px; width: calc(100% - 32px); text-align: center; box-shadow: var(--shadow-lift); }
.modal::backdrop { background: rgba(14, 24, 56, .5); backdrop-filter: blur(4px); }
.modal h2 { margin-top: 16px; font-size: 22px; font-weight: 900; }
.modal p { margin: 12px 0 24px; color: var(--text-2); font-size: 15px; }

@media (max-width: 1000px) {
  .top-nav { display: none; }
  .top-cta { margin-left: auto; }
  .hero-in, .feature-main { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .app-window { transform: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-in { height: 64px; gap: 12px; }
  .logo-word { font-size: 21px; }
  .top-cta .btn-primary { display: none; }
  .hero { padding: 40px 0 72px; }
  .lead { font-size: 16px; }
  .hero-cta .btn { flex: 1; }
  .app-body { grid-template-columns: 1fr; padding: 12px; }
  .app-card.report { display: none; }
  .float-badge { left: 8px; bottom: -26px; font-size: 13px; }
  .section { padding: 72px 0; }
  .pain-grid, .feature-grid, .safety-grid { grid-template-columns: 1fr; }
  .feature-main { padding: 28px 20px; border-radius: 22px; }
  .mini-cal { padding: 16px; }
}
