/* ==========================================================================
   おさまるくん 常設 LP（lp.osamaru.solaris-innov.jp）
   Palette: Warm Paper (#f7f5f0), Pure Surface (#ffffff), Deep Ink (#16141a),
            Osamaru Crimson (#d21118)
   ========================================================================== */

:root {
  --paper: #f7f5f0;
  --paper-deep: #efeae0;
  --surface: #ffffff;
  --ink: #16141a;
  --ink-soft: #221f28;
  --text-sub: #49454f;
  --text-muted: #686370;
  --line: rgba(22, 20, 26, 0.12);
  --line-strong: rgba(22, 20, 26, 0.22);
  --line-on-ink: rgba(247, 245, 240, 0.14);
  --red: #d21118;
  --red-hover: #b10d13;
  --red-pale: #fdf1f1;
  --red-border: rgba(210, 17, 24, 0.24);
  --red-on-ink: #ff7b80;

  --sans: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --body-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --num-serif: "Inter", "Noto Sans JP", system-ui, sans-serif;

  --shadow-window: 0 28px 60px -20px rgba(22, 20, 26, 0.22), 0 8px 20px -8px rgba(22, 20, 26, 0.1);
  --shadow-pdf: 0 24px 48px -14px rgba(22, 20, 26, 0.28), 0 4px 14px -4px rgba(22, 20, 26, 0.12);
  --shadow-card: 0 12px 32px -12px rgba(22, 20, 26, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --gutter: clamp(20px, 4.5vw, 56px);
  --max-w: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html:lang(ja) {
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  font-kerning: auto;
  font-feature-settings: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.skip-link:focus { top: 14px; }

.wrap {
  width: min(100% - var(--gutter) * 2, var(--max-w));
  margin-inline: auto;
}

h1, h2, h3, .brand-name, .eyebrow, .btn {
  font-family: var(--sans);
}

.num {
  font-family: var(--num-serif);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.nw { white-space: nowrap; }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  border-left: 1px solid var(--line-strong);
  padding-left: 11px;
  margin-left: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
}

.header-nav a {
  transition: color 0.18s ease;
}
.header-nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-guide {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-sub);
  padding: 8px 10px;
}
.header-guide:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  line-height: 1.2;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  padding: 16px 28px;
  font-size: 16px;
  box-shadow: 0 10px 24px -10px rgba(210, 17, 24, 0.55);
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 14px;
  box-shadow: none;
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 15px 24px;
  font-size: 15px;
}
.btn-outline:hover {
  border-color: var(--ink);
  background: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--ink);
  padding: 17px 30px;
  font-size: 16px;
}
.btn-white:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  padding: clamp(44px, 6vw, 84px) 0 clamp(64px, 8vw, 108px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red-pale);
  color: var(--red);
  border: 1px solid var(--red-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(28px, 3.35vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-lead {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-sub);
  max-width: 35em;
}

.hero-cta-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-trust {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--text-sub);
  font-weight: 600;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-item::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.8 8.3l2.6 2.6 5.8-6'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Hero Layered Visual Stage */
.hero-stage {
  position: relative;
  padding-bottom: 52px;
  padding-right: 14px;
}

.browser-frame {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-window);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f2f0eb;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-muted);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(22, 20, 26, 0.18);
}

.browser-title {
  font-weight: 700;
  color: var(--text-sub);
}

.browser-frame img {
  width: 100%;
  height: auto;
}

.floating-pdf {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(40%, 222px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-pdf);
}

.floating-pdf-tag {
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-pdf-tag span:last-child {
  color: var(--red-on-ink);
  white-space: nowrap;
}

.floating-pdf img {
  width: 100%;
  height: auto;
}

/* ── Section 2: Dark Value Band ── */
.value-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(68px, 8vw, 104px) 0;
}

.section-kicker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
}

.value-band .section-kicker {
  color: var(--red-on-ink);
}

.section-heading {
  margin-top: 10px;
  font-size: clamp(25px, 2.85vw, 36px);
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-sub);
  max-width: 44em;
}

.value-band .section-lead {
  color: rgba(247, 245, 240, 0.76);
}

.value-grid {
  margin-top: clamp(36px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--ink-soft);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-md);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-on-ink);
}

.value-metric .big {
  font-size: 38px;
  line-height: 1;
  color: var(--red-on-ink);
}

.value-metric .unit {
  font-size: 14px;
  font-weight: 700;
  color: rgba(247, 245, 240, 0.85);
}

.value-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.value-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(247, 245, 240, 0.76);
}

