/* ==========================================================================
   僕の旅行計画 – LP styles
   ========================================================================== */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f3f5f8;
  --c-bg-card: #ffffff;
  --c-bg-tint: #eef2f7;
  --c-primary: #2f7bf6;
  --c-primary-dark: #1e6ae0;
  --c-primary-soft: #e8f0fe;
  --c-accent-orange: #ff9f43;
  --c-accent-yellow: #ffd84d;
  --c-text: #1a2433;
  --c-text-sub: #5a6473;
  --c-text-mute: #8c95a3;
  --c-border: #e3e8ef;
  --c-green: #2bb673;
  --c-green-soft: #e6f5ec;
  --c-pink: #ff8aa3;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(28, 47, 80, 0.05);
  --shadow-md: 0 8px 28px rgba(28, 47, 80, 0.08);
  --shadow-lg: 0 18px 50px rgba(28, 47, 80, 0.12);

  --container: 1120px;
  --gutter: 24px;

  --font-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
    "Yu Gothic", "Noto Sans JP", "Helvetica Neue", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-jp);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  font-size: 15px;
  font-feature-settings: "palt";
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - calc(var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.section {
  padding: 80px 0;
}
@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 123, 246, 0.32);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 123, 246, 0.38);
}
.btn-ghost {
  background: #fff;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.btn-ghost:hover {
  background: var(--c-primary-soft);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}
