/* sundown.bynowak.com — the Bynowak editorial frame (paper, forest, burgundy) around Sundown's sunset. */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/bynowak-0.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/bynowak-2.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(/assets/fonts/bynowak-4.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(/assets/fonts/bynowak-5.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(/assets/fonts/bynowak-6.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(/assets/fonts/bynowak-7.woff2) format('woff2'); }

:root {
  /* Bynowak */
  --forest: #234c39; --forest-2: #35644b; --ink: #29382f; --sage: #c9d7bd; --sage-2: #e2e9da; --moss: #71856a;
  --cream: #f4eddf; --paper: #f9f5eb; --rose: #d3acaf; --burgundy: #783e4c; --muted: #566454; --line: #ccd3c3;
  /* Sundown */
  --dusk-1: #1d2150; --dusk-2: #6b3b6e; --dusk-3: #f0875a; --sun: #ffcf8a;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1); --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-underline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 em, h2 em { color: var(--burgundy); }
p { text-wrap: pretty; }
::selection { background: var(--sage); color: var(--forest); }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 4px; border-radius: 6px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .02; z-index: 60; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }

/* ---------- Masthead (matches bynowak.com) ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: #f9f5ebf2; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.masthead .shell { min-height: 76px; display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--forest); text-decoration: none; min-height: 44px; }
.brand-mark { width: 21px; height: 24px; border-radius: 65% 15% 65% 15%; background: var(--forest); transform: rotate(-12deg); box-shadow: 5px 3px 0 -2px var(--rose); transition: transform .2s; }
.brand:hover .brand-mark { transform: none; }
.crumb { color: var(--line); font-size: 1.4rem; font-weight: 300; }
.product { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--ink); text-decoration: none; }
.product img { width: 26px; height: 26px; border-radius: 7px; }
.links { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: .84rem; font-weight: 600; }
.links a { text-decoration: none; }
.links a:hover { color: var(--burgundy); }
.links .pill { padding: 10px 20px; border: 1px solid var(--forest); border-radius: 999px; color: var(--forest); }
.links .pill:hover { background: var(--forest); color: var(--cream); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--forest); background: var(--forest); color: var(--cream); font: 700 .86rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.button:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 8px 22px #234c3922; }
.button:disabled { opacity: .55; cursor: default; transform: none; }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--sage-2); }
.button.sunset { border: 0; background: linear-gradient(120deg, #ffcf8a, #f0875a 52%, #9c4f7c); color: #1d1330; box-shadow: 0 16px 40px -16px #f0875acc; }
.button.sunset:hover { box-shadow: 0 18px 50px -12px #f0875add; }
.button.big { min-height: 60px; padding: 18px 34px; font-size: .95rem; }
.button svg { width: 19px; height: 19px; }
.textlink { background: none; border: 0; padding: 6px 2px; font: 600 .86rem var(--sans); color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.textlink:hover { color: var(--burgundy); }

/* ---------- Sunset cover (the Bynowak hero card, at dusk) ---------- */
.cover { position: relative; isolation: isolate; overflow: hidden; margin: 26px auto 0; padding: 70px 64px 0; border-radius: 6px 44px 6px 6px; color: #fff3e8; background: linear-gradient(180deg, var(--dusk-1) 0%, var(--dusk-2) 52%, var(--dusk-3) 86%, var(--sun) 100%); }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .85; background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent), radial-gradient(1.4px 1.4px at 44% 22%, #ffe9c8 50%, transparent), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent), radial-gradient(1.2px 1.2px at 78% 26%, #fff 50%, transparent), radial-gradient(1px 1px at 88% 6%, #fff 50%, transparent), radial-gradient(1px 1px at 6% 34%, #fff 50%, transparent), radial-gradient(1.3px 1.3px at 92% 38%, #fff 50%, transparent); }
.cover .sunball { position: absolute; z-index: -1; right: 9%; bottom: 14%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle closest-side, #fff4d6 0 30%, #ffcf8a 40%, #ffb47a80 58%, transparent 100%); }
.cover .land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 30%; z-index: -1; }
.cover .eyebrow { color: #f3c9b9; }
.cover h1 { font-size: clamp(3.2rem, 7.6vw, 7rem); line-height: .9; font-style: italic; text-shadow: 0 6px 50px #1d133066; }
.cover h1 em { color: #ffcf8a; }
.cover p.lede { max-width: 540px; font-size: 1.15rem; color: #fff3e8d9; margin: 24px 0 30px; }
.cover .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cover .button.secondary { border-color: #fff3e870; color: #fff3e8; }
.cover .button.secondary:hover { background: #fff3e81a; }
.cover .price-note { margin-top: 18px; font-size: .86rem; color: #fff3e8cc; }
.cover .window { position: relative; margin: 56px 0 0; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -20px 80px -20px #12091f99, 0 0 0 1px #ffffff26; }
.window .bar { height: 32px; display: flex; align-items: center; gap: 9px; padding: 0 14px; background: #1d2150; font: 600 .72rem var(--sans); color: #ffffffcc; }
.window .bar img { width: 15px; height: 15px; border-radius: 4px; }
.window .bar .ctl { margin-left: auto; letter-spacing: .3em; opacity: .7; }
.window > img { width: 100%; height: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 8vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .98; margin-top: 12px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.card b.num { display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--burgundy); font-weight: 500; }
.card h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; margin: 12px 0 18px; }
.split p { color: var(--muted); }
.shot { border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px -40px #1d213099, 0 0 0 1px #1d21501a; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
.ticks li::before { content: '✦'; position: absolute; left: 0; color: var(--burgundy); }
.ticks b { color: var(--ink); font-weight: 600; }
.band { background: var(--forest); color: var(--cream); }
.band .eyebrow { color: #d5b2b5; }
.band h2 em { color: var(--rose); }
.band p, .band .ticks li { color: #dfe7d8; }
.band .ticks b { color: var(--cream); }
.thoughts { position: relative; min-height: 380px; }
.thought { position: absolute; padding: 12px 18px; border-radius: 16px; background: #ffffff12; border: 1px solid #c9d7bd33; font-size: .95rem; white-space: nowrap; color: var(--cream); animation: drift 9s ease-in-out infinite; }
.thought small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
@keyframes drift { 50% { transform: translate(8px, -10px); } }
.cite { font-size: .78rem; color: #c9d7bdaa; margin-top: 22px; }

/* Pricing */
.price-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: 6px 40px 6px 6px; overflow: hidden; background: #fffdf8; }
.price-card .left { padding: 44px; }
.price-card .right { padding: 44px; background: linear-gradient(160deg, #1d2150, #6b3b6e 60%, #b9616a); color: #fff3e8; display: flex; flex-direction: column; justify-content: center; }
.price-card .right .eyebrow { color: #f3c9b9; }
.prices { display: flex; gap: 40px; flex-wrap: wrap; margin: 14px 0 6px; }
.prices b { display: block; font-family: var(--serif); font-size: 4.4rem; line-height: 1; font-weight: 500; }
.prices span { font-size: .85rem; opacity: .85; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 1.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); color: var(--burgundy); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

/* ---------- Footer (matches bynowak.com) ---------- */
.footer { margin-top: 40px; padding: 80px 0 34px; color: var(--cream); background: linear-gradient(125deg, #173d2a, #214b35 55%, #633946); }
.footer .eyebrow { color: #d5b2b5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr .8fr; gap: 40px; }
.footer h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; margin-top: 12px; }
.footer h2 em { color: var(--rose); }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: .9rem; }
.footer-col span { font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #c9d7bd; margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: #eef2ea; }
.footer-col a:hover { color: var(--rose); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 22px; border-top: 1px solid #c9d7bd33; font-size: .78rem; color: #c9d7bd; }

/* ---------- Account ---------- */
.account-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 60px 0 90px; }
.account-wrap h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); line-height: .95; margin: 12px 0 18px; }
.panel { padding: 34px; border: 1px solid var(--line); border-radius: 6px 34px 6px 6px; background: #fffdf8; box-shadow: 0 30px 70px -45px #234c3955; }
.panel.dusk { color: #fff3e8; border: 0; background: linear-gradient(165deg, #1d2150, #4c3266 55%, #8e4a6c); }
.panel.dusk .eyebrow { color: #f3c9b9; }
.panel.dusk .muted, .panel.dusk .fine { color: #fff3e8b3; }
.panel h2 { font-size: 2.2rem; line-height: 1.05; margin: 8px 0 12px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.field input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font: 500 1rem var(--sans); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--forest); box-shadow: 0 0 0 4px #234c3914; }
.tabs { display: inline-flex; padding: 4px; margin-bottom: 22px; border-radius: 999px; background: var(--sage-2); }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 700 .82rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button[aria-pressed='true'] { background: #fffdf8; color: var(--forest); box-shadow: 0 2px 8px #234c3914; }
.status-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.status-row:first-of-type { border-top: 0; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--sage-2); color: var(--forest); }
.chip.warn { background: #f6e3d4; color: #8a4316; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps-list li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem var(--sans); background: #fff3e81f; border: 1px solid #fff3e840; }
.alert { padding: 14px 18px; border-radius: 14px; background: #f6e3d4; color: #6b3416; font-size: .9rem; margin-bottom: 18px; }
.alert.ok { background: var(--sage-2); color: var(--forest); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; transition: .35s var(--ease); background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skeleton { min-height: 360px; display: grid; place-items: center; color: var(--muted); }

/* ---------- Legal & notices ---------- */
.prose { max-width: 760px; padding: 70px 0 60px; }
.prose h1 { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; margin: 12px 0 20px; }
.prose h2 { font-size: 1.9rem; margin: 38px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.notice { max-width: 560px; margin: 16vh auto; padding: 0 24px; text-align: center; }
.notice h1 { font-size: 3rem; margin-bottom: 12px; }
.notice p { color: var(--muted); margin-bottom: 26px; }

.reveal { opacity: 1; }
.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.anim .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .section-head, .split, .account-wrap, .price-card { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cover { padding: 50px 28px 0; }
  .links a:not(.pill) { display: none; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .cards, .footer-grid { grid-template-columns: 1fr; }
  .crumb, .brand .label { display: none; }
  .price-card .left, .price-card .right, .panel { padding: 26px; }
  .thought { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .anim .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
