:root {
  color-scheme: light;
  --ink: #18181b;
  --muted: #67676f;
  --faint: #f7f7f5;
  --line: #e3e1dc;
  --paper: #ffffff;
  --accent: #bc002d;
  --accent-strong: #920023;
  --ready: #166a4f;
  --amber: #95640e;
  --shadow: 0 22px 70px rgba(24, 24, 27, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
textarea,
a {
  font: inherit;
}

.app-shell,
.landing-screen,
.setup-screen,
.result-screen {
  min-height: 100vh;
}

.landing-screen {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 42px);
  background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.site-header .brand-lockup {
  justify-self: start;
}

.site-header .header-price {
  justify-self: end;
}

.header-tagline {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-lockup,
.header-price,
.trust-row span,
.trust-row a,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.brand-lockup {
  gap: 9px;
  padding: 0 12px 0 8px;
  font-weight: 800;
}

.brand-disc {
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.header-price {
  padding: 0 12px;
  color: var(--accent-strong);
  font-weight: 800;
}

.landing-content {
  display: grid;
  justify-items: center;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(54px, 9vw, 112px) 0 48px;
  text-align: center;
}

.landing-mark {
  width: clamp(82px, 13vw, 128px);
  aspect-ratio: 1;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 16px rgba(188, 0, 45, 0.055);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.title-accent {
  display: block;
  color: var(--accent);
}

.landing-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Price line removed from landing for a cleaner, airier front page.
   The header "$39 Trip Pass" communicates the offer. */

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-row span {
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row a {
  padding: 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.trust-row a:hover,
.trust-row a:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.method-heading {
  margin-top: 32px;
}

.method-heading h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 850;
  letter-spacing: 0;
}

.method-heading p {
  max-width: 430px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: pretty;
}

.method-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
  margin-top: 22px;
}

.method-circle {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: clamp(174px, 23vw, 204px);
  aspect-ratio: 1;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(188, 0, 45, 0.13);
  cursor: pointer;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.method-circle:hover,
.method-circle:focus-visible {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 26px 62px rgba(188, 0, 45, 0.24);
  transform: translateY(-3px);
  outline: none;
}

.method-circle strong {
  max-width: 132px;
  font-size: 19px;
  line-height: 1.1;
  text-wrap: balance;
}

.method-circle small {
  width: 132px;
  color: inherit;
  font-size: 12px;
  line-height: 1.25;
  opacity: 0.74;
  text-wrap: balance;
}

.cta-note {
  margin: clamp(30px, 5vw, 48px) 0 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
}

.landing-assurance {
  margin-top: 10px;
}

.refund-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.landing-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.landing-footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  opacity: 0.85;
}

.legal-links a,
.legal-back {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.legal-links a:hover,
.legal-back:hover {
  color: var(--accent);
}

.setup-screen {
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 3vw, 28px);
  background: var(--faint);
}

.setup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(700px, 100%);
  margin: 0 auto 14px;
}

.setup-card {
  width: min(700px, 100%);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  background: #fff;
  box-shadow: var(--shadow);
}

.setup-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.progress-dot {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d6d4cf;
}

.progress-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.setup-card h1,
.result-screen h1 {
  max-width: 520px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
}

.price-pill {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  font-weight: 850;
}

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.autofill-badge {
  color: var(--ready);
}

.guide-card h2,
.summary-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(21px, 3vw, 26px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  text-wrap: balance;
}

.guide-card p {
  max-width: 58ch;
  margin: 9px 0 16px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
  outline: none;
}

body[data-step="source"] textarea {
  min-height: 250px;
}

body[data-step="review"] textarea {
  min-height: 230px;
}

textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(188, 0, 45, 0.1);
}

.review-panel {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.review-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.review-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.review-block-heading,
.review-stay-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-block h3,
.review-stay h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 850;
}

.review-block-heading span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  background: #fbf1f3;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-grid.contact-details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 0.95em;
  opacity: 0.9;
}

.contact-label {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 2px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .review-grid.contact-details {
    grid-template-columns: 1fr;
    font-size: 0.92em;
  }
}

.review-field {
  display: grid;
  gap: 6px;
}

.review-field.wide {
  grid-column: 1 / -1;
}

.review-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.review-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.review-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(188, 0, 45, 0.09);
}

.review-stay {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.review-stay:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.review-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.review-note {
  font-size: 12px;
  color: var(--muted);
  background: #fbf1f3;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  line-height: 1.35;
}

.preview-caption {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.preview-caption strong {
  color: var(--accent-strong);
}

.preview-hero {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.preview-sub {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

td.missing {
  color: #888;
  font-style: italic;
}

.review-header {
  margin-bottom: 12px;
}

.review-header h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.review-header p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.detected-summary-wrapper {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 16px;
}

.detected-summary-wrapper h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
}

.detected-note {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--muted);
}

.result-reassurance {
  margin: 8px 0 0;
  padding: 8px 12px;
  background: #fbf1f3;
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent-strong);
  line-height: 1.35;
}

.guarantee {
  margin: 10px 0 4px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

/* Stronger payment reassurance */
.payment-guarantee {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.text-button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.toolbar,
.result-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar {
  margin-top: 18px;
}

button,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.primary-button {
  background: var(--accent);
  color: #fff;
}

.primary-button:hover {
  background: var(--accent-strong);
}

.secondary-button,
.download-link,
.ghost-button {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.secondary-button:hover,
.download-link:hover,
.ghost-button:hover {
  border-color: var(--accent);
}

.ghost-button {
  min-height: 38px;
  padding: 0 12px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 260px;
}

.chip {
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.chip.is-ready {
  border-color: rgba(22, 106, 79, 0.3);
  color: var(--ready);
  background: #eff8f4;
}

.status-text {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.summary-panel {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.summary-panel dl {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 12px 0 0;
  font-size: 13px;
}

.summary-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.summary-panel dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.result-screen {
  padding: clamp(14px, 3vw, 28px);
  background: var(--faint);
}

.input-panel {
  width: min(1160px, 100%);
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.result-screen .panel-heading {
  margin: 0;
  padding: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
}

.payment-status {
  margin: 0;
  padding: 12px clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
  color: var(--ready);
  font-size: 13px;
  font-weight: 800;
}

.payment-status.is-warning {
  color: var(--amber);
}

.result-heading-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.result-mascot {
  width: 68px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.tab {
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 18px;
}

.tab.is-active {
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.tab-panel {
  padding: 18px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
}

/* Scroll affordance: subtle left/right fades that activate via JS classes */
.table-wrap::before,
.table-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 140ms ease;
  border-radius: 18px;
}

.table-wrap.has-scroll-left::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.92), transparent);
  opacity: 1;
}

.table-wrap.has-scroll-right::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.92), transparent);
  opacity: 1;
}

.scroll-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
  text-align: left;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

th {
  background: #fbf1f3;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
}

th:nth-child(1),
td:nth-child(1) {
  width: 14.5%;
}

th:nth-child(2),
td:nth-child(2) {
  width: 42%;
}

th:nth-child(3),
td:nth-child(3) {
  width: 17.5%;
}

th:nth-child(4),
td:nth-child(4) {
  width: 26%;
}

td:last-child,
th:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  height: 140px;
  color: var(--muted);
  text-align: center;
  vertical-align: middle;
}

.pdf-frame {
  width: 100%;
  height: 520px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f4f2ed;
}

pre {
  min-height: 520px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #202124;
  color: #f9faf5;
  line-height: 1.45;
  white-space: pre-wrap;
}

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

.warning-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--amber);
}

.legal-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 44px);
  background: var(--faint);
}