.btn-lg {
  padding: 18px 44px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(227, 232, 239, 0.6);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-text);
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .brand-logo {
    height: 42px;
  }
}
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  color: var(--c-text-sub);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--c-primary);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  font-weight: 800;
}
.hero h1 .accent {
  color: var(--c-accent-orange);
  position: relative;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 10px;
  background: rgba(255, 216, 77, 0.55);
  z-index: -1;
  border-radius: 4px;
}
.hero p.lead {
  color: var(--c-text-sub);
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 14px;
}
.hero p.lead.em strong {
  color: var(--c-primary);
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-decor {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-decor .dotline {
  flex: 1;
  min-width: 80px;
  height: 2px;
  background-image: radial-gradient(
    circle,
    var(--c-text-mute) 1.2px,
    transparent 1.4px
  );
  background-size: 8px 2px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.hero-decor .icon {
  font-size: 28px;
}

/* hero phones */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}
.hero-bg-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-blob svg {
  width: 100%;
  height: 100%;
}
.phone-pair {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.05;
}
.phone {
  position: absolute;
  width: 60%;
  border-radius: 38px;
  background: #1a2433;
  padding: 8px;
  box-shadow: 0 30px 60px -10px rgba(28, 47, 80, 0.25),
    0 8px 18px rgba(28, 47, 80, 0.12);
}
.phone .screen {
  background: #f4f6f9;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}
.phone-1 {
  left: 0;
  top: 4%;
  z-index: 2;
  transform: rotate(-3deg);
}
.phone-2 {
  right: 0;
  top: 0;
  z-index: 1;
  transform: rotate(3deg);
}
.float-emoji {
  position: absolute;
  font-size: 28px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}
.float-emoji.plane {
  top: 6%;
  left: 28%;
  font-size: 32px;
  transform: rotate(-15deg);
}
.float-emoji.spark1 {
  top: 12%;
  right: 4%;
}
.float-emoji.spark2 {
  bottom: 26%;
  left: -4%;
  font-size: 22px;
}

.hero-line-decor {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-line-decor .pin {
  font-size: 22px;
}
.hero-line-decor .dot-track {
  flex: 1;
  height: 2px;
  background-image: radial-gradient(
    circle,
    var(--c-text-mute) 1.2px,
    transparent 1.4px
  );
  background-size: 8px 2px;
  background-repeat: repeat-x;
  opacity: 0.5;
  min-width: 60px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    min-height: 480px;
  }
  .phone-pair {
    max-width: 380px;
  }
}

/* ---------- Pain points ---------- */
.pains {
  background: linear-gradient(180deg, #f5f1ea 0%, #f7f2e9 100%);
  border-radius: 28px;
  padding: 44px 32px 40px;
  margin: 0 0 24px;
}
.pains .heading {
  text-align: center;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin: 0 0 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.pains .heading::before,
.pains .heading::after {
  content: "›";
  color: var(--c-primary);
  font-size: 24px;
  transform: scaleX(0.6);
}
.pains .heading::before {
  transform: scaleX(-0.6);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pain-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.pain-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff5e9;
}
.pain-card.c2 .icon-wrap {
  background: #e7f0ff;
}
.pain-card.c3 .icon-wrap {
  background: #ffe8ef;
}
.pain-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
}
.pain-card p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-sub);
  line-height: 1.6;
}
@media (max-width: 720px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .pains {
    padding: 36px 20px 28px;
  }
}

.pain-tagline {
  text-align: center;
  margin: 36px 0 8px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.pain-tagline .b {
  color: var(--c-primary);
}
.pain-tagline .o {
  color: var(--c-accent-orange);
}
.pain-tagline .g {
  color: var(--c-green);
}
.pain-tagline .sparkle {
  color: var(--c-accent-yellow);
  font-size: 0.8em;
}
.pain-sub {
  text-align: center;
  color: var(--c-text-sub);
  margin: 8px 0 0;
  font-size: 15px;
}

/* ---------- Features ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  margin: 0 0 36px;
}
.section-title::before {
  content: "›";
  color: var(--c-primary);
  transform: scaleX(-1);
}
.section-title::after {
  content: "‹";
  color: var(--c-primary);
  transform: scaleX(-1);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  row-gap: 36px;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
.feature {
  display: flex;
  flex-direction: column;
}
.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.feature-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.45;
}
.feature-desc {
  color: var(--c-text-sub);
  font-size: 14px;
  margin: 0 0 18px;
  padding-left: 42px;
}
.feature-screen {
  margin-top: auto;
  position: relative;
  background: #1a2433;
  border-radius: 32px;
  padding: 7px;
  box-shadow: var(--shadow-md);
  width: 260px;
  height: 564px;
  align-self: center;
  flex-shrink: 0;
}
.feature-screen .screen {
  background: #f4f6f9;
  border-radius: 26px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}
.feature-screen .screen img.shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
@media (max-width: 600px) {
  .feature-screen {
    width: 240px;
    height: 520px;
  }
}

/* ---------- Pricing ---------- */
.pricing {
  background: #fff5e9;
  border-radius: 26px;
  padding: 36px 36px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pricing .copy h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.5;
}
.pricing .copy p {
  margin: 0;
  color: var(--c-text-sub);
  font-size: 14px;
}
.pricing .copy .coffee {
  display: flex;
  align-items: center;
  gap: 14px;
}
.coffee-emoji {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}
.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.price-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.price-card .flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-sub);
  margin-bottom: 6px;
}
.price-card .price {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.1;
}
.price-card .meta {
  margin-top: 8px;
  font-size: 11px;
  color: var(--c-text-mute);
  line-height: 1.6;
}
.suitcase-emoji {
  font-size: 64px;
  align-self: end;
}
@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pricing .copy .coffee {
    justify-content: center;
  }
  .suitcase-emoji {
    display: none;
  }
}
.pricing-note {
  text-align: center;
  margin: 14px 0 0;
  color: var(--c-text-mute);
  font-size: 12px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  margin-top: 24px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
  border-radius: 26px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.final-illust {
  background: linear-gradient(180deg, #cfe6ff 0%, #f6e6c4 100%);
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font-size: 88px;
}
.final-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.45;
}
.final-copy p {
  color: var(--c-text-sub);
  margin: 0 0 24px;
}
.final-cta .btn {
  width: 100%;
  max-width: 320px;
}
.final-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--c-text-mute);
  font-size: 12px;
}
.map-emoji {
  position: absolute;
  bottom: 22px;
  right: 28px;
  font-size: 48px;
  opacity: 0.85;
}
@media (max-width: 720px) {
  .final-cta {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .map-emoji {
    display: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--c-text-mute);
  font-size: 12px;
}
.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}
.site-footer .links a:hover {
  color: var(--c-primary);
}

/* ==========================================================================
   Phone screen mockups (drawn in HTML/CSS)
   ========================================================================== */
