/* =========================================
   FamiTies - Design System
   ========================================= */

:root {
  --bg: #FBF8F3;
  --bg-alt: #F5EFE4;
  --card: #FFFFFF;
  --accent: #8FA5B8;
  --accent-dark: #6B8299;
  --accent-light: #B8C7D4;
  --beige: #E8DFD1;
  --beige-light: #F0E9DC;
  --text: #3A3A3A;
  --text-muted: #7A7A7A;
  --text-light: #A5A5A5;
  --border: #E8DFD1;
  --danger: #C97A6B;

  --serif: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
  --sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(58,58,58,0.04);
  --shadow: 0 4px 20px rgba(58,58,58,0.06);
  --shadow-lg: 0 8px 32px rgba(58,58,58,0.08);

  --container: 1120px;
  --container-narrow: 780px;
}

/* =========================================
   Reset & Base
   ========================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =========================================
   Typography
   ========================================= */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: 0.05em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
}

/* =========================================
   Layout
   ========================================= */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* =========================================
   Header / Nav
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.08em;
}

.site-logo span {
  color: var(--accent-dark);
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-list a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-cta {
  background: var(--accent-dark);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
}

.nav-cta:hover {
  opacity: 1;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 24px;
  background: var(--text);
  left: 4px;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.active span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    width: 100%;
    padding: 20px 24px 28px;
    gap: 4px;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    box-shadow: 0 6px 24px rgba(58,58,58,0.08);
    border-bottom: 1px solid var(--border);
  }
  .nav-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav-list li {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-list li:has(.nav-cta) {
    border-bottom: none;
    margin-top: 12px;
    padding: 0;
  }
  .nav-list a {
    font-size: 1rem;
    display: block;
  }
  .nav-cta {
    display: block;
    text-align: center;
    padding: 14px;
  }
}

/* =========================================
   Buttons
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 40px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 56px;
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(107, 130, 153, 0.25);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(107, 130, 153, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent-dark);
}

.btn-outline:hover {
  background: var(--accent-dark);
  color: #fff;
  opacity: 1;
}

.btn-note {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* =========================================
   Hero (FV) - Full-width top visual
   ========================================= */

.hero {
  padding: 0 0 80px;
  background: var(--bg);
}

.hero-visual-full {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: url('../img/hero.png') center/cover no-repeat, var(--bg-alt);
  position: relative;
  overflow: hidden;
  margin: 32px auto 48px;
  border-radius: 20px;
}

@media (max-width: 700px) {
  .hero-visual-full {
    margin: 20px auto 32px;
    border-radius: 12px;
  }
  .hero { padding: 0 0 56px; }
}

.hero-text {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.hero .sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 2.1;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 0 auto 40px;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

.hero-badge::before {
  content: '✓';
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    max-width: 320px;
    gap: 10px;
  }
}

/* =========================================
   Sub-page Hero
   ========================================= */

.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--accent-dark);
}

.page-hero h1 {
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 2;
}

/* =========================================
   Worry List (Section 2)
   ========================================= */

.worry-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 48px;
}

@media (max-width: 700px) {
  .worry-list {
    grid-template-columns: 1fr;
  }
}

.worry-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

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

.worry-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-alt);
}

.worry-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.worry-closing {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 2.2;
  color: var(--text);
}

.worry-closing strong {
  color: var(--accent-dark);
  font-weight: 500;
}

/* =========================================
   Three Points (Section 3)
   ========================================= */

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

.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .points-grid {
    grid-template-columns: 1fr;
  }
}

.point-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.point-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--accent-dark);
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}

.point-card h3 {
  margin-bottom: 20px;
  color: var(--text);
}

.point-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.points-center {
  text-align: center;
  padding: 24px 40px;
  background: var(--card);
  border-radius: 100px;
  display: inline-block;
  margin: 0 auto;
  border: 1.5px dashed var(--accent);
  font-family: var(--serif);
  color: var(--accent-dark);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
}

.points-center-wrap {
  text-align: center;
  margin-top: 40px;
}

/* =========================================
   Services Grid (Section 4)
   ========================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-block {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.service-block h3 {
  color: var(--accent-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.service-block ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-block li {
  padding-left: 20px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
}

/* =========================================
   Comparison Table (Section 5)
   ========================================= */

