/* Henry web app. Values follow the design handoff (Henry Web v2) exactly; the 820px breakpoint is its "narrow". */

:root {
  --ink: #2C2C26; --body: #3A3A32; --muted: #6B6659; --faint: #8A8375; --bg: #F7F3EC; --card: #FFFFFF;
  --tc: #B25C38; --tc-dark: #A04E2C; --link: #8E4227; --tc-soft: #C97B5A; --peach: #F0DCCF; --peach-2: #E3C3AE;
  --green: #56724E; --green-dark: #41563A; --green-tint: #EAF0E6; --green-text: #4E6845; --green-bar: #7C9473;
  --line: #EDE5D8; --line-2: #E6DFD1; --line-3: #DAD2C3; --line-4: #F1EDE4; --chip: #F4EEE4;
  --dark-in: #3A3A32; --dark-line: #4A4A40; --light-1: #DDD6C8; --light-2: #C9C1B1;
  --card-shadow: 0 3px 0 #E7DFD0;
  --float-shadow: 0 24px 48px -16px rgba(44,44,38,0.28);
  --fd: 'Bricolage Grotesque', sans-serif; --fb: 'Work Sans', sans-serif; --fm: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.22,0.9,0.25,1); --spring: cubic-bezier(0.34,1.4,0.4,1);
  --side: 28px;
}