.mock {
  font-size: 11px;
  color: var(--c-text);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f4f6f9;
}
.mock-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 9px;
  font-weight: 700;
}
.mock-statusbar .right {
  display: flex;
  gap: 4px;
  align-items: center;
}
.mock-statusbar .battery {
  background: #1a2433;
  color: #fff;
  border-radius: 3px;
  padding: 0 3px;
  font-size: 7px;
  font-weight: 800;
}
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 8px;
}
.mock-header .title {
  font-size: 11px;
  font-weight: 700;
}
.mock-back {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #1a2433;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.mock-icons {
  display: flex;
  gap: 4px;
}
.mock-icons .pill {
  background: #fff;
  border-radius: 999px;
  padding: 4px 6px;
  display: flex;
  gap: 4px;
}
.mock-icons .pill span {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.mock-body {
  padding: 8px 12px 14px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.mock-card .label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: var(--c-text-sub);
  margin-bottom: 4px;
}
.mock-card .label::before {
  content: "";
  width: 2px;
  height: 10px;
  background: var(--c-primary);
  border-radius: 2px;
}
.mock-card .big {
  font-size: 18px;
  font-weight: 800;
  margin: 2px 0;
}
.mock-card .meta {
  font-size: 8px;
  color: var(--c-text-sub);
}
.mock-card .row-icons {
  display: flex;
  gap: 6px;
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 18px;
}
.mock-card.head {
  position: relative;
}
.mock-day {
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.mock-day .date {
  color: var(--c-text-sub);
  font-weight: 600;
}
.mock-timeline {
  position: relative;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-image: linear-gradient(
    var(--c-primary) 50%,
    transparent 50%
  );
  background-size: 2px 6px;
  background-repeat: repeat-y;
  opacity: 0.5;
}
.mock-step {
  background: #e8f0fe;
  border-radius: 8px;
  padding: 6px 8px;
  position: relative;
}
.mock-step.green {
  background: #e6f5ec;
}
.mock-step .bullet {
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.mock-step.green .bullet {
  background: var(--c-green);
}
.mock-step .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.mock-step .name {
  font-weight: 700;
  font-size: 10px;
  color: var(--c-primary);
}
.mock-step.green .name {
  color: var(--c-green);
}
.mock-step .sub {
  font-size: 7px;
  color: var(--c-text-sub);
  margin-top: 1px;
}
.mock-step .right {
  font-size: 7px;
  color: var(--c-text-sub);
}

/* tabbar */
.mock-tabbar {
  display: flex;
  background: #fff;
  border-radius: 18px;
  padding: 6px 4px;
  margin: 6px 8px 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  justify-content: space-around;
}
.mock-tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 7px;
  color: var(--c-text-mute);
  padding: 2px 0;
}
.mock-tabbar .tab .ico {
  font-size: 13px;
}
.mock-tabbar .tab.active {
  color: var(--c-primary);
}

/* save list (phone-2) */
.save-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 11px;
}
.save-head .compare {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 9px;
  border-radius: 10px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.save-card {
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
}
.save-card .thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(180deg, #cfe6ff 0%, #87b4cc 60%, #6e9c69 100%);
  position: relative;
  overflow: hidden;
}
.save-card .thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 65% 30%, #fff 0 3px, transparent 4px);
}
.save-card .thumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(180deg, #4a7caa 0%, #2e5c87 100%);
  clip-path: polygon(0 60%, 18% 30%, 30% 50%, 55% 20%, 75% 45%, 100% 25%, 100% 100%, 0 100%);
}
.save-card h5 {
  margin: 2px 0;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}
.save-card h5::before {
  content: "▲";
  color: var(--c-green);
  font-size: 9px;
}
.save-card .meta {
  font-size: 7px;
  color: var(--c-text-sub);
  margin-bottom: 4px;
}
.save-card .date {
  background: var(--c-green-soft);
  color: var(--c-green);
  font-size: 7px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  display: inline-block;
}
.save-card .badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--c-pink);
  color: #fff;
  font-size: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  font-weight: 800;
}

/* feature 1 — plan create */
.feat1 .row-line {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 9px;
  position: relative;
}
.feat1 .ico-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.feat1 .lbl {
  font-weight: 800;
  font-size: 9px;
}
.feat1 .val {
  font-size: 7px;
  color: var(--c-text-sub);
}
.feat1 .pill-r {
  margin-left: auto;
  background: #d6e7ff;
  color: var(--c-primary);
  font-size: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}