.compare-table {
  max-width: 880px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row.head {
  background: var(--bg-alt);
  font-family: var(--serif);
  font-weight: 500;
}

.compare-cell {
  padding: 20px 28px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.compare-cell.left {
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}

.compare-cell.right {
  color: var(--text);
  background: rgba(143, 165, 184, 0.04);
}

@media (max-width: 700px) {
  .compare-cell {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
}

/* =========================================
   Achievements (Section 6)
   ========================================= */

.achieve-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.achieve-lead {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 2;
  color: var(--text);
  margin-bottom: 40px;
}

.achieve-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .achieve-list {
    grid-template-columns: 1fr;
  }
}

.achieve-item {
  background: var(--bg);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  line-height: 1.7;
}

.achieve-body {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
}

.achieve-body p {
  margin-bottom: 16px;
}

.achieve-body p:last-child {
  margin-bottom: 0;
}

.achieve-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* =========================================
   Flow (Section 7)
   ========================================= */

.flow-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.flow-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.flow-body h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.flow-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================
   Pricing Summary (Section 8)
   ========================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.pricing-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 32px;
  line-height: 1.9;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent-dark);
  margin: 12px 0 20px;
  letter-spacing: 0.05em;
}

.pricing-card ul {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.pricing-card li {
  padding-left: 18px;
  position: relative;
  color: var(--text-muted);
}

.pricing-card li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* =========================================
   Message (Section 9)
   ========================================= */

.message-block {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 700px) {
  .message-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.message-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('../img/profile.jpg') center/cover no-repeat, var(--beige-light);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.message-body h3 {
  margin-bottom: 20px;
  line-height: 1.7;
}

.message-body p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 12px;
}

.message-signature {
  margin-top: 20px;
  font-family: var(--serif);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   Final CTA (Section 10)
   ========================================= */

.final-cta {
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.final-cta h2 {
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.7;
}

.final-cta p {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 2;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.final-cta .btn-primary:hover {
  background: var(--bg);
  color: var(--accent-dark);
}

.final-cta .btn-note {
  color: rgba(255,255,255,0.8);
}

/* =========================================
   Footer
   ========================================= */

.site-footer {
  background: var(--bg-alt);
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer-col h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* =========================================
   Floating Mobile CTA
   ========================================= */

.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 50;
}

.floating-cta .btn {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
  min-height: 52px;
}

@media (max-width: 700px) {
  .floating-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* =========================================
   Contact Form
   ========================================= */

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .form-wrap {
    padding: 32px 24px;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group label .required {
  color: var(--danger);
  font-size: 0.75rem;
  margin-left: 6px;
}

.form-group label .optional {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-left: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  background: #fff;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.8;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  margin: 20px 0 32px;
}

.form-check input {
  margin-top: 3px;
}

.form-check a {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.8;
}

.form-message {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.8;
}

.form-message-error {
  background: #FBEDEA;
  color: #8B4A3E;
  border: 1px solid #E8C7C0;
}

.form-message-error a {
  color: #8B4A3E;
  text-decoration: underline;
}

.form-success {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

@media (max-width: 700px) {
  .form-success {
    padding: 56px 24px;
  }
}

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 8px 24px rgba(107, 130, 153, 0.3);
}

.form-success h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--text);
}

.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 32px;
}

.form-success .btn {
  min-width: 240px;
}

/* =========================================
   Thanks Page
   ========================================= */

.thanks-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}

.thanks-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  box-shadow: 0 12px 32px rgba(107, 130, 153, 0.35);
}

.thanks-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.6;
  margin-bottom: 24px;
}

.thanks-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 2;
}

.thanks-flow {
  margin: 32px 0 48px;
}

.thanks-flow h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.5rem;
}

.thanks-note {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 48px 0 40px;
  border: 1px dashed var(--accent);
}

.thanks-note p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 2;
}

.thanks-note strong {
  color: var(--accent-dark);
  font-family: var(--serif);
}

.thanks-note a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.thanks-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* =========================================
   Info Table (Company page)
   ========================================= */

.info-table {
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

@media (max-width: 700px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
}

.info-label {
  font-family: var(--serif);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-value {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =========================================
   Prose (Privacy, long text)
   ========================================= */

.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text);
  line-height: 2;
}

.prose h2 {
  font-size: 1.4rem;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 32px 0 12px;
}

.prose p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.prose ul, .prose ol {
  margin: 0 0 16px 24px;
  font-size: 0.95rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 6px;
}

/* =========================================
   Utilities
   ========================================= */

.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 48px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-block {
  text-align: center;
  margin-top: 48px;
}
