@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg-soft: #e8f0fb;
  --paper: #ffffff;
  --ink: #152238;
  --ink-soft: #3a4a63;
  --muted: #6b7a90;
  --line: #e4ebf3;
  --line-strong: #cfd9e6;
  --blue: #1e6bff;
  --blue-deep: #1554d4;
  --blue-bright: #3d82ff;
  --blue-soft: #eaf1ff;
  /* アプリ本体のアクセント（#0a7c84）と揃えたブランド接続色 */
  --teal: #0a7c84;
  --teal-deep: #066068;
  --teal-bright: #0d9aa3;
  --teal-soft: #e6f4f5;
  --navy: #0f2850;
  --navy-soft: #1a3a6b;
  --trial: #f5a623;
  --trial-bg: #fff8eb;
  --ok: #0a7c84;
  --warn: #d97706;
  --shadow: 0 1px 2px rgba(15, 40, 80, 0.04), 0 16px 40px rgba(15, 40, 80, 0.08);
  --shadow-lg: 0 8px 32px rgba(30, 107, 255, 0.14), 0 24px 56px rgba(15, 40, 80, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--paper);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.accent {
  color: var(--blue);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--blue);
  text-decoration: none;
}

.logo .plus {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}

.nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--blue-deep);
}

.nav-login {
  padding: 8px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(30, 107, 255, 0.28);
}

.nav-cta:hover {
  background: var(--blue-deep);
  text-decoration: none !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
}

.btn-primary {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(30, 107, 255, 0.28);
}

.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn-secondary {
  background: var(--paper);
  color: var(--blue-deep) !important;
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-soft);
}

.btn-on-dark {
  background: #fff;
  color: var(--blue-deep) !important;
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-on-dark:hover {
  background: #f0f6ff;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
  min-height: 52px;
}

.btn-arrow::after {
  content: "→";
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(30, 107, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 8% 90%, rgba(61, 130, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px 48px;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(30, 107, 255, 0.12);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-lead {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 34em;
}

.hero-lead strong {
  color: var(--navy);
  font-weight: 700;
}

.hero-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 28px;
}

.price-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(30, 107, 255, 0.32);
}

.price-label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
}

.price-num {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-num .yen {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
}

.price-tax {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.trial-seal {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--trial-bg);
  border: 3px solid var(--trial);
  color: #9a6200;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.22);
  flex-shrink: 0;
}

.trial-hours {
  font-size: 0.92rem;
  font-weight: 800;
}

.trial-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.trial-seal.on-dark {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffd27a;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 38em;
  line-height: 1.6;
}

/* Hero dashboard mock / screenshot slot */
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-illust-stage {
  position: relative;
  padding-top: 28px;
}

.hero-float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(15, 40, 80, 0.12));
}

.hero-float-person {
  width: 108px;
  height: auto;
  left: -18px;
  bottom: 72px;
  animation: float-soft 5.5s ease-in-out infinite;
}

.hero-float-flow {
  width: min(200px, 48%);
  height: auto;
  top: 0;
  right: 12px;
  animation: float-soft 6.5s ease-in-out infinite 0.4s;
}

.hero-float-cloud {
  width: 48px;
  top: 4px;
  left: 8px;
  z-index: 4;
  animation: float-soft 7s ease-in-out infinite 0.8s;
}

.hero-float-cloud svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

hero-dashboard-preview,
customer-preview,
estimate-preview,
invoice-preview,
payment-preview {
  display: block;
}

.preview-frame {
  width: 100%;
}

.preview-frame--shot {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}

.preview-shot {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.dash-stage {
  position: relative;
  padding-bottom: 56px;
}

.dash-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 14px 14px 16px;
  background-image: linear-gradient(180deg, #f8faff 0%, #ffffff 40%);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dash-brand {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--blue);
}

.dash-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dash-tabs span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
  background: #f0f4fa;
}

.dash-tabs .on {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 9px;
}

.kpi-label {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.kpi strong {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
}

.chart-box,
.recent-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.chart-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}

.bars i {
  flex: 1;
  display: block;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
  opacity: 0.9;
}

.bars i:nth-child(even) {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  opacity: 0.85;
}

.recent-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-box li {
  font-size: 0.68rem;
  color: var(--ink-soft);
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}

.recent-box li:last-child {
  border-bottom: 0;
}

.recent-box b {
  color: var(--teal-deep);
  margin-right: 4px;
}

.float-cards {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 8px;
}

.float-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow);
  font-size: 0.7rem;
  line-height: 1.35;
}

.float-card .fc-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.float-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  margin-bottom: 2px;
}

.float-card span:last-child {
  color: var(--muted);
}

