/* Layout: the live BrightSide system (warm sky hero, spinning sun, stripe, shelf tiles, orange giving band, pillars, dark footer), with the two bars cut out and floating where the landscape photo sits on the main site. One warm light look on purpose, matching jointhebrightside.com. */
:root {
  --ink: #2b2722;
  --ink-soft: #5d5750;
  --rust: #9a3f05;
  --orange: #e8751a;
  --gold: #ffc42e;
  --navy: #1b3a4b;
  --line: #f0e2c4;
  --warm: #fffbf2;
  --white: #ffffff;
  --apothecary: #a6d43e;
  --mercantile: #46beb0;
  --library: #7a6bcb;
  --pharmacy: #fd8a22;
  --panel-mint: #e3f2c6;
  --panel-cedar: #d3ece8;
  --panel-set: #ffe7a6;
  --sky: linear-gradient(180deg, #ffe9b0 0%, #fce3b2 55%, #f2d9a6 100%);
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.stripe { display: block; height: 14px; background: url(stripe.webp) center / 100% 100% no-repeat; }
.kick { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); }
.h2 { font-weight: 900; font-size: clamp(30px, 6.4vw, 52px); line-height: 1.02; letter-spacing: -0.025em; margin-top: 10px; }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin-top: 14px; max-width: 56ch; }
.btn { display: inline-block; background: var(--white); color: var(--ink); font-weight: 800; font-size: 16px; padding: 16px 26px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgba(120, 50, 0, 0.22); border: 0; cursor: pointer; font-family: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(120, 50, 0, 0.28); }
.btn--ink { background: var(--ink); color: var(--white); box-shadow: none; }
.lnk { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.fine { font-size: 14px; font-weight: 700; margin-top: 12px; }

.sun { position: absolute; z-index: -1; pointer-events: none; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* announcement and header */
.topbar { background: var(--ink); color: var(--white); font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 9px; flex-wrap: wrap; text-align: center; }
.topbar .tag { background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.topbar a { font-weight: 700; text-underline-offset: 3px; }
.preview-note { background: #fff1c9; color: var(--ink); font-family: var(--mono); font-size: 12.5px; text-align: center; padding-block: 7px; border-bottom: 1px solid var(--line); }

header.site { background: var(--white); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.logo img { width: 30px; height: 30px; }
.logo em { font-style: normal; color: var(--orange); }
nav.main { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
nav.main a { text-decoration: none; }
nav.main a:hover { text-decoration: underline; text-underline-offset: 4px; }
nav.main .on { position: relative; }
nav.main .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--apothecary); }
nav.main .soon { color: var(--ink-soft); }
nav.main .soon small { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--panel-cedar); padding: 2px 6px; border-radius: 999px; margin-left: 4px; }

/* hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding-block: 64px 56px; }
.hero-copy { position: relative; min-width: 0; }
.hero h1 { font-weight: 900; font-size: clamp(42px, 8.4vw, 76px); line-height: 0.98; letter-spacing: -0.035em; margin-top: 16px; max-width: 13ch; }
.hero .underline { display: block; height: 12px; width: min(100%, 470px); margin-top: 22px; background: url(stripe.webp) center / 100% 100% no-repeat; border-radius: 2px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.hero-sun { width: 300px; height: 300px; right: -60px; top: -70px; filter: drop-shadow(0 0 30px rgba(255, 170, 40, 0.5)); }
.hero-bars { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 4 / 3; }
.hero-bars img { position: absolute; width: 42%; filter: drop-shadow(0 26px 30px rgba(120, 60, 0, 0.28)) drop-shadow(0 4px 6px rgba(120, 60, 0, 0.16)); transition: transform 0.4s ease; }
.hero-bars .b1 { left: 8%; top: 12%; transform: rotate(-7deg); z-index: 2; }
.hero-bars .b2 { right: 6%; top: 4%; transform: rotate(6deg); }
.hero-bars:hover .b1 { transform: rotate(-9deg) translateY(-6px); }
.hero-bars:hover .b2 { transform: rotate(8deg) translateY(-6px); }
.price-sticker { position: absolute; z-index: 3; right: 4%; bottom: 6%; width: 118px; height: 118px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 10px 24px rgba(43, 39, 34, 0.25); }
.price-sticker b { display: block; font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.price-sticker span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

/* shelf */
.sec { padding-block: 88px; position: relative; }
.sec--warm { background: var(--warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; margin-top: 34px; }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile-img { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--panel, #fde4cb); display: grid; place-items: center; }
.tile-img img { width: 52%; filter: drop-shadow(0 18px 22px rgba(40, 60, 30, 0.22)); transform: rotate(-4deg); transition: transform 0.35s ease; }
.tile:hover .tile-img img { transform: rotate(-1deg) scale(1.03); }
.tile--set .tile-img { border: 2px solid var(--gold); }
.tile--set .tile-img .pair { position: relative; width: 78%; height: 70%; }
.tile--set .tile-img .pair img { position: absolute; width: 56%; top: 6%; }
.tile--set .tile-img .pair img:first-child { left: 0; transform: rotate(-8deg); z-index: 2; }
.tile--set .tile-img .pair img:last-child { right: 0; transform: rotate(7deg); }
.tile-tag { position: absolute; z-index: 3; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: 6px 10px; border-radius: 999px; }
.tile--set .tile-tag { background: linear-gradient(90deg, #e8751a, #ffc42e); color: var(--ink); box-shadow: 0 2px 8px rgba(232, 117, 26, 0.35); }
.tile b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-top: 14px; }
.tile .ln { font-size: 15px; line-height: 1.45; color: var(--ink-soft); margin-top: 4px; }
.notes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 12px 0 0; padding: 0; }
.notes li { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--panel); }
.tile .pr { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; margin-top: 12px; }
.tile .pr small { font-size: 13px; font-weight: 800; }
.tile .m2 { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 2px; }
.tile details { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.tile summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.tile summary::-webkit-details-marker { display: none; }
.tile details p { margin-top: 8px; font-style: italic; }
.tile .btn { margin-top: 14px; align-self: flex-start; }

/* story */
.story { border-top: 1px solid var(--line); }
.story-in { max-width: 860px; }
.story-text { font-size: clamp(22px, 3vw, 30px); line-height: 1.35; font-weight: 700; letter-spacing: -0.015em; margin-top: 14px; text-wrap: pretty; }

/* giving band */
.give { position: relative; overflow: hidden; isolation: isolate; background: var(--orange); color: var(--white); padding-block: 72px; }
.give .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.give .kick { color: #ffe3c4; }
.give h2 { font-weight: 900; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 10px; max-width: 16ch; }
.give .count { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.give .count b { font-size: clamp(64px, 10vw, 96px); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.give .count span { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.give-sun { width: 260px; height: 260px; right: -70px; top: 50%; margin-top: -130px; opacity: 0.35; animation-duration: 120s; }
.signup { display: grid; gap: 10px; }
.signup label { font-weight: 800; font-size: 16px; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 15px 20px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); }
.signup button { font: inherit; font-weight: 800; padding: 15px 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); cursor: pointer; }
.signup .msg { font-size: 13px; min-height: 1.4em; }
.signup .msg-fine { font-size: 12px; opacity: 0.85; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.pill { position: relative; border-radius: 20px; padding: 20px 20px 22px; background: var(--white); border-top: 6px solid var(--c); box-shadow: 0 8px 24px rgba(150, 80, 0, 0.1); text-decoration: none; display: block; }
.pill span { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.pill h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; margin-top: 6px; }
.pill p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin-top: 6px; }
.pill .state { font-style: normal; position: absolute; top: 16px; right: 14px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--warm); border: 1px solid var(--line); }
.pill--here { outline: 2px solid var(--apothecary); }
.pill--here .state { background: var(--apothecary); border-color: var(--apothecary); color: var(--ink); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff1c9; display: grid; place-items: center; font-weight: 800; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding-bottom: 18px; color: var(--ink-soft); max-width: 62ch; font-size: 15.5px; }

/* close */
.close { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); padding-block: 96px 120px; }
.close h2 { font-weight: 900; font-size: clamp(36px, 7vw, 60px); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; }
.close-sun { width: 440px; height: 440px; right: 6%; bottom: -230px; animation-duration: 120s; }

/* footer */
footer.site { background: var(--ink); color: #e9e2d6; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-block: 48px 36px; }
footer.site h4 { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .logo { color: var(--white); }
footer.site .back-home { display: inline-block; margin-bottom: 16px; font-weight: 800; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
footer.site .tagline { margin-top: 12px; color: #cfc6b8; max-width: 30ch; }
footer.site .legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px 30px; font-size: 12px; color: #b9b0a2; display: grid; gap: 8px; }
footer.site .legal p { max-width: 110ch; }

/* plain pages */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); padding-block: 72px 60px; }
.page-hero h1 { font-weight: 900; font-size: clamp(38px, 8vw, 60px); line-height: 1; letter-spacing: -0.03em; margin-top: 14px; max-width: 16ch; }
.page-sun { width: 340px; height: 340px; right: -80px; top: -120px; opacity: 0.9; }
.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; margin-top: 18px; }
.prose p { color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 36px; gap: 8px; }
  .hero-bars { order: -1; max-width: 420px; }
  .hero-sun { width: 200px; height: 200px; right: -50px; top: -50px; }
  .price-sticker { width: 96px; height: 96px; }
  .price-sticker b { font-size: 28px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--set { grid-column: 1 / -1; }
  .give .wrap, .faq { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .sec { padding-block: 60px; }
  nav.main .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .tile .ln { font-size: 14px; }
  .notes li { font-size: 11px; padding: 3px 8px; }
  nav.main { gap: 16px; font-size: 13px; }
  nav.main .soon { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sun { animation: none; } * { transition: none !important; } }
@media (max-width: 560px) { .topbar { font-size: 12.5px; } .topbar .wrap { gap: 2px 10px; padding-block: 7px; } }