html, body { margin: 0; background: #F7F3EC; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body { min-height: 100vh; font-family: var(--fb); color: var(--body); overflow-x: hidden; }
a { color: #8E4227; } a:hover { color: #B25C38; }
img { max-width: 100%; }
input::placeholder { color: #A39C8C; }
button { font: inherit; }
button, .btn { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(201,123,90,0.55); outline-offset: 2px; }
.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; }
[hidden] { display: none !important; }

@keyframes henry-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes henry-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes henry-spin { to { transform: rotate(360deg); } }
@keyframes henry-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes henry-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes henry-toast { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes henry-toast-out { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes henry-pop { 0% { opacity: 0; transform: scale(0.2); } 58% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: scale(1); } }
@keyframes henry-rollup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes henry-rolldn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes henry-step { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes henry-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes henry-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.page-in { animation: henry-in 0.4s var(--ease) both; }
.bob { animation: henry-bob 4.5s ease-in-out infinite; }

/* Scroll reveal: only applied by JS to things below the fold, so nothing flickers on load. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Cross-page transitions where the browser supports them: the header stays put, the page fades. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: henry-fade 0.18s ease reverse both; }
::view-transition-new(root) { animation: henry-fade 0.24s ease both; }
.site-header { view-transition-name: site-header; }

/* ------------------------------------------------------------ shared type */

.kicker { font-family: var(--fm); font-size: 12px; letter-spacing: 0.08em; color: #8E4227; text-transform: uppercase; }
.kicker--light { color: #E3C3AE; }
.h2 { margin: 0; font-family: var(--fd); font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.lede { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.fine { font-size: 12.5px; color: var(--faint); }
.pill { display: inline-flex; align-items: center; align-self: flex-start; padding: 7px 13px; border-radius: 999px; font-family: var(--fd); font-size: 13px; font-weight: 800; }
.pill--green { background: #EAF0E6; color: #41563A; }
.chip { align-self: flex-start; padding: 6px 11px; border-radius: 999px; font-family: var(--fd); font-size: 12px; font-weight: 800; background: #F1EDE4; color: #6B6659; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; }

/* ------------------------------------------------------------ buttons */

.btn { appearance: none; -webkit-appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; font-family: var(--fd); font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform 0.14s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.btn:active { transform: scale(0.97); }
.btn--cta { background: #B25C38; color: #FFFFFF; }
.btn--cta:hover { background: #A04E2C; color: #FFFFFF; }
.btn--dark { background: #2C2C26; color: #FFFFFF; }
.btn--dark:hover { background: #3E3E36; color: #FFFFFF; }
.btn--outline { background: transparent; color: #2C2C26; border: 2px solid #E6DFD1; }
.btn--outline:hover { border-color: #C97B5A; color: #2C2C26; }
.btn--white { background: #FFFFFF; color: #3A3A32; border: 2px solid #E6DFD1; }
.btn--white:hover { border-color: #C97B5A; color: #3A3A32; }
.btn--light { background: #F7F3EC; color: #2C2C26; }
.btn--light:hover { background: #FFFFFF; color: #2C2C26; }
.btn--press:active { transform: translateY(2px) scale(0.98); }
.arrow-btn { appearance: none; cursor: pointer; width: 48px; height: 48px; border-radius: 999px; border: 2px solid #E6DFD1; background: #FFFFFF; color: #2C2C26; font-family: var(--fd); font-size: 18px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.14s ease, border-color 0.2s ease, background 0.2s ease; }
.arrow-btn:hover { border-color: #C97B5A; }
.arrow-btn--dark { border: 0; background: #2C2C26; color: #FFFFFF; }
.arrow-btn--dark:hover { background: #45453C; }
.arrow-btn:active { transform: scale(0.94); }
.arrows { display: flex; gap: 8px; }

/* ------------------------------------------------------------ header */

.site-top { position: sticky; top: 0; z-index: 40; padding: 14px 20px 8px; }
.site-header { position: relative; max-width: 1200px; margin: 0 auto; padding: 10px 10px 10px 24px; border-radius: 30px; background: #FFFFFF; border: 1.5px solid #EDE5D8; box-shadow: 0 3px 0 #E7DFD0, 0 12px 30px rgba(44,44,38,0.06); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 66px; }
.logo { display: flex; align-items: center; cursor: pointer; border-radius: 12px; transition: transform 0.2s var(--spring); }
.logo:hover { transform: rotate(-3deg) scale(1.04); }
.logo img { height: 42px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link { appearance: none; cursor: pointer; border: 0; background: none; padding: 10px 14px; border-radius: 999px; font-family: var(--fd); font-size: 14.5px; font-weight: 700; color: #3A3A32; text-decoration: none; transition: background 0.15s ease; }
.nav-link:hover { background: #F4EEE4; color: #3A3A32; }
.nav-cta { margin-left: 8px; padding: 13px 22px; font-size: 14.5px; }
.nav-narrow { display: none; align-items: center; gap: 6px; }
.nav-narrow .btn { padding: 12px 18px; font-size: 14px; }
.menu-btn { appearance: none; cursor: pointer; width: 46px; height: 46px; border-radius: 999px; border: 0; background: #F4EEE4; color: #2C2C26; font-family: var(--fd); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.14s ease; }
.menu-btn:active { transform: scale(0.94); }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: inline; }
.menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; display: none; flex-direction: column; gap: 2px; padding: 10px; border-radius: 26px; background: #FFFFFF; border: 1.5px solid #EDE5D8; box-shadow: 0 3px 0 #E7DFD0, 0 24px 48px -16px rgba(44,44,38,0.28); transform-origin: top right; transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.22,1.2,0.36,1), visibility 0.22s; opacity: 0; transform: translateY(-10px) scale(0.96); visibility: hidden; pointer-events: none; }
.menu-open .menu { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.menu a { text-align: left; padding: 14px 16px; border-radius: 16px; font-family: var(--fd); font-size: 17px; font-weight: 800; color: #2C2C26; text-decoration: none; transition: background 0.15s ease; }
.menu a:hover, .menu a:focus-visible { background: #F7F3EC; color: #2C2C26; }
.hdr-btn { padding: 11px 18px; font-size: 14px; }
.hdr-btn--sm { padding: 10px 16px; font-size: 13.5px; }

/* ------------------------------------------------------------ landing: hero */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--side) 88px; }
.hero { max-width: 1200px; margin: 0 auto; padding: 30px var(--side) 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 52px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--fd); font-size: clamp(48px, 6.6vw, 88px); font-weight: 800; line-height: 0.94; letter-spacing: -0.05em; color: #2C2C26; text-wrap: balance; }
.hero-lede { margin: 0; max-width: 480px; font-size: 18px; line-height: 1.55; color: #6B6659; text-wrap: pretty; }
.ticks { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: #6B6659; }
.ticks span { display: flex; gap: 6px; align-items: center; }
.ticks b { color: #56724E; font-weight: 800; }

.name-form { display: flex; gap: 8px; padding: 7px; border-radius: 999px; background: #FFFFFF; border: 2px solid #EDE5D8; box-shadow: 0 3px 0 #E7DFD0; max-width: 540px; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.name-form:focus-within { border-color: #C97B5A; box-shadow: 0 3px 0 #E7DFD0, 0 0 0 4px rgba(201,123,90,0.14); }
.name-form input { flex: 1 1 180px; min-width: 0; width: 100%; padding: 13px 18px; border: 0; background: transparent; outline: none; font-family: var(--fd); font-size: 18px; font-weight: 700; color: #2C2C26; }
.name-form .btn { flex: 0 0 auto; padding: 15px 24px; font-size: 16px; }
.name-form .btn span { transition: transform 0.2s var(--spring); }
.name-form .btn:hover span { transform: translateX(3px); }

.hero-vis { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.hero-blob { position: absolute; width: min(460px, 92%); aspect-ratio: 1; border-radius: 999px; background: #F0DCCF; }
.hero-blob-2 { position: absolute; width: 150px; height: 150px; border-radius: 999px; background: #E3C3AE; right: 4%; bottom: 6%; }
.hero-card { position: relative; width: min(470px, 100%); padding: 18px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0, 0 30px 60px -30px rgba(74,48,32,0.45); transform: rotate(-2.5deg); display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform 0.5s var(--spring); }
.hero-vis:hover .hero-card { transform: rotate(-1deg) translateY(-4px); }
.hero-card-head { display: flex; align-items: center; gap: 12px; }
.hero-card-head img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.hero-card-head div { display: flex; flex-direction: column; gap: 1px; }
.hero-card-head strong { font-family: var(--fd); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #2C2C26; }
.hero-card-head small { font-size: 12px; color: #6B6659; }
.hero-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero-day { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 18px; background: #FBF8F3; min-width: 0; }
.hero-day > b { font-family: var(--fd); font-size: 14px; font-weight: 800; color: #2C2C26; }
.hero-act { display: flex; flex-direction: column; gap: 3px; padding: 8px 9px; border-radius: 12px; animation: henry-rise 0.4s ease both; }
.hero-act small { font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-act span { font-family: var(--fd); font-size: 12px; font-weight: 700; line-height: 1.15; color: #2C2C26; }
.hero-badge { position: absolute; left: 2%; top: 12%; z-index: 2; padding: 10px 14px; border-radius: 999px; background: #56724E; color: #FFFFFF; font-family: var(--fd); font-size: 13px; font-weight: 800; transform: rotate(-4deg); box-shadow: 0 10px 22px -12px rgba(44,44,38,0.5); white-space: nowrap; }
.hero-head { position: absolute; right: 0; top: 2%; z-index: 2; width: 116px; height: auto; }

/* ------------------------------------------------------------ landing: why */

.why { display: flex; flex-direction: column; gap: 30px; }
.why .h2 { max-width: 680px; }
.why .lede { max-width: 420px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.sym { scroll-snap-align: start; padding: 22px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; display: flex; flex-direction: column; gap: 10px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sym:hover { transform: translateY(-4px); box-shadow: 0 3px 0 #E7DFD0, 0 18px 30px -18px rgba(44,44,38,0.25); }
.sym h3 { margin: 0; font-family: var(--fd); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #2C2C26; }
.sym p { margin: 0; font-size: 14px; line-height: 1.55; color: #6B6659; text-wrap: pretty; }
.sym .chip { margin-top: auto; }
.why-arrows { display: none; justify-content: flex-end; }
.fulfilled { position: relative; overflow: hidden; border-radius: 32px; background: #56724E; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 26px; }
.fulfilled .blob { position: absolute; width: 260px; height: 260px; border-radius: 999px; background: #7C9473; right: -80px; top: -120px; opacity: 0.6; }
.fulfilled > div { position: relative; display: flex; flex-direction: column; gap: 6px; }
.fulfilled .k { font-family: var(--fm); font-size: 12px; letter-spacing: 0.08em; color: #DCE8D4; }
.fulfilled .big { font-family: var(--fd); font-size: 30px; font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; color: #FFFFFF; text-wrap: balance; }
.fulfilled h3 { margin: 0; font-family: var(--fd); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; }
.fulfilled p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #DCE8D4; text-wrap: pretty; }

/* ------------------------------------------------------------ landing: meet */

.meet { border-radius: 40px; overflow: hidden; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.meet-photo { position: relative; min-height: 520px; background: #E9DCCB; overflow: hidden; }
.meet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--ease); }
.meet:hover .meet-photo img { transform: scale(1.03); }
.photo-tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,0.92); font-family: var(--fd); font-size: 13px; font-weight: 800; color: #2C2C26; }
.meet-copy { position: relative; padding: clamp(28px, 4.4vw, 52px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.meet-copy .h2 { max-width: 460px; font-size: clamp(34px, 4.2vw, 52px); }
.meet-copy > p { margin: 0; max-width: 520px; font-size: 16.5px; line-height: 1.6; color: #6B6659; text-wrap: pretty; }
.traits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.trait { padding: 16px 18px; border-radius: 20px; background: #F7F3EC; display: flex; flex-direction: column; gap: 4px; transition: background 0.2s ease; }
.trait:hover { background: #F2ECE1; }
.trait b { font-family: var(--fd); font-size: 16.5px; font-weight: 800; color: #2C2C26; }
.trait span { font-size: 13.5px; line-height: 1.5; color: #6B6659; text-wrap: pretty; }
.meet-copy .btn { align-self: flex-start; margin-top: 4px; padding: 14px 20px; font-size: 15px; }

/* ------------------------------------------------------------ landing: how */

.how-sec { padding-top: 24px; }
.how { position: relative; overflow: hidden; border-radius: 40px; background: #2C2C26; padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; gap: 40px; }
.how .blob { position: absolute; width: 340px; height: 340px; border-radius: 999px; background: #3A3A32; right: -120px; top: -140px; }
.how-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.how-head .h2 { max-width: 560px; color: #F7F3EC; }
.how-badge { padding: 9px 14px; border-radius: 999px; background: #3A3A32; color: #E3C3AE; font-family: var(--fd); font-size: 13px; font-weight: 800; }
.how-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 36px; }
.how-step { display: flex; flex-direction: column; gap: 18px; }
.mini { position: relative; min-height: 208px; padding: 16px; border-radius: 22px; background: #F7F3EC; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform 0.3s var(--spring); }
.how-step:hover .mini { transform: translateY(-4px) rotate(-0.6deg); }
.mini-title { font-family: var(--fd); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: #2C2C26; }
.mini-opts { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.mini-opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #FFFFFF; border: 2px solid #EDE5D8; }
.mini-opt i { width: 16px; height: 16px; border-radius: 999px; border: 2px solid #DAD2C3; background: #FFFFFF; flex: 0 0 auto; }
.mini-opt b { font-family: var(--fd); font-size: 13.5px; font-weight: 800; color: #2C2C26; }
.mini-opt small { margin-left: auto; font-size: 11px; color: #4E6845; }
.mini-opt.is-sel { background: #EAF0E6; border-color: #7C9473; }
.mini-opt.is-sel i { border: 5px solid #56724E; }
.mini-opt.is-sel b { color: #41563A; }
.mini-badge { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: #56724E; color: #FFFFFF; font-family: var(--fd); font-size: 11.5px; font-weight: 800; }
.mini-score { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; border-radius: 12px; background: #FFFFFF; }
.mini-score > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.mini-score b { font-family: var(--fd); font-size: 12.5px; font-weight: 800; color: #2C2C26; }
.mini-score small { font-size: 10.5px; font-weight: 700; }
.mini-track { height: 5px; border-radius: 999px; background: #F1EDE4; overflow: hidden; }
.mini-track div { height: 100%; border-radius: 999px; transform-origin: left; }
.reveal.is-in .mini-track div, .no-reveal .mini-track div { animation: henry-bar 0.9s cubic-bezier(0.25,1,0.4,1) 0.3s both; }
.mini-removed { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 12px; border: 2px dashed #DAD2C3; }
.mini-removed b { font-family: var(--fd); font-size: 12.5px; font-weight: 800; color: #8A8375; text-decoration: line-through; }
.mini-removed small { font-size: 10.5px; font-weight: 700; color: #8A8375; }
.mini-week-head { display: flex; justify-content: space-between; align-items: baseline; }
.mini-week-head small { font-family: var(--fm); font-size: 10px; color: #8A8375; }
.mini-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px dashed #DAD2C3; }
.mini-row > b { width: 30px; font-family: var(--fd); font-size: 11.5px; font-weight: 800; color: #6B6659; }
.mini-row > span { flex: 1; font-size: 12px; font-weight: 600; color: #2C2C26; }
.mini-row > i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #C9C1B1; background: #FFFFFF; color: #FFFFFF; font-size: 9px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.mini-row.is-done > span { color: #4E6845; text-decoration: line-through; }
.mini-row.is-done > i { border-color: #56724E; background: #56724E; }
.how-text { display: flex; flex-direction: column; gap: 8px; }
.how-text h3 { margin: 0; font-family: var(--fd); font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #F7F3EC; }
.how-text p { margin: 0; font-size: 16px; line-height: 1.6; color: #DDD6C8; text-wrap: pretty; }

/* ------------------------------------------------------------ landing: six needs */

.needs { display: flex; flex-direction: column; gap: 30px; }
.needs .h2 { max-width: 620px; }
.needs .lede { max-width: 400px; }
.needs-body { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.need-tabs { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.need-tab { appearance: none; -webkit-appearance: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; font-family: var(--fd); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; background: #FFFFFF; color: #2C2C26; border: 2px solid transparent; box-shadow: 0 3px 0 #E7DFD0; text-align: left; transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.14s ease, box-shadow 0.22s ease; }
.need-tab:hover { transform: translateX(3px); }
.need-tab:active { transform: translateY(2px) scale(0.98); }
.need-tab .l { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13.5px; background: var(--tint); color: var(--text); transition: background 0.22s ease; }
.need-tab .t { flex: 1; text-align: left; }
.need-tab .a { color: var(--text); opacity: 0; transform: translateX(-8px); transition: opacity 0.22s ease, transform 0.3s var(--spring); }
.need-tab.is-sel { background: var(--tint); color: var(--text); border-color: var(--bar); box-shadow: none; }
.need-tab.is-sel:hover { transform: none; }
.need-tab.is-sel .l { background: #FFFFFF; }
.need-tab.is-sel .a { opacity: 1; transform: none; }
.need-panel { flex: 2 1 460px; position: relative; overflow: hidden; border-radius: 30px; background: var(--tint); padding: clamp(24px, 3.4vw, 38px); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 420px; transition: background 0.3s ease; }
.need-panel .blob, .need-m .blob { position: absolute; width: 260px; height: 260px; border-radius: 999px; background: rgba(255,255,255,0.45); right: -90px; top: -110px; }
.need-content { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; flex: 1; }
.need-content.is-anim { animation: henry-step 0.4s var(--ease) both; }
.need-copy { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.need-tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; color: var(--text); font-family: var(--fd); font-size: 12.5px; font-weight: 800; }
.need-copy h3 { margin: 0; font-family: var(--fd); font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.need-copy p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #3A3A32; text-wrap: pretty; }
.need-copy .leans { font-size: 13.5px; color: #3A3A32; }
.need-copy .leans strong { font-family: var(--fd); }
.need-ex { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.need-ex > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; border-radius: 20px; background: #FFFFFF; }
.is-anim .need-ex > div, .need-m.is-open .need-ex > div { animation: henry-rise 0.4s ease both; }
.need-ex > div:nth-child(1) { animation-delay: 0.12s; } .need-ex > div:nth-child(2) { animation-delay: 0.19s; } .need-ex > div:nth-child(3) { animation-delay: 0.26s; }
.need-ex small { font-family: var(--fd); font-size: 12px; font-weight: 800; color: #6B6659; }
.need-ex b { font-family: var(--fd); font-size: 16px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: #2C2C26; }
.need-ex span { font-size: 13px; line-height: 1.45; color: #6B6659; text-wrap: pretty; }
.need-m { display: none; position: relative; overflow: hidden; border-radius: 24px; background: var(--tint); padding: 22px; margin: 4px 0 10px; flex-direction: column; gap: 20px; }
.need-m.is-open { animation: henry-rise 0.35s ease both; }
.need-m .need-content { gap: 20px; }

/* ------------------------------------------------------------ story cards and sliders */

.stories { display: flex; flex-direction: column; gap: 30px; }
.stories .h2 { max-width: 620px; }
.stories .lede { max-width: 400px; }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 42%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--side) * -1); padding: 4px var(--side) 8px; scroll-padding-left: var(--side); overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.s-card { scroll-snap-align: start; cursor: pointer; border-radius: 28px; overflow: hidden; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s ease; }
.s-card:hover { transform: translateY(-4px); box-shadow: 0 3px 0 #E7DFD0, 0 22px 36px -22px rgba(44,44,38,0.3); color: inherit; }
.s-card:hover .s-cta span, .s-row:hover .s-cta span { transform: translateX(4px); }
.stripe { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, var(--s0) 0 14px, var(--s1) 14px 28px); }
.stripe-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.8s var(--ease); }
.s-card:hover .stripe-img, .s-row:hover .stripe-img, .m-card:hover .stripe-img { transform: scale(1.04); }
.stripe-in { position: relative; height: 230px; display: flex; align-items: flex-end; padding: 16px; }
.photo-cap { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.88); font-family: var(--fm); font-size: 10.5px; letter-spacing: 0.06em; color: #6B6659; }
.s-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.s-card h3 { margin: 0; font-family: var(--fd); font-size: 25px; font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; color: #2C2C26; text-wrap: balance; }
.s-card p { margin: 0; font-size: 15px; line-height: 1.6; color: #6B6659; text-wrap: pretty; }
.s-cta { margin-top: auto; padding-top: 4px; font-family: var(--fd); font-size: 15px; font-weight: 800; color: #8E4227; }
.s-cta span { display: inline-block; transition: transform 0.2s var(--spring); }
.slider-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.slider-foot .btn { padding: 13px 22px; font-size: 15px; }

/* ------------------------------------------------------------ landing: footer band */

.band-wrap { padding-bottom: 56px; }
.band { position: relative; overflow: hidden; border-radius: 40px; background: #B25C38; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; align-items: center; }
.band .b1 { position: absolute; width: 320px; height: 320px; border-radius: 999px; background: #C4703F; right: -90px; top: -130px; }
.band .b2 { position: absolute; width: 200px; height: 200px; border-radius: 999px; background: #A04E2C; left: 38%; bottom: -110px; }
.band-copy { position: relative; display: flex; flex-direction: column; gap: 20px; }
.band h2 { margin: 0; max-width: 560px; font-family: var(--fd); font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; color: #FFFFFF; text-wrap: balance; }
.band-art { position: relative; display: flex; justify-content: center; }
.band-art img { width: min(260px, 70%); height: auto; }
.site-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 26px 4px 0; font-size: 12.5px; color: #8A8375; }
.site-foot a { color: #8A8375; text-decoration: none; } .site-foot a:hover { color: #8E4227; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------ stories index */

.main-stories { max-width: 1200px; margin: 0 auto; padding: 30px var(--side) 88px; display: flex; flex-direction: column; gap: 44px; }
.main-stories .sec-head > div { gap: 14px; }
.page-h1 { margin: 0; max-width: 720px; font-family: var(--fd); font-size: clamp(44px, 6vw, 76px); font-weight: 800; line-height: 0.96; letter-spacing: -0.05em; color: #2C2C26; text-wrap: balance; }
.main-stories .lede { max-width: 380px; }
.s-list { display: flex; flex-direction: column; gap: 18px; }
.s-row { cursor: pointer; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-radius: 32px; overflow: hidden; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; text-decoration: none; color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s ease; }
.s-row:hover { transform: translateY(-4px); box-shadow: 0 3px 0 #E7DFD0, 0 22px 36px -22px rgba(44,44,38,0.3); color: inherit; }
.s-row .stripe-in { min-height: 280px; height: 100%; padding: 18px; }
.s-row-body { padding: clamp(24px, 3.6vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.s-row-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.s-num { font-family: var(--fm); font-size: 12px; letter-spacing: 0.06em; color: #8A8375; }
.s-row h2 { margin: 0; font-family: var(--fd); font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; color: #2C2C26; text-wrap: balance; }
.s-row p { margin: 0; max-width: 520px; font-size: 15.5px; line-height: 1.6; color: #6B6659; text-wrap: pretty; }
.s-row .s-cta { margin-top: 0; }

/* ------------------------------------------------------------ story post */

.main-post { max-width: 1200px; margin: 0 auto; padding: 18px var(--side) 88px; display: flex; flex-direction: column; gap: 40px; }
.post-head { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.back-link { align-self: flex-start; font-family: var(--fd); font-size: 14px; font-weight: 800; color: #8E4227; text-decoration: none; transition: transform 0.2s var(--spring); }
.back-link:hover { transform: translateX(-3px); }
.post-head h1 { margin: 0; font-family: var(--fd); font-size: clamp(42px, 6vw, 78px); font-weight: 800; line-height: 0.96; letter-spacing: -0.05em; color: #2C2C26; text-wrap: balance; }
.post-dek { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.5; color: #6B6659; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.byline b { font-family: var(--fd); font-size: 14px; font-weight: 800; color: #3A3A32; }
.byline i { width: 4px; height: 4px; border-radius: 999px; background: #C9C1B1; }
.post-hero { border-radius: 36px; overflow: hidden; }
.post-hero .stripe-in { height: clamp(260px, 38vw, 480px); padding: 22px; }
.post-body { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.post-article { flex: 2 1 520px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 40px; }
.post-sec { display: flex; flex-direction: column; gap: 16px; }
.post-sec h2 { margin: 0; font-family: var(--fd); font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: #2C2C26; }
.post-sec p { margin: 0; font-size: 18px; line-height: 1.7; color: #3A3A32; text-wrap: pretty; }
.pull { margin: 14px 0 0; padding: 28px 30px; border-radius: 28px; background: #F0DCCF; display: flex; flex-direction: column; gap: 10px; }
.pull p { font-family: var(--fd); font-size: clamp(22px, 2.4vw, 28px) !important; font-weight: 800; line-height: 1.18 !important; letter-spacing: -0.02em; color: #5A2E1C !important; text-wrap: balance; }
.pull cite { font-style: normal; font-size: 14px; color: #6F3C26; }
.from-plan { padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; display: flex; flex-direction: column; gap: 18px; }
.from-plan header { display: flex; flex-direction: column; gap: 4px; }
.from-plan h2 { margin: 0; font-family: var(--fd); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #2C2C26; }
.fp-day { display: grid; grid-template-columns: minmax(90px, 130px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px dashed #DAD2C3; }
.fp-day > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.fp-day b { font-family: var(--fd); font-size: 16px; font-weight: 800; color: #2C2C26; }
.fp-day small { font-size: 13px; color: #8A8375; }
.fp-acts { display: flex; flex-direction: column; gap: 8px; }
.row-min { display: flex; justify-content: space-between; gap: 12px; }
.row-min span { font-size: 15.5px; color: #3A3A32; }
.row-min em { font-style: normal; font-family: var(--fm); font-size: 12.5px; color: #8A8375; white-space: nowrap; }
.knew { flex: 1 1 280px; max-width: 400px; position: sticky; top: 104px; min-width: 0; padding: 26px; border-radius: 28px; background: #2C2C26; color: #F7F3EC; display: flex; flex-direction: column; gap: 18px; }
.knew dl { margin: 0; display: flex; flex-direction: column; }
.knew dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid #45453C; }
.knew dt { font-size: 13.5px; color: #C9C1B1; }
.knew dd { margin: 0; font-family: var(--fd); font-size: 14.5px; font-weight: 800; text-align: right; }
.knew .btn { padding: 14px 18px; font-size: 15px; }
.more { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 2px solid #E6DFD1; }
.more h2 { margin: 0; font-family: var(--fd); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: #2C2C26; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.m-card { cursor: pointer; border-radius: 28px; overflow: hidden; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s ease; }
.m-card:hover { transform: translateY(-4px); box-shadow: 0 3px 0 #E7DFD0, 0 22px 36px -22px rgba(44,44,38,0.3); color: inherit; }
.m-card:hover .s-cta span { transform: translateX(4px); }
.m-card .stripe-in { height: 170px; padding: 0; }
.m-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.m-body h3 { margin: 0; font-family: var(--fd); font-size: 22px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #2C2C26; text-wrap: balance; }
.m-body .s-cta { font-size: 14.5px; }

/* ------------------------------------------------------------ onboarding steps */

.main-steps { max-width: 720px; margin: 0 auto; padding: 6px var(--side) 80px; }
.steps-form { display: flex; flex-direction: column; gap: 30px; }
.progress-row { display: flex; align-items: center; gap: 14px; }
.back-btn { appearance: none; cursor: pointer; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: 0; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; font-size: 20px; color: #3A3A32; display: flex; align-items: center; justify-content: center; transition: transform 0.14s ease; }
.back-btn:hover { transform: translateX(-2px); }
.back-btn:active { transform: translateY(2px) scale(0.98); }
.progress { flex: 1; height: 6px; border-radius: 999px; background: #E6DFD1; overflow: hidden; }
.progress div { height: 100%; border-radius: 999px; background: #C97B5A; width: 12.5%; transition: width 0.45s cubic-bezier(0.34,1.2,0.4,1); }
.step-count { flex: 0 0 auto; font-family: var(--fd); font-size: 13px; font-weight: 800; color: #6B6659; font-variant-numeric: tabular-nums; }
.step { display: flex; flex-direction: column; gap: 26px; }
.step.is-fwd { animation: henry-step 0.36s var(--ease) both; }
.step.is-back { animation: henry-back 0.36s var(--ease) both; }
.q { display: flex; flex-direction: column; gap: 10px; }
.q h1 { margin: 0; font-family: var(--fd); font-size: clamp(34px, 4.8vw, 50px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; color: #2C2C26; text-wrap: balance; overflow-wrap: anywhere; }
.q p { margin: 0; font-size: 16px; line-height: 1.55; color: #6B6659; text-wrap: pretty; }
.big-input { width: 100%; padding: 10px 2px; border: 0; border-bottom: 3px solid #C97B5A; border-radius: 0; background: transparent; outline: none; font-family: var(--fd); font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: #2C2C26; transition: border-color 0.2s ease; }
.big-input:focus { border-bottom-color: #B25C38; }
.breed-box { display: flex; flex-direction: column; gap: 12px; }
.combo { position: relative; }
.combo-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #8A8375; pointer-events: none; }
.combo input { width: 100%; padding: 17px 22px 17px 50px; border-radius: 999px; border: 2px solid #E6DFD1; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; outline: none; font-family: var(--fd); font-size: 19px; font-weight: 700; color: #2C2C26; transition: border-color 0.2s ease, border-radius 0.15s ease; -webkit-appearance: none; appearance: none; }
.combo input:focus { border-color: #C97B5A; background: #FFFFFF; }
.combo.is-open input { border-radius: 24px 24px 0 0; border-color: #C97B5A; border-bottom-color: #EDE5D8; box-shadow: none; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 20; max-height: 320px; overflow-y: auto; padding: 6px; border-radius: 0 0 24px 24px; border: 2px solid #C97B5A; border-top: 1px solid #EDE5D8; background: #FFFFFF; box-shadow: 0 18px 36px -16px rgba(44,44,38,0.3); display: flex; flex-direction: column; animation: henry-fade 0.15s ease both; }
.combo-opt { appearance: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; text-align: left; width: 100%; font-family: var(--fd); font-size: 16px; font-weight: 800; color: #2C2C26; background: transparent; border: 0; transition: background 0.15s ease; }
.combo-opt:hover, .combo-opt.is-hi { background: #F4EEE4; }
.combo-opt small { flex: 0 0 auto; font-family: var(--fb); font-size: 12.5px; font-weight: 500; color: #8A8375; }
.hint { font-size: 14px; color: #6B6659; }
.confirm { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 18px; background: #EAF0E6; color: #41563A; font-size: 14px; line-height: 1.5; margin-top: 4px; animation: henry-rise 0.35s var(--ease) both; }
.confirm > b { flex: 0 0 auto; font-weight: 800; }
.confirm > span { text-wrap: pretty; }
.segs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.seg { appearance: none; -webkit-appearance: none; cursor: pointer; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 20px 22px; border-radius: 22px; font-family: var(--fd); font-size: 20px; font-weight: 800; letter-spacing: -0.015em; text-align: left; border: 2px solid #EDE5D8; background: #FFFFFF; color: #3A3A32; box-shadow: 0 3px 0 #EFE8DC; transition: background 0.2s ease, border-color 0.2s ease, transform 0.14s ease, box-shadow 0.2s ease; }
.seg:hover { border-color: #DAD2C3; }
.seg:active { transform: translateY(2px) scale(0.98); }
.seg .dot { width: 24px; height: 24px; border-radius: 999px; margin-bottom: 10px; border: 2px solid #DAD2C3; background: #FFFFFF; transition: border 0.2s ease; }
.seg small { font-family: var(--fb); font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: #6B6659; }
.seg.is-sel { border-color: #7C9473; background: #EAF0E6; color: #41563A; box-shadow: 0 3px 0 #BDCFB3; }
.seg.is-sel .dot { border: 7px solid #56724E; }
.seg.is-sel small { color: #4E6845; }
.seg.is-pop .dot, .chip-btn.is-pop .mark { animation: henry-pop 0.34s cubic-bezier(0.2,1.35,0.35,1) both; }
.weight-card { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 26px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; }
.weight-row { display: flex; align-items: center; gap: 22px; }
.stepper { appearance: none; cursor: pointer; width: 60px; height: 60px; flex: 0 0 auto; border-radius: 999px; border: 2px solid #2C2C26; background: #FFFFFF; font-size: 24px; color: #3A3A32; display: flex; align-items: center; justify-content: center; transition: transform 0.14s ease, background 0.2s ease; }
.stepper:hover { background: #F7F3EC; }
.stepper:active { transform: translateY(2px) scale(0.98); }
.weight-num { min-width: 130px; display: flex; align-items: baseline; justify-content: center; gap: 6px; overflow: hidden; }
.weight-num input { width: 3.2ch; min-width: 0; padding: 0; border: 0; background: transparent; outline: none; text-align: center; font-family: var(--fd); font-size: 68px; font-weight: 800; letter-spacing: -0.03em; color: #2C2C26; -moz-appearance: textfield; border-radius: 12px; }
.weight-num input::-webkit-outer-spin-button, .weight-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.weight-num input:focus { background: #F7F3EC; }
.weight-num input.roll-up { animation: henry-rollup 0.28s cubic-bezier(0.2,0.9,0.25,1) both; }
.weight-num input.roll-dn { animation: henry-rolldn 0.28s cubic-bezier(0.2,0.9,0.25,1) both; }
.weight-num span { font-family: var(--fd); font-size: 20px; font-weight: 700; color: #8A8375; }
.weight-pill { padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.35; text-align: center; background: #EAF0E6; color: #41563A; transition: background 0.25s ease, color 0.25s ease; }
.weight-pill.is-off { background: #F8E7DF; color: #8E4227; }
.care { display: flex; flex-direction: column; gap: 22px; }
.care > div { display: flex; flex-direction: column; gap: 10px; }
.care h2 { margin: 0; font-family: var(--fd); font-size: 16px; font-weight: 800; color: #2C2C26; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { appearance: none; -webkit-appearance: none; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 10px 15px 10px 11px; border-radius: 999px; font-family: var(--fb); font-size: 13.5px; font-weight: 600; border: 2px solid #EDE5D8; background: #FFFFFF; color: #3A3A32; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.14s ease; }
.chip-btn:hover { border-color: #DAD2C3; }
.chip-btn:active { transform: translateY(2px) scale(0.98); }
.chip-btn .mark { width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: #F1EDE4; color: transparent; }
.chip-btn.is-sel { border-color: #56724E; background: #56724E; color: #FFFFFF; }
.chip-btn.is-sel .mark { background: #FFFFFF; color: #56724E; }
.time-box { display: flex; flex-direction: column; gap: 12px; }
.toggle { appearance: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 20px; border: 2px solid #EDE5D8; background: #FFFFFF; text-align: left; transition: border-color 0.2s ease; }
.toggle:hover { border-color: #DAD2C3; }
.toggle > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.toggle b { font-family: var(--fd); font-size: 15.5px; font-weight: 800; color: #2C2C26; }
.toggle small { font-size: 13px; color: #6B6659; }
.switch { flex: 0 0 auto; width: 46px; height: 28px; border-radius: 999px; padding: 3px; background: #DAD2C3; transition: background 0.22s ease; display: flex; }
.switch i { width: 22px; height: 22px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(44,44,38,0.25); transition: transform 0.3s cubic-bezier(0.34,1.4,0.4,1); }
.toggle[aria-checked="true"] .switch { background: #56724E; }
.toggle[aria-checked="true"] .switch i { transform: translateX(18px); }
.next-box { display: flex; flex-direction: column; gap: 10px; }
.next-btn { width: 100%; padding: 19px 24px; font-size: 18px; gap: 10px; white-space: normal; }
.next-btn span { font-size: 20px; transition: transform 0.2s var(--spring); }
.next-btn:hover span { transform: translateX(4px); }
.next-btn.is-off { background: #E0D6C8; color: #7C7566; }
.next-btn.is-off:hover { background: #E0D6C8; color: #7C7566; }
.next-box .fine { text-align: center; }

/* ------------------------------------------------------------ generating */

.main-gen { max-width: 560px; margin: 0 auto; padding: 48px var(--side) 80px; display: flex; flex-direction: column; align-items: center; gap: 26px; animation: henry-in 0.35s ease both; }
.gen-ring { position: relative; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; }
.gen-ring div { position: absolute; inset: 0; border-radius: 999px; border: 3px dashed #C97B5A; animation: henry-spin 7s linear infinite; }
.gen-ring img { width: 86px; height: auto; }
.main-gen h2 { margin: 0; text-align: center; font-family: var(--fd); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: #2C2C26; text-wrap: balance; overflow-wrap: anywhere; }
.noticed { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.noticed > b { font-family: var(--fd); font-size: 15px; font-weight: 800; color: #2C2C26; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; animation: henry-rise 0.4s var(--ease) both; }
.note i { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px; background: #56724E; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; font-style: normal; animation: henry-pop 0.4s cubic-bezier(0.2,1.4,0.35,1) 0.12s both; }
.note span { font-size: 14.5px; line-height: 1.5; color: #3A3A32; text-wrap: pretty; }

/* ------------------------------------------------------------ paywall */

.main-pay { max-width: 1100px; margin: 0 auto; padding: 18px 20px 88px; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); align-items: flex-start; }
.pay-left { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pay-left h1 { margin: 0; font-family: var(--fd); font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; line-height: 0.96; letter-spacing: -0.05em; color: #2C2C26; text-wrap: balance; overflow-wrap: anywhere; }
.pay-left > p { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.55; color: #6B6659; text-wrap: pretty; }
.preview { position: relative; border-radius: 28px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; overflow: hidden; }
.preview-mon { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.preview-mon > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.preview-mon > div:first-child b { font-family: var(--fd); font-size: 18px; font-weight: 800; color: #2C2C26; }
.preview-mon > div:first-child small { font-family: var(--fm); font-size: 12px; color: #8A8375; }
.preview-mon .row-min { padding: 10px 0; border-top: 1px dashed #DAD2C3; }
.locked { position: relative; padding: 4px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.locked > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F7F3EC; animation: henry-rise 0.4s var(--ease) both; }
.locked b { font-family: var(--fd); font-size: 15px; font-weight: 800; color: #2C2C26; min-width: 92px; }
.locked .blur { display: flex; gap: 6px; filter: blur(3px); }
.locked .blur i { height: 10px; border-radius: 999px; }
.locked .blur i:first-child { width: 90px; background: #DAD2C3; }
.locked .blur i:last-child { width: 54px; background: #E6DFD1; }
.locked small { font-size: 13px; color: #8A8375; }
.pay-card { flex: 1 1 340px; max-width: 460px; min-width: 0; padding: clamp(22px, 3vw, 30px); border-radius: 32px; background: #2C2C26; color: #F7F3EC; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 104px; }
.pay-card-head { display: flex; align-items: center; gap: 12px; }
.pay-card-head img { width: 64px; height: auto; }
.pay-card-head div { display: flex; flex-direction: column; gap: 2px; }
.pay-card-head b { font-family: var(--fd); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.pay-card-head small { font-size: 13.5px; color: #C9C1B1; }
.price { padding: 20px; border-radius: 22px; background: #F7F3EC; color: #2C2C26; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price > div { display: flex; flex-direction: column; gap: 2px; }
.price b { font-family: var(--fd); font-size: 17px; font-weight: 800; }
.price small { font-size: 13.5px; color: #6B6659; }
.price strong { font-family: var(--fd); font-size: 38px; font-weight: 800; letter-spacing: -0.04em; }
.feats { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: #F7F3EC; margin: 0; list-style: none; }
.feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #3A3A32; }
.feats li i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 999px; background: #EAF0E6; color: #41563A; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; font-style: normal; }
.pay-btn { width: 100%; padding: 17px 22px; font-size: 16.5px; white-space: normal; text-align: center; }
.pay-fine { text-align: center; font-size: 13px; line-height: 1.5; color: #C9C1B1; }
.pay-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.pay-links a { padding: 6px; font-family: var(--fd); font-size: 14px; font-weight: 800; color: #E3C3AE; text-decoration: none; border-radius: 8px; transition: color 0.2s ease; }
.pay-links a:hover { color: #FFFFFF; }
.form-error { padding: 12px 14px; border-radius: 16px; background: #F8E7DF; color: #8E4227; font-size: 14px; line-height: 1.45; }

/* ------------------------------------------------------------ week plan */

.main-week { max-width: 1000px; margin: 0 auto; padding: 10px 24px 88px; display: flex; flex-direction: column; gap: 22px; }
.week-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.week-head > div { display: flex; align-items: center; gap: 18px; min-width: 0; }
.week-head img { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 999px; object-fit: cover; border: 3px solid #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; }
.week-head > div > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.week-head h1 { margin: 0; font-family: var(--fd); font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #2C2C26; overflow-wrap: anywhere; }
.week-head span { font-size: 14.5px; line-height: 1.5; color: #6B6659; }
.week-head .btn { padding: 14px 22px; font-size: 15px; }
.why-card { position: relative; overflow: hidden; border-radius: 24px; background: #F0DCCF; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; break-inside: avoid; }
.why-card i { position: absolute; width: 140px; height: 140px; border-radius: 999px; background: #E3C3AE; right: -50px; top: -60px; }
.why-card b { position: relative; font-family: var(--fd); font-size: 16px; font-weight: 800; color: #4A3020; }
.why-card span { position: relative; font-size: 15px; line-height: 1.6; color: #5A4436; text-wrap: pretty; }
.two-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.card { border-radius: 24px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; break-inside: avoid; }
.card-head { display: flex; flex-direction: column; gap: 3px; }
.card-head b { font-family: var(--fd); font-size: 17px; font-weight: 800; color: #2C2C26; }
.card-head small { font-size: 13px; color: #6B6659; }
.kit { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.kit li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #F1EDE4; }
.kit span { font-size: 14px; color: #3A3A32; }
.kit em { flex: 0 0 auto; font-style: normal; font-family: var(--fd); font-size: 12px; font-weight: 800; color: #8A8375; }
.card--bal { gap: 14px; }
.bal { display: grid; grid-template-columns: 104px minmax(0, 1fr) 54px; align-items: center; gap: 12px; }
.bal b { font-family: var(--fd); font-size: 13.5px; font-weight: 800; color: #3A3A32; }
.bal .track { height: 9px; border-radius: 999px; background: #F1EDE4; overflow: hidden; }
.bal .track div { height: 100%; border-radius: 999px; transform-origin: left; animation: henry-bar 0.9s cubic-bezier(0.25,1,0.4,1) both; }
.bal small { text-align: right; font-size: 12.5px; color: #6B6659; }
.day { border-radius: 28px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid #F1EDE4; }
.day-head > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.day-head h2 { margin: 0; font-family: var(--fd); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: #2C2C26; }
.day-head span { font-size: 14px; color: #6B6659; }
.day-head em { font-style: normal; padding: 6px 12px; border-radius: 999px; background: #F1EDE4; color: #5A4436; font-family: var(--fd); font-size: 13px; font-weight: 800; }
.act { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; border-bottom: 1px dashed #E6DFD1; break-inside: avoid; }
.act:last-child { padding-bottom: 0; border-bottom: 0; }
.act-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.act-top > div { display: flex; flex-direction: column; gap: 6px; }
.act-chip { align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-family: var(--fd); font-size: 12px; font-weight: 800; }
.act h3 { margin: 0; font-family: var(--fd); font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #2C2C26; }
.act-meta { font-family: var(--fm); font-size: 12px; letter-spacing: 0.04em; color: #8A8375; padding-top: 4px; }
.act > p { margin: 0; font-size: 15px; line-height: 1.55; color: #6B6659; text-wrap: pretty; }
.act ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.act li { display: flex; gap: 12px; align-items: flex-start; }
.act li i { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 999px; background: #2C2C26; color: #FFFFFF; font-family: var(--fd); font-size: 12.5px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.act li span { font-size: 15.5px; line-height: 1.55; color: #3A3A32; padding-top: 2px; text-wrap: pretty; }
.act-kit { font-size: 13.5px; color: #6B6659; }
.act-kit strong { font-family: var(--fd); color: #3A3A32; }
.prog { border-radius: 28px; background: #2C2C26; color: #F7F3EC; padding: clamp(22px, 3.4vw, 36px); display: flex; flex-direction: column; gap: 22px; break-inside: avoid; }
.prog-head { display: flex; flex-direction: column; gap: 8px; }
.prog h2 { margin: 0; font-family: var(--fd); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.prog-head p { margin: 0; max-width: 620px; font-size: 15.5px; line-height: 1.6; color: #DDD6C8; text-wrap: pretty; }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.stage { padding: 20px; border-radius: 22px; background: #3A3A32; display: flex; flex-direction: column; gap: 12px; transition: transform 0.25s var(--ease); }
.stage:hover { transform: translateY(-3px); }
.stage > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.stage small { font-family: var(--fm); font-size: 11.5px; letter-spacing: 0.08em; color: #E3C3AE; }
.stage h3 { margin: 0; font-family: var(--fd); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.stage > p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #DDD6C8; text-wrap: pretty; }
.tips { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid #4A4A40; }
.tips > div { display: flex; flex-direction: column; gap: 2px; }
.tips b { font-family: var(--fd); font-size: 13px; font-weight: 800; color: #F7F3EC; }
.tips span { font-size: 14px; line-height: 1.5; color: #C9C1B1; text-wrap: pretty; }

/* ------------------------------------------------------------ simple pages (restore, errors) */

.main-simple { max-width: 640px; margin: 0 auto; padding: 40px var(--side) 88px; display: flex; flex-direction: column; gap: 22px; }
.main-simple h1 { margin: 0; font-family: var(--fd); font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; color: #2C2C26; text-wrap: balance; }
.main-simple > p { margin: 0; font-size: 17px; line-height: 1.55; color: #6B6659; text-wrap: pretty; }
.simple-card { padding: clamp(20px, 3vw, 28px); border-radius: 28px; background: #FFFFFF; box-shadow: 0 3px 0 #E7DFD0; display: flex; flex-direction: column; gap: 14px; }
.simple-card label { font-family: var(--fd); font-size: 15px; font-weight: 800; color: #2C2C26; }
.text-input { width: 100%; padding: 16px 20px; border-radius: 999px; border: 2px solid #E6DFD1; background: #FFFFFF; outline: none; font-family: var(--fd); font-size: 18px; font-weight: 700; color: #2C2C26; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.text-input:focus { border-color: #C97B5A; box-shadow: 0 0 0 4px rgba(201,123,90,0.14); }
.simple-card .btn { padding: 16px 22px; font-size: 16px; }
.ok-box { padding: 14px 18px; border-radius: 18px; background: #EAF0E6; color: #41563A; font-size: 15px; line-height: 1.5; }
.err-art { width: 120px; height: auto; }
.simple-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.simple-actions .btn { padding: 14px 20px; font-size: 15px; }

/* ------------------------------------------------------------ toast */

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 999px; background: #2C2C26; color: #FFFFFF; font-family: var(--fd); font-size: 14px; font-weight: 700; text-align: center; box-shadow: 0 16px 34px -12px rgba(44,44,38,0.5); animation: henry-toast 0.28s var(--ease) both; }
.toast.is-out { animation: henry-toast-out 0.22s ease both; }

/* ------------------------------------------------------------ narrow (under 820px) */

@media (max-width: 819.98px) {
  .nav-wide { display: none; }
  .nav-narrow { display: flex; }
  .menu { display: flex; }

  .name-form { flex-direction: column; gap: 8px; padding: 8px; border-radius: 24px; max-width: none; }
  .name-form input { flex: 0 0 auto; padding: 14px 14px; }
  .name-form .btn { white-space: normal; }

  .hero-vis { min-height: 0; padding: 56px 20px 28px; overflow: hidden; margin: 0 calc(var(--side) * -1); }
  .hero-card { padding: 14px; transform: rotate(-1.5deg); }
  .hero-vis:hover .hero-card { transform: rotate(-1.5deg); }
  .hero-days { gap: 6px; }
  .hero-day { padding: 7px; border-radius: 14px; }
  .hero-badge { left: 18px; top: 14px; padding: 8px 12px; font-size: 12px; }
  .hero-head { right: 16px; top: 0; width: 72px; }

  .why-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--side) * -1); padding: 0 var(--side) 6px; scroll-padding-left: var(--side); overscroll-behavior-x: contain; }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-arrows { display: flex; }
  .fulfilled { display: none; }

  .need-panel { display: none; }
  .need-m.is-open { display: flex; }
  .need-tab:hover { transform: none; }

  .slider { grid-auto-columns: 84%; }
  .knew { position: static; max-width: none; }
  .pay-card { position: static; max-width: none; }
}

@media (max-width: 359.98px) {
  :root { --side: 20px; }
  .site-top { padding: 10px 12px 8px; }
  .site-header { padding-left: 16px; }
  .weight-row { gap: 14px; }
  .stepper { width: 54px; height: 54px; }
  .weight-num { min-width: 100px; }
  .weight-num input { font-size: 60px; }
  .locked b { min-width: 0; }
  .bal { grid-template-columns: 92px minmax(0, 1fr) 50px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  @page { margin: 14mm; }
  button, .btn, [data-noprint], .site-top, .toast { display: none !important; }
  html, body, body > * { background: #FFFFFF !important; }
  .site-top { position: static !important; }
  * { animation: none !important; transition: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .day, .card, .why-card, .prog, .act { break-inside: avoid; }
  .main-week { padding: 0; }
}