.feat1 .save-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: var(--c-primary);
  color: #fff;
  font-size: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.feat1-title {
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
}
.feat1-title .x {
  font-size: 13px;
}
.feat1-base {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 4px;
  font-weight: 800;
  font-size: 9px;
}
.feat1-base::before {
  content: "📋";
  font-size: 11px;
}

/* feature 2 — map */
.feat2-map {
  flex: 1;
  background: linear-gradient(180deg, #cfe5d7 0%, #aed5b5 50%, #cfe6ee 100%);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 4px 0;
}
.feat2-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 70% 70%,
      #79b9e0 0%,
      #79b9e0 30%,
      transparent 40%
    );
  opacity: 0.7;
}
.feat2-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.feat2-map .pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* feature 4 — diagnose */
.diag-head {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 11px;
}
.diag-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.diag-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}
.diag-card .badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--c-accent-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  margin-bottom: 6px;
}
.diag-card h5 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
}
.diag-card p {
  margin: 0;
  font-size: 8px;
  color: var(--c-text-sub);
  line-height: 1.5;
}
.diag-stats {
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.diag-stats .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eef0f4;
  font-size: 9px;
}
.diag-stats .row:last-child {
  border-bottom: 0;
}
.diag-stats .lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text-sub);
  font-weight: 600;
}
.diag-stats .lbl .ico {
  font-size: 11px;
}
.diag-stats .val {
  font-weight: 800;
  font-size: 10px;
}

/* feature 5 — pdf preview */
.pdf-preview {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  font-size: 8px;
}
.pdf-preview h5 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
}
.pdf-preview .sub {
  font-size: 7px;
  color: var(--c-text-sub);
  margin-bottom: 8px;
}
.pdf-preview .summary-title {
  font-weight: 800;
  font-size: 9px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pdf-preview .summary-title::before {
  content: "";
  width: 2px;
  height: 9px;
  background: var(--c-primary);
}
.pdf-preview .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 8px;
}
.pdf-preview .stat {
  border-radius: 6px;
  padding: 5px 7px;
}
.pdf-preview .stat.s1 {
  background: #fdebd1;
}
.pdf-preview .stat.s2 {
  background: #d8e7ff;
}
.pdf-preview .stat.s3 {
  background: #d8efdf;
}
.pdf-preview .stat.s4 {
  background: #fdebd1;
}
.pdf-preview .stat .lbl {
  font-size: 6px;
  color: var(--c-text-sub);
}
.pdf-preview .stat .val {
  font-weight: 800;
  font-size: 9px;
}
.pdf-preview .map-block {
  height: 60px;
  border-radius: 6px;
  background: linear-gradient(180deg, #cfe5d7 0%, #aed5b5 50%, #cfe6ee 100%);
  margin-bottom: 4px;
  position: relative;
}
.pdf-preview .map-block .red-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e74a3a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 7px;
  font-weight: 800;
  border: 1.5px solid #fff;
}
.pdf-preview .route-title {
  font-size: 8px;
  font-weight: 800;
}

/* ===== Legal Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 28, 43, .48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
}

.modal {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 680px;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(20, 28, 43, .18);
  margin: auto;
}

@media (max-width: 680px) {
  .modal {
    padding: 28px 22px;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f6f8;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #667085;
}

.modal-close:hover {
  background: #e9edf3;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 24px;
  padding-right: 24px;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #172033;
  margin: 0 0 6px;
}

.modal-section p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.85;
  color: #344054;
}

.modal-section p:last-child {
  margin-bottom: 0;
}

.modal-row {
  margin-bottom: 16px;
}

.modal-row dt {
  font-size: 11px;
  font-weight: 700;
  color: #667085;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.modal-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #344054;
}

.modal a {
  color: var(--c-primary, #2f7bf6);
  word-break: break-all;
}

.modal hr {
  border: none;
  border-top: 1px solid #e8edf4;
  margin: 20px 0;
}

.modal-footer-note {
  font-size: 11px;
  color: #667085;
  margin-top: 24px;
}