/* Souplify legal pages — brand tokens from .claude/rules/souplify-design-rules.md */
:root {
  --orange: #FB421F;
  --gold: #F9A30D;
  --gradient: linear-gradient(120deg, #D7361A 0%, #B45309 100%); /* taste-skill-ignore: required Souplify brand gradient. */
  --bg: #fff;
  --surface: #f4f4f2;
  --text: #1a1a1a;
  --text-2: #333;
  --link: #B3432C;
  --callout: #fff0e5;
  --income: #00AA1F;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 "DM Sans", system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--link); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--text); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, button, .button { font-family: "Poppins", system-ui, sans-serif; }
h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 28px; }
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 24px; }
h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 14px; }
p { margin: 0 0 20px; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: var(--bg); z-index: 10; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--bg); }
.header-inner { width: min(1200px, calc(100% - 64px)); margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 100px; transition: min-height .2s; }
.site-header.is-small .header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 600 22px/1.2 "Poppins", sans-serif; text-decoration: none; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-header .brand { gap: 8px; color: var(--text); font: 600 22px/1.2 "Poppins", sans-serif; }
.site-header .brand img { width: 48px; }
.header-inner nav { display: flex; gap: 30px; align-items: center; }
.header-inner nav a { text-decoration: none; color: var(--text); }
.header-play { font-weight: 700; }
.landing-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 38px 0 60px; }
.hero-copy > p:first-of-type { max-width: 480px; font-size: 21px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 56px; background: var(--gradient); color: #fff; text-decoration: none; font-size: 16px; font-weight: 600; padding: 14px 20px; border-radius: 12px; transition: transform .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.secondary { background: var(--surface); color: var(--text); }
.note { font-size: 16px; margin: 12px 0 0; }
.live-status { font-size: 16px; margin: 16px 0 0; }
.live-status::before { content: ""; display: inline-block; background: var(--income); width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; }
.hero-gallery { background: var(--callout); border-radius: var(--radius); padding: 24px 24px 16px; min-width: 0; }
.slides { display: grid; gap: 24px; }
.slide img { width: 220px; height: 489px; object-fit: contain; border-radius: 12px; margin: auto; }
.slide figcaption { text-align: center; margin: 18px 0 0; font-size: 16px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.carousel-controls button { border: 0; border-radius: 12px; min-width: 44px; min-height: 44px; color: var(--text); background: var(--bg); font-size: 16px; }
.carousel-controls [data-pause] { padding: 8px 12px; }
.carousel-controls span { font-size: 16px; }
/* Key Stats */
.stats { background: var(--text); color: var(--bg); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 36px 0; }
.stats p { margin: 0; font-size: 16px; }
.stats strong { display: block; font: 600 24px/1.3 "Poppins", sans-serif; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 110px 0; }
.story p { max-width: 480px; }
.features { padding-bottom: 110px; }
.features > h2 { margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.feature-grid article { background: var(--bg); border: 1px solid #E8E8E8; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border-radius: var(--radius); padding: 28px; }
.feature-grid article p:last-child { margin-bottom: 0; }
.brokers { padding-left: 20px; }
.brokers li { margin: 8px 0; }
.town { background: var(--callout); padding: 90px 0; }
.town-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.town-copy p { max-width: 400px; }
.town-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.town-shots a { color: var(--text); text-decoration: none; transition: transform .2s; }
.town-shots a:hover { transform: translateY(-6px); }
.town-shots img { width: 100%; border-radius: var(--radius); }
.town-shots figcaption { font-size: 16px; padding-top: 12px; }
.closing { padding: 100px 0; }
.closing > a { font-weight: 700; }
/* ---------- Layout ---------- */
.hero { background: var(--callout); padding: 48px 32px; }
.hero-inner, .layout, .site-footer-inner { max-width: 1200px; margin: 0 auto; }
.hero h1 { font-size: clamp(28px, 3.2vw, 42px); max-width: 850px; }
.hero p { max-width: 720px; margin-bottom: 0; }
.hero .meta { margin-top: 16px; font-size: 16px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; padding: 48px 32px 80px; }
.toc { position: sticky; top: 100px; align-self: start; background: var(--surface); border-radius: var(--radius); padding: 24px; font-size: 16px; max-height: calc(100vh - 130px); overflow: auto; }
.toc h2 { font-size: 20px; margin-bottom: 16px; }
.toc summary { cursor: pointer; font: 600 20px/1.35 "Poppins", sans-serif; }
.toc details[open] summary { margin-bottom: 16px; }
.privacy-layout { grid-template-rows: auto 1fr; align-items: start; }
.privacy-layout > .summary { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.privacy-layout > .toc { grid-column: 1; grid-row: 1 / span 2; }
.privacy-layout > .content { grid-column: 2; grid-row: 2; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 8px 0; }
.toc a { color: var(--text-2); text-decoration: none; }
.content { min-width: 0; }
.content section + section { margin-top: 48px; }
.content h2 { font-size: 26px; margin-bottom: 18px; }
.content h3 { font-size: 20px; margin: 28px 0 12px; }
.content p, .content li { color: var(--text-2); }
.content strong { color: var(--text); }
.content ul, .content ol { padding-left: 24px; }
.content li { margin: 8px 0; }
.content a { overflow-wrap: anywhere; }
.content .button { color: #fff; }
#request > .button { margin-bottom: 20px; }
.summary { background: var(--callout); border-radius: 12px; padding: 24px; margin-bottom: 48px; }
.summary h2 { font-size: 22px; }
.summary ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid #ddd; }
th { font-weight: 700; background: var(--surface); }
td:first-child { font-weight: 500; }
.steps li { margin: 20px 0; }
/* ---------- Footer ---------- */
.site-footer { background: var(--surface); padding: 40px 32px; font-size: 16px; }
.site-footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.site-footer-inner p { margin: 0; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--text); }
/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .landing-hero { gap: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .story { gap: 40px; }
  .town-inner { grid-template-columns: 1fr; }
  .town-shots { max-width: 620px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .toc { position: static; max-height: none; }
  .toc ol { columns: 2; }
  .privacy-layout > .summary, .privacy-layout > .toc, .privacy-layout > .content { grid-column: 1; grid-row: auto; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; }
  .site-header.is-small .header-inner { min-height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .site-header .brand { font-size: 20px; }
  .site-header .brand img { width: 40px; }
  .header-inner nav { gap: 16px; font-size: 14px; }
  .header-inner nav[aria-label="Legal pages"] { flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
  .header-inner nav > a:not(.header-play) { display: none; }
  .header-play { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .landing-hero { grid-template-columns: 1fr; padding: 28px 0 40px; }
  .hero-copy > p:first-of-type { font-size: 18px; }
  .actions { margin-top: 22px; }
  .button { font-size: 14px; padding: 12px 16px; }
  .hero-gallery { padding: 20px 12px 12px; }
  .slide img { width: 190px; height: 423px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .stats strong { font-size: 22px; }
  .story { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .features { padding-bottom: 64px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid article { padding: 24px; }
  .town { padding: 56px 0; }
  .town-inner { gap: 32px; }
  .town-shots { gap: 14px; }
  .town-shots figcaption { font-size: 14px; }
  .closing { padding: 64px 0; }
  .hero { padding: 32px 20px; }
  .layout { padding: 28px 20px 56px; }
  .toc ol { columns: 1; }
  .content h2 { font-size: 23px; }
  .content h3 { font-size: 19px; }
  .summary { padding: 20px; }
  .site-footer { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .hero { background: none; color: #000; padding: 0 0 16px; }
  .brand, .top-nav, .toc, .site-header { display: none; }
  .layout { display: block; margin: 0; padding: 0; }
  .content { border: 0; padding: 0; }
  a { color: #000; }
}
