/* Bookens landing page — concrete "what it is / what it does" layout. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --border: #e7e8f0;
  --text: #181b26;
  --text-sub: #6a7080;
  --accent: #2b4a82;
  --accent-2: #3f6fd0;
  --accent-soft: #eef2fb;
  --gold: #9b7d4d;
  --danger: #c0492f;
  --green: #2f8f4e;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(20, 30, 60, 0.06), 0 12px 30px rgba(20, 30, 60, 0.06);
  --maxw: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP',
    Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .logo {
  width: 30px;
  height: 30px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}
.nav a:hover {
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(43, 74, 130, 0.28);
}
.btn-primary:hover {
  background: #24416f;
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--accent-soft);
}
.nav-cta {
  display: inline-flex;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 36px;
  background: radial-gradient(1200px 480px at 50% -120px, #e6eefc 0%, rgba(230, 238, 252, 0) 70%);
}
.hero-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #dce6f8;
  padding: 5px 13px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
  font-weight: 850;
}
.hero h1 .hl {
  color: var(--accent);
}
.hero p.lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-sub);
  margin: 0 auto 26px;
  max-width: 660px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-sub);
}

/* Hero device mock */
.hero-stage {
  margin: 42px auto 0;
  max-width: 940px;
}
.browser {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: #fafbfe;
}
.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e2e5ee;
}
.browser-dot:nth-child(1) {
  background: #f0b6ad;
}
.browser-dot:nth-child(2) {
  background: #f4dda6;
}
.browser-dot:nth-child(3) {
  background: #b9e0bf;
}
.browser-url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 7px;
  background: #eef0f6;
}
.browser-body {
  display: grid;
  grid-template-columns: 1fr 318px;
  min-height: 380px;
}
.browser-page {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
}
.ph-line {
  height: 12px;
  border-radius: 6px;
  background: #eceef5;
  margin-bottom: 12px;
}
.ph-img {
  height: 150px;
  border-radius: 12px;
  background: linear-gradient(120deg, #e7edf8, #eef1f7);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.ph-img::after {
  content: '🏠';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
  opacity: 0.5;
}

/* Side panel mock (reused) */
.panel {
  border-left: 1px solid var(--border);
  background: var(--bg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel-tabs {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.panel-tab {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-sub);
}
.panel-tab.on {
  background: var(--accent);
  color: #fff;
}
.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.panel-price {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.panel-price .tsubo {
  font-size: 13px;
  color: var(--danger);
  font-weight: 800;
  margin-left: 8px;
}
.panel-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 6px 0;
  border-top: 1px solid #f0f2f8;
  color: var(--text-sub);
}
.panel-row b {
  color: var(--text);
  font-weight: 700;
}
.panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.panel-chip {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- Section scaffolding ---------- */
section.block {
  padding: 56px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-head .kicker {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  font-weight: 850;
}
.section-head p {
  color: var(--text-sub);
  margin: 0;
  font-size: 15px;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.feature .shot {
  position: relative;
  height: 184px;
  background: linear-gradient(135deg, #eaf0fb 0%, #f3f5fb 100%);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  overflow: hidden;
}
.feature .shot .mini {
  position: absolute;
  inset: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(20, 30, 60, 0.07);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
}
.mini-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: 0 0 auto;
}
.mini-ico svg {
  width: 14px;
  height: 14px;
}
.mini-line {
  height: 9px;
  border-radius: 5px;
  background: #edeff6;
}
.mini-line.s {
  width: 55%;
}
.mini-line.m {
  width: 75%;
}
.mini-pillrow {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mini-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.mini-pill.g {
  background: #e7f3ea;
  color: var(--green);
}
.mini-pill.o {
  background: #f6edda;
  color: var(--gold);
}
.mini-pill.r {
  background: #f8e7e3;
  color: var(--danger);
}
.mini-big {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.mini-big .u {
  font-size: 11px;
  color: var(--danger);
  font-weight: 800;
  margin-left: 6px;
}
.mini-map {
  position: relative;
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #e9eef7, #eef2f8);
  overflow: hidden;
}
.mini-pin {
  position: absolute;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.feature .body {
  padding: 20px;
}
.feature .body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.feature .body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.75;
}
.tag-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------- Sites strip ---------- */
.sites {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.site-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step .num {
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
  font-size: 16px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}
.step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 20px auto 0;
  background: linear-gradient(135deg, #2b4a82, #3a63ad);
  border-radius: 22px;
  padding: 48px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(43, 74, 130, 0.32);
}
.cta-band h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  margin: 0 0 10px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 0 auto 22px;
  max-width: 480px;
  color: #d7e1f4;
  font-size: 15px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.cta-band .btn-primary:hover {
  background: #f0f3fb;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer .wrap {
  padding: 36px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}
.foot-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.foot-nav a {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
}
.foot-nav a:hover {
  color: var(--text);
}
.copy {
  width: 100%;
  font-size: 12px;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav {
    display: none;
  }
  .browser-body {
    grid-template-columns: 1fr;
  }
  .panel {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .features {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}