/* ── Section 3: Interactive 4-Step Walkthrough ── */
.steps-section {
  padding: clamp(76px, 9vw, 120px) 0;
}

.steps-layout {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-tab {
  text-align: left;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.step-tab:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.step-tab.is-active {
  background: var(--surface);
  border-color: var(--red);
  box-shadow: var(--shadow-card);
}

.step-tab-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-badge {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper-deep);
  color: var(--text-sub);
  flex-shrink: 0;
}

.step-tab.is-active .step-badge {
  background: var(--red);
  color: #ffffff;
}

.step-tab h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.step-tab p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-sub);
}

.step-mobile-img {
  display: none;
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.step-viewer {
  position: sticky;
  top: 96px;
}

.viewer-window {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-window);
}

.viewer-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #f4f2ed;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.viewer-step-label {
  font-weight: 700;
  color: var(--red);
}

.viewer-step-desc {
  color: var(--text-sub);
  font-weight: 600;
}

.viewer-panes {
  position: relative;
  background: #faf9f6;
}

.viewer-pane {
  display: none;
}

.viewer-pane.is-active {
  display: block;
}

.viewer-pane img {
  width: 100%;
  height: auto;
}

/* ── Section 4: Deliverable PDF & YUASA Master Spec ── */
.deliverable-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(76px, 9vw, 120px) 0;
}

.deliverable-grid {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

.pdf-showcase {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-sheet {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-pdf);
  max-width: 400px;
  width: 100%;
}

.pdf-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.spec-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.spec-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.spec-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-pale);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.spec-block h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.spec-block p {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 15px;
}

.spec-pages {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
}

.spec-page-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}

.spec-page-row dt {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--red);
}

.spec-page-row dd {
  color: var(--ink);
  font-weight: 600;
}

.layout-preview {
  margin-top: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.layout-preview img {
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #ffffff;
  width: 100%;
  height: auto;
}

.layout-preview span {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── Section 5: Pricing & 30-Day Free Trial ── */
.pricing-section {
  padding: clamp(76px, 9vw, 120px) 0;
}

.pricing-grid {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(24px, 3.5vw, 40px);
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.price-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
}

.price-figure {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.price-figure .amount {
  font-size: clamp(52px, 6vw, 72px);
  line-height: 1;
  color: var(--ink);
}

.price-figure .yen {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
}

.price-figure .tax {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

.price-summary {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-sub);
}

.seat-table {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.seat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14.5px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.seat-row:last-child {
  border-bottom: 0;
}

.seat-row dt {
  color: var(--text-sub);
}

.seat-row dd {
  font-weight: 800;
  font-size: 17px;
}

.seat-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: right;
}

.price-cta {
  margin-top: 24px;
}

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

.price-cta-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

.trial-box {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.trial-box-header h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.trial-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trial-point {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trial-point h4 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.trial-point p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ── Section 6: Start Flow & FAQ ── */
.onboarding-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: clamp(72px, 8vw, 108px) 0;
}

.flow-cards {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.flow-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
}

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

.flow-num {
  font-size: 28px;
  line-height: 1;
  color: var(--red);
}

.flow-timing {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

.flow-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.flow-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* FAQ */
.faq-section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ── Closing CTA & Footer ── */
.closing-cta {
  background: var(--ink);
  color: #ffffff;
  padding: clamp(64px, 8vw, 96px) 0;
}

.closing-inner {
  background: linear-gradient(135deg, #241f28 0%, #18151c 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.closing-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

.closing-copy p {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(247, 245, 240, 0.78);
  max-width: 38em;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-footer {
  background: #100e13;
  color: rgba(247, 245, 240, 0.68);
  padding: 40px 0 52px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

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

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .header-nav, .brand-sub { display: none; }
  .hero-grid,
  .steps-layout,
  .deliverable-grid,
  .pricing-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .flow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step-viewer {
    display: none;
  }
  .step-mobile-img {
    display: block;
  }
  .step-tab {
    cursor: default;
    background: var(--surface);
    border-color: var(--line-strong);
  }
  .step-tab .step-badge {
    background: var(--red);
    color: #ffffff;
  }
}

@media (max-width: 600px) {
  .header-guide { display: none; }
  .btn-sm { min-height: 44px; padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .hero h1 { font-size: 27px; }
  .hero-stage {
    padding-right: 0;
    padding-bottom: 58px;
  }
  .floating-pdf {
    width: 48%;
    right: 8px;
  }
  .spec-page-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .layout-preview,
  .flow-cards {
    grid-template-columns: 1fr;
  }
  .hero-cta-row .btn,
  .closing-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