.legal-card {
  width: min(820px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 5vw, 46px);
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(34px, 6vw, 56px);
}

.legal-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 850;
}

.legal-card section {
  margin-top: 24px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-card code {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.legal-date {
  margin-top: 12px !important;
  font-size: 13px;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .landing-screen {
    padding: 18px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    align-items: flex-start;
  }

  .header-tagline {
    display: none;
  }

  .landing-content {
    padding-top: 46px;
  }

  .method-grid {
    gap: 14px;
  }

  .method-circle {
    width: min(44vw, 172px);
  }

  .method-circle small {
    width: 118px;
  }

  .setup-topbar,
  .panel-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .status-strip {
    justify-content: flex-start;
    max-width: none;
  }

  .price-pill {
    width: 56px;
  }

  .result-heading-lockup {
    justify-content: space-between;
  }

  .result-mascot {
    width: 58px;
  }

  .summary-panel dl {
    grid-template-columns: 1fr;
  }

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

  .review-stay {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .review-field input {
    min-height: 44px;
    font-size: 16px;
    padding: 0 12px;
  }

  .review-stay {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .review-stay:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .review-grid.contact-details {
    margin-top: 8px;
    padding-top: 8px;
  }

  .review-header p {
    font-size: 11px;
  }

  .contact-label {
    font-size: 10px;
    color: var(--muted);
    margin: 4px 0 2px;
    font-weight: 500;
  }

  /* Mobile table: keep data dense but improve scroll + tap targets */
  .table-wrap {
    border-radius: 12px;
  }

  th,
  td {
    padding: 7px 5px;
    font-size: 12.5px;
    line-height: 1.3;
  }

  .scroll-hint {
    font-size: 10px;
    color: var(--muted);
  }

  .table-wrap.has-scroll-right::after {
    content: "→";
    position: absolute;
    right: 4px;
    bottom: 4px;
    font-size: 14px;
    color: var(--muted);
    background: white;
    padding: 0 3px;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
  }
}

/* Example preview styles removed per request (no longer on landing) */

/* =========================================================
   Site footer (subtle, consistent across main screens)
   ========================================================= */
.site-footer {
  margin-top: 48px;
  padding: 18px clamp(14px, 3vw, 28px) 28px;
  border-top: 1px solid var(--line);
  background: var(--faint);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer .disclaimer-note {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.8;
}

/* When the user is looking at the generated result, keep the footer from competing */
.result-screen ~ .site-footer {
  margin-top: 8px;
  padding-top: 10px;
  font-size: 10.5px;
  opacity: 0.65;
}

/* Keep the front landing page as clean as possible — hide the global footer on the main landing */
#landingScreen:not(.hidden) ~ .site-footer {
  display: none;
}

/* JAPANGOV sticker badge – matches the provided asset */
.japangov-sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 6px;
}

.jp-flag {
  width: 16px;
  height: 11px;
  flex: 0 0 auto;
  display: block;
}

.japangov-sticker span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: #111;
  line-height: 1;
  white-space: nowrap;
}

.japangov-sticker .format {
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.3px;
  margin-left: 1px;
}

/* Light "Real results" proof block — keeps the page feeling minimal */
.real-results {
  margin: 14px 0 4px;
  text-align: center;
}

.results-header {
  margin-bottom: 6px;
}

.stat {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.4px;
}

.tiny-preview {
  width: 420px;
  max-width: 100%;
  margin: 6px auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.tiny-preview table {
  width: 100%;
  min-width: 0;
  font-size: 10px;
  border-collapse: collapse;
  table-layout: fixed;
}

.tiny-preview th,
.tiny-preview td {
  padding: 4px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tiny-preview th {
  background: #fbf1f3;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 9.5px;
}

.tiny-preview tr:last-child td {
  border-bottom: none;
}

.testimonials {
  max-width: 420px;
  margin: 8px auto 0;
  text-align: center;
  transition: opacity 0.25s ease;
}

.quote {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.quote span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #888;
  font-weight: 500;
}

/* Small polish for health chips when some features are in fallback */
.chip.is-fallback {
  border-color: rgba(149, 100, 14, 0.25);
  color: var(--amber);
  background: #fffaf0;
}

/* Blog post call-to-action */
.post-cta {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: var(--faint);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 150ms ease, background 150ms ease;
}

.cta-button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.cta-note {
  font-size: 0.85rem;
  color: var(--muted);
}
