/* Sofa Escape landing page (about.html). Standalone: does not load the app's style.css. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); }

:root {
  --ground: #f2efea; --surface: #ffffff; --ink: #1e1a24; --muted: #514b5a; --line: #ddd6cc; --tag: #e8e2d8;
  --go: #a12c66; --go-deep: #7d1f4f; --sun: #f5c542; --pink: #e0709b; --near-bg: #f9dce8; --near-ink: #7a1f4b;
  --display: "Bricolage Grotesque", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--ground); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0 0 12px; }
a { color: var(--go); }
:focus-visible { outline: 3px solid var(--go); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
section[id], main { scroll-margin-top: 76px; }

.g-food { --g: #b83227; } .g-shows { --g: #7c3aed; } .g-culture { --g: #0f766e; } .g-outdoors { --g: #2f7d0b; }
.g-games { --g: #2563eb; } .g-making { --g: #b45309; } .g-days { --g: #be185d; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font: 800 1.0625rem/1.2 var(--body); text-decoration: none; color: #fff; background: var(--go); border: 2px solid var(--go); }
.btn:hover { background: var(--go-deep); border-color: var(--go-deep); }
.btn.sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn.big { min-height: 60px; padding: 14px 32px; font-size: 1.125rem; }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.dark:hover { background: #3a3340; border-color: #3a3340; }
.textlink { font-weight: 800; color: inherit; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(242, 239, 234, 0.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .nav { background: rgba(242, 239, 234, 0.8); backdrop-filter: blur(8px); } }
.navin { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font: 800 1.1875rem var(--display); color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; }
.nav nav a { color: var(--ink); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { background: var(--go); color: #fff; overflow: hidden; }
.herogrid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-weight: 700; font-size: 0.9375rem; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); margin: 0 0 18px; }
.lede { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; max-width: 34ch; margin: 0 0 28px; color: #fde9f2; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 22px; }
.hero .btn { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.hero .btn:hover { background: #ffd65e; border-color: #ffd65e; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-weight: 700; color: #fde9f2; }
.trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: 2px; }

.herovis { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone { width: 300px; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(30, 10, 25, 0.35); transform: rotate(3deg); }
.screen { border-radius: 34px; background: var(--ground); color: var(--ink); padding: 18px 14px 20px; height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-brand { display: inline-flex; align-items: center; gap: 6px; font: 800 0.875rem var(--display); }
.ph-brand svg { width: 22px; height: 22px; }
.ph-pill { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--near-bg); color: var(--near-ink); }
.ph-h { font: 800 1.375rem var(--display); margin: 18px 0 2px; }
.ph-prog { font-size: 0.8125rem; color: var(--muted); margin: 0 0 6px; }
.ph-bar { height: 8px; border-radius: 8px; border: 1.5px solid var(--muted); margin-bottom: 14px; }
.ph-bar i { display: block; width: 60%; height: 100%; border-radius: 8px; background: var(--go); }
.ph-deck { position: relative; flex: 1; }
.ph-card { position: absolute; inset: 0; border-radius: 26px; background: var(--g); color: #fff; padding: 16px 16px 54px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; box-shadow: 0 10px 22px rgba(30, 26, 36, 0.2); }
.ph-card.back { transform: translateY(10px) scale(0.95); opacity: 0.9; }
.ph-card b { font: 800 1.75rem/1.05 var(--display); }
.ph-card > span:last-child { font-size: 0.9375rem; line-height: 1.35; color: rgba(255, 255, 255, 0.92); }
.art { flex: 1; min-height: 0; display: flex; justify-content: flex-end; align-items: center; }
.art svg { height: 100%; max-height: 130px; width: auto; }
.tag { position: absolute; top: 14px; font-size: 0.75rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.tag.no { left: 14px; } .tag.yes { right: 14px; background: var(--sun); }
.ph-btns { display: flex; justify-content: center; gap: 40px; margin-top: -32px; position: relative; }
.rb { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 14px rgba(30, 26, 36, 0.18); }
.rb.yes { background: var(--sun); }
.rb svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 10px 16px; box-shadow: 0 16px 30px rgba(30, 10, 25, 0.25); display: flex; flex-direction: column; }
.float small { font-weight: 700; color: var(--go); font-size: 0.8125rem; }
.float b { font: 800 1.0625rem var(--display); }
.float.f1 { left: -12px; top: 190px; transform: rotate(-4deg); }
.float.f2 { right: 0; bottom: 90px; flex-direction: row; align-items: center; gap: 10px; transform: rotate(3deg); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #2f7d0b; }
@media (prefers-reduced-motion: no-preference) {
  .sway { animation: sway 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
  @keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: translateX(14px) rotate(4deg); } 60% { transform: translateX(-8px) rotate(-2deg); } }
  .float { animation: bob 6s ease-in-out infinite; }
  .float.f2 { animation-delay: -3s; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
}

/* Problem */
.problem { padding: 96px 0; }
.probgrid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.problem h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 18px; }
.problem p { font-size: 1.1875rem; max-width: 40ch; color: var(--muted); }
.problem .strong { color: var(--ink); font-weight: 800; }
.chat { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.bub { margin: 0; padding: 12px 18px; border-radius: 22px; font-weight: 600; max-width: 80%; }
.bub.l { align-self: flex-start; background: #fff; border: 1.5px solid var(--line); border-bottom-left-radius: 6px; }
.bub.r { align-self: flex-end; background: var(--pink); color: var(--ink); border-bottom-right-radius: 6px; }

/* Benefits */
.benefits { padding: 24px 0 72px; }
.ben { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.ben.flip .bvis { order: 2; }
.kicker { display: inline-block; font-weight: 800; color: var(--go); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; margin-bottom: 10px; }
.ben h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); margin-bottom: 16px; }
.btxt p:last-child { font-size: 1.125rem; color: var(--muted); max-width: 42ch; }
.bvis { position: relative; min-height: 320px; border-radius: 32px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; padding: 32px; overflow: hidden; }
.v1 .mini { position: absolute; width: 230px; height: 250px; border-radius: 26px; background: var(--g); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.v1 .mini b { font: 800 1.5rem/1.05 var(--display); }
.v1 .m3 { transform: translateX(-60px) rotate(-10deg); opacity: 0.85; }
.v1 .m2 { transform: translateX(-28px) rotate(-5deg); }
.v1 .m1 { transform: translateX(26px) rotate(6deg); box-shadow: 0 16px 30px rgba(30, 26, 36, 0.22); }
.v1 .m1 .art svg { max-height: 110px; }
.idea { width: 100%; max-width: 360px; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--line); box-shadow: 0 16px 30px rgba(30, 26, 36, 0.12); background: #fff; }
.ih { background: var(--g); color: #fff; padding: 16px 18px; display: grid; grid-template-columns: 1fr 72px; grid-template-rows: auto auto; column-gap: 10px; }
.ih small { font-weight: 700; opacity: 0.9; }
.ih b { font: 800 1.5rem/1.1 var(--display); grid-row: 2; }
.ih .art { grid-column: 2; grid-row: 1 / 3; }
.ih .art svg { max-height: 64px; }
.ib { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ib em { font-style: normal; font-weight: 700; color: var(--go); }
.near { font-size: 0.8125rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--near-bg); color: var(--near-ink); }
.plan { width: 100%; max-width: 340px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 30px rgba(30, 26, 36, 0.12); }
.plan small { font-weight: 800; font-size: 1rem; }
.days { display: flex; gap: 8px; }
.days i { font-style: normal; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--muted); }
.days i.on { background: var(--sun); border-color: var(--sun); }
.save, .cal { text-align: center; font-weight: 800; padding: 12px; border-radius: 999px; }
.save { background: var(--go); color: #fff; }
.cal { border: 1.5px solid var(--muted); }
.cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 420px; }
.cloud li { background: var(--g); color: #fff; font-weight: 800; padding: 10px 18px; border-radius: 999px; }
.cloud li:nth-child(3n) { transform: rotate(-3deg); }
.cloud li:nth-child(4n) { transform: rotate(3deg); }

/* Promise */
.promise { background: var(--ink); color: #fff; padding: 48px 0; }
.promises { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promises li { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 4px solid var(--sun); }
.promises b { font: 800 1.25rem var(--display); }
.promises span { color: #d9d3e0; }

/* How */
.how { padding: 96px 0; text-align: center; }
.how h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 40px; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.steps li { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); font: 800 1.25rem var(--display); margin-bottom: 16px; }
.steps h3 { font-size: 1.625rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { padding: 0 0 96px; }
.faq h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); margin-bottom: 24px; text-align: center; }
details { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 1.125rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 800 1.5rem var(--display); color: var(--go); }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Final */
.final { background: var(--sun); padding: 80px 0; }
.finalgrid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.finalart svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; }
.final h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-bottom: 14px; }
.final p { font-size: 1.1875rem; margin-bottom: 24px; }

/* Footer */
.foot { padding: 40px 0 48px; }
.footin { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot p { margin: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot p a { font-weight: 700; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.foot .fine { flex-basis: 100%; color: var(--muted); font-size: 0.9375rem; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .herogrid, .probgrid, .ben, .finalgrid { grid-template-columns: 1fr; gap: 36px; }
  .herogrid { padding-top: 44px; padding-bottom: 56px; }
  .ben.flip .bvis { order: 0; }
  .ben { padding: 32px 0; gap: 28px; }
  .problem, .how { padding: 64px 0; }
  .probgrid .chat { order: 2; }
  .promises, .steps { grid-template-columns: 1fr; gap: 20px; }
  .finalart svg { max-width: 240px; }
  .final { padding: 56px 0; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .phone { width: 264px; transform: none; }
  .screen { height: 500px; }
  .float.f1 { left: -4px; top: 170px; }
  .float.f2 { right: -4px; bottom: 70px; }
  .bvis { min-height: 280px; padding: 24px; }
  .v1 .mini { width: 190px; height: 220px; }
  .v1 .m3 { transform: translateX(-40px) rotate(-10deg); }
  .v1 .m2 { transform: translateX(-18px) rotate(-5deg); }
  .v1 .m1 { transform: translateX(18px) rotate(6deg); }
  .ctas .btn { width: 100%; }
}
.brand span, .btn { white-space: nowrap; }
@media (max-width: 380px) {
  .navin { gap: 12px; }
  .nav .brand { font-size: 1.0625rem; gap: 8px; }
  .nav .brand svg { width: 30px; height: 30px; }
  .nav .btn.sm { padding: 8px 14px; font-size: 0.875rem; }
  .float.f2 { display: none; }
  .ctas .btn { white-space: normal; }
}