.fc-customer .fc-tag {
  color: var(--blue-deep);
  background: var(--blue-soft);
}
.fc-estimate .fc-tag {
  color: var(--teal-deep);
  background: var(--teal-soft);
}
.fc-invoice .fc-tag {
  color: var(--blue-deep);
  background: #eef4ff;
}
.fc-payment .fc-tag {
  color: var(--teal-deep);
  background: #dff3f4;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 42em;
  margin: 0 auto 44px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.note {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Pain / solve */
.pain-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.pain-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pain-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  box-shadow: 0 2px 10px rgba(15, 40, 80, 0.03);
  display: flex;
  flex-direction: column;
}

.pain-illust {
  width: 100%;
  max-width: 160px;
  height: auto;
  margin: 0 0 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7faff, #eef4ff);
}

.pain-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 12px;
  color: #fff;
}

.pain-icon svg {
  width: 22px;
  height: 22px;
}

.pi-excel {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
}
.pi-paper {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.pi-mail {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
}
.pi-repeat {
  background: linear-gradient(135deg, #5bb8bf, var(--teal-deep));
}

.pain-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.solve-panel {
  background: linear-gradient(160deg, #1e6bff 0%, #1554d4 55%, #0f3fa8 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.solve-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.solve-panel h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
}

.solve-panel .accent {
  color: #ffe08a;
}

.solve-illust {
  width: 100%;
  height: auto;
  margin: 0 0 18px;
  border-radius: 12px;
}

.solve-mini {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
}

.solve-mini-bar {
  height: 8px;
  width: 40%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.solve-mini-rows span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  margin-bottom: 6px;
}

.solve-mini-rows span:nth-child(2) {
  width: 78%;
}
.solve-mini-rows span:nth-child(3) {
  width: 62%;
}

.check-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231e6bff' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.6-4.6L12.2 5.5z'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.solve-panel .check-list li::before {
  background: #ffe08a
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231554d4' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.6-4.6L12.2 5.5z'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.solve-panel .btn-primary {
  background: #fff;
  color: var(--blue-deep) !important;
  border-color: #fff;
  box-shadow: none;
  align-self: flex-start;
  margin-top: auto;
}

.solve-panel .btn-primary:hover {
  background: #f0f6ff;
}

/* Flow */
.flow-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px 18px;
  box-shadow: var(--shadow);
  counter-increment: flow;
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 42%;
  z-index: 2;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--bg);
  width: 22px;
  text-align: center;
}

.flow-illust {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.flow-preview {
  height: 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f4f8ff, #eef4ff);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.fp-head,
.fp-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
}

.fp-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(30, 107, 255, 0.18);
  width: 100%;
}

.fp-line.short {
  width: 55%;
}

.fp-chip,
.fp-amount,
.fp-status {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.fp-history {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.fp-history .fp-line {
  flex: 1;
  height: 2px;
  min-width: 12px;
}

.fp-invoice {
  background: linear-gradient(180deg, #fff8f2, #fff1e8);
}

.fp-pay {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.fp-status.ok {
  background: #e6f7ef;
  color: var(--ok);
}
.fp-status.warn {
  background: #fff4e5;
  color: var(--warn);
}

.flow-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--navy);
}

.flow-step h3::before {
  content: counter(flow) ". ";
  color: var(--blue);
  font-weight: 800;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Mid CTA */
.mid-cta {
  padding: 40px 0;
  background: linear-gradient(135deg, #eaf1ff 0%, #f0f9f9 48%, #e8f4ff 100%);
  border-top: 1px solid rgba(30, 107, 255, 0.08);
  border-bottom: 1px solid rgba(10, 124, 132, 0.1);
}

.mid-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mid-cta h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--navy);
  font-weight: 800;
}

.mid-cta p {
  margin: 0;
  color: var(--muted);
}

/* Features */
.features-day-illust {
  display: block;
  width: min(320px, 88%);
  height: auto;
  margin: 0 auto 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-key {
  border-color: rgba(30, 107, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(30, 107, 255, 0.08), 0 8px 24px rgba(30, 107, 255, 0.06);
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 70%);
}

.feature-key h3 {
  color: var(--blue-deep);
}

.feature-icon-wrap {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.feature-icon-wrap.fi-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-icon-wrap.fi-teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.feature-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
}

.feature > .feature-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--navy);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.f-a,
.f-e,
.f-i {
  background: linear-gradient(180deg, #f7faff, #ffffff);
}

.f-b,
.f-f,
.f-j {
  background: linear-gradient(180deg, var(--teal-soft), #ffffff);
}

.f-c,
.f-g,
.f-k {
  background: linear-gradient(180deg, #f7faff, #ffffff);
}

.f-d,
.f-h,
.f-l {
  background: linear-gradient(180deg, #eef8f8, #ffffff);
}

.feature-key.f-a,
.feature-key.f-e,
.feature-key.f-f,
.feature-key.f-g {
  background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 72%);
}

/* Pricing */
.price-hook {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-badge-illust {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}

.pricing-aside-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.price-hook h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.price-hook p {
  margin: 12px 0 0;
  color: var(--muted);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
}

.plan.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}

.plan-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan .plan-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.plan .plan-price {
  margin: 12px 0 4px;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.plan .plan-price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan .plan-tax {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.plan-initial {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li {
  padding: 8px 0 8px 18px;
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.plan li:first-child {
  border-top: 0;
  padding-top: 0;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.pricing-aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.pricing-aside .check-list {
  margin-bottom: 18px;
}

.pricing-aside .check-list li {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.pricing-aside .btn {
  width: 100%;
}

.pricing-notes {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-notes h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--navy);
}

.pricing-notes ul {
  margin: 0;
  padding-left: 1.2em;
}

.pricing-notes li {
  margin: 6px 0;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 18px;
  box-shadow: 0 1px 4px rgba(15, 40, 80, 0.03);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 36px 16px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 800;
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq-icon {
  flex: 0 0 36px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
}

.faq-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

.faq-icon.fi-phone {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
}
.faq-icon.fi-mail {
  background: linear-gradient(135deg, #5bb8bf, var(--teal));
}
.faq-icon.fi-csv {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
}
.faq-icon.fi-doc {
  background: linear-gradient(135deg, #3d82ff, #1554d4);
}
.faq-icon.fi-price {
  background: linear-gradient(135deg, #f5a623, #d97706);
}
.faq-icon.fi-support {
  background: linear-gradient(135deg, #5bb8bf, #0a7c84);
}

.faq-q {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.faq .answer {
  padding: 0 0 18px 48px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Footer CTA */
.footer-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 88% 20%, rgba(13, 154, 163, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(61, 130, 255, 0.28), transparent 50%),
    linear-gradient(125deg, #1e6bff 0%, #1554d4 42%, #0a5f66 100%);
  color: #fff;
  padding: 72px 0;
}

.footer-cta-glow {
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.footer-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.footer-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
}

.footer-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-cta-note {
  margin: 0 !important;
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.final-cta-illust {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.18));
}

.cta-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 22px 24px 26px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.cta-panel-top {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.cta-dot:nth-child(2) {
  background: rgba(255, 210, 122, 0.85);
}

.cta-mock-kpi {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-mock-flow {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.92;
  margin-bottom: 16px;
}

.cta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cta-chips span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.preview-banner {
  background: #fff7e8;
  color: #8a5a00;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 1px solid #f0e0c0;
}

.draft-banner {
  background: #fff7e8;
  color: #8a5a00;
  border: 1px solid #f0e0c0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0 0 24px;
  font-size: 0.9rem;
}

/* Legal pages */
.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-main h1 {
  margin: 0 0 16px;
  color: var(--navy);
}

.legal-main .muted {
  color: var(--muted);
}

.legal-main h2 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
  color: var(--navy);
}

.legal-main ul,
.legal-main ol {
  padding-left: 1.3em;
}

.legal-main li {
  margin: 6px 0;
}

.legal-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 12px 0;
}

.legal-main th,
.legal-main td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal-main th {
  background: var(--bg);
  width: 30%;
}

/* Responsive */
@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-step:nth-child(3)::after {
    display: none;
  }

  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .pain-grid,
  .pricing-layout,
  .footer-cta-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-illust-stage {
    padding-top: 36px;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero-float-person {
    width: 88px;
    left: -4px;
    bottom: auto;
    top: 48px;
  }

  .hero-float-flow {
    width: min(180px, 52%);
    right: 0;
  }

  .float-cards {
    position: relative;
    margin-top: 12px;
    padding: 0;
    bottom: auto;
  }

  .dash-stage {
    padding-bottom: 0;
  }

  .preview-frame--shot {
    border-radius: 14px;
  }

  .flow-track {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-step:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(-50%);
  }

  .flow-track {
    gap: 22px;
  }

  .final-cta-illust {
    max-width: 280px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-login {
    border: 0;
    border-radius: 0;
    padding-left: 4px;
    padding-right: 4px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .header-inner {
    position: relative;
  }

  .pain-col,
  .feature-grid,
  .pricing-grid,
  .float-cards,
  .dash-body {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .section {
    padding: 56px 0;
  }

  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .price-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mid-cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .mid-cta .btn {
    width: 100%;
  }

  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-cta-actions .btn {
    width: 100%;
  }

  .footer-cta-visual {
    display: block;
    margin-top: 8px;
  }

  .final-cta-illust {
    max-width: 240px;
  }

  .hero-float-person {
    width: 72px;
    left: 0;
    top: 40px;
  }

  .hero-float-cloud {
    display: none;
  }

  .hero-float-flow {
    width: min(160px, 58%);
  }

  .kpi strong {
    font-size: 0.82rem;
  }

  .faq .answer {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
}

@media (max-width: 430px) {
  .badge-row .pill:last-child {
    display: none;
  }

  .price-num {
    font-size: 2.1rem;
  }

  .trial-seal {
    width: 84px;
    height: 84px;
  }
}
