/* FUA-NAMI landing redesign: chapter layout. Loads after styles.css; palette tokens unchanged. */
:root { --serif: 'Fraunces', Georgia, 'Times New Roman', serif; }

/* ---------- header ---------- */
.nav { background: rgba(11,26,43,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(242,246,250,.1); color: var(--paper); }
.nav .nav-links a, .nav .nav-track-btn { color: var(--paper); opacity: .8; }
.nav .nav-links a:hover, .nav .nav-track-btn:hover { opacity: 1; }
.nav .menu-toggle-bar { background: var(--paper); }
.nav .btn-icon { color: var(--paper); border-color: rgba(242,246,250,.25); background: transparent; }
.nav .btn-primary { background: var(--paper); color: var(--ink); border-radius: 999px; box-shadow: none; }
.nav .btn-primary:hover { background: #fff; }
.nav .account-dropdown { color: var(--ink); background: #fff; }
.nav :focus-visible, .site-footer :focus-visible, .ch-dark :focus-visible, .ch-blue :focus-visible, .fab-pill:focus-visible { outline-color: var(--sky); }
@media (max-width: 780px) { .nav .nav-links { background: var(--ink); } }

/* ---------- chapters ---------- */
.ch { position: relative; overflow: hidden; padding: clamp(96px,12vw,152px) 0 clamp(72px,9vw,120px); }
.ch-dark { background: var(--ink); color: var(--paper); }
.ch-light { background: var(--paper); color: var(--ink); }
.ch-blue { color: #fff; background: var(--wash-blue);
  background-image: radial-gradient(55% 45% at 85% 8%, rgba(79,182,255,.6), transparent 70%), radial-gradient(50% 40% at 8% 95%, rgba(13,58,133,.95), transparent 70%); }
.ch-in { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,3vw,40px); position: relative; z-index: 2; }
.chapter-bar { position: absolute; top: 24px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 0 clamp(20px,3vw,40px); font-size: 13px; font-weight: 500; opacity: .75; }

.display { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; font-size: clamp(42px,8.4vw,128px); margin: 0; }
.display span { display: block; }
.display .l2 { padding-left: clamp(0px,11vw,170px); }
.display .l3 { padding-left: clamp(0px,4vw,64px); }
.ch-lede { max-width: 46ch; margin-top: 32px; font-size: 15.5px; line-height: 1.6; opacity: .78; }

/* ---------- hero ---------- */
.ch-hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; background-image: radial-gradient(45% 55% at 85% 20%, rgba(20,84,184,.55), transparent 70%); }
.ch-hero .ch-in { width: 100%; }
.h-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.h-link { color: var(--paper); font-size: 14px; opacity: .75; text-underline-offset: 4px; }
.h-facts { list-style: none; padding: 0; margin: clamp(40px,6vw,72px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 760px; }
.h-facts li { padding: 4px 0 4px 18px; border-left: 1px solid rgba(242,246,250,.22); font-size: 14px; line-height: 1.4; color: rgba(242,246,250,.78); }
.fcard { position: absolute; z-index: 1; width: 212px; padding: 14px 16px 16px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 28px 60px rgba(0,0,0,.45); animation: bob 7s ease-in-out infinite; }
.fcard i { display: block; height: 4px; border-radius: 4px; margin-bottom: 12px; background: linear-gradient(90deg, var(--suds-green), var(--sky)); }
.fcard b { display: block; font-size: 14px; margin-bottom: 3px; }
.fcard small { display: block; font-size: 12.5px; line-height: 1.4; opacity: .65; }
.fc1 { right: 22%; top: 40%; --r: -6deg; }
.fc2 { right: 5%;  top: 52%; --r: 5deg; animation-delay: -2.4s; }
.fc3 { right: 17%; top: 66%; --r: -2deg; animation-delay: -4.6s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-12px) rotate(var(--r)); } }

/* ---------- floating pill ---------- */

/* ---------- chapter bodies ---------- */
.ch-blue .tier-grid { margin-top: 56px; }
.ch-blue .tier-card { color: var(--ink); }
.ch-light .pipeline-hint { margin-top: 48px; }
.ch-light .pipeline { margin-top: 24px; }
.ch-light .faq-search-wrap { margin-top: 48px; }

.ch-dark .trust-grid { display: block; margin-top: 56px; }
.ch-dark .trust-card { display: grid; grid-template-columns: 48px minmax(0,1fr) minmax(0,1.5fr); gap: 24px; align-items: start; padding: 30px 0; background: none; box-shadow: none; border-radius: 0; border: 0; border-top: 1px solid rgba(242,246,250,.16); transform: none; }
.ch-dark .trust-card:last-child { border-bottom: 1px solid rgba(242,246,250,.16); }
.ch-dark .trust-icon { font-size: 24px; margin: 0; }
.ch-dark .trust-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px,2.2vw,28px); line-height: 1.15; color: #fff; }
.ch-dark .trust-card p { font-size: 15px; line-height: 1.6; color: rgba(242,246,250,.7); }

.closing-c { text-align: center; }
.closing-c .ch-in { display: flex; flex-direction: column; align-items: center; }
.closing-c img { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 32px; object-fit: cover; }
.closing-c .display { font-size: clamp(38px,6.6vw,100px); }
.closing-c p { max-width: 40ch; margin: 24px 0 32px; opacity: .75; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(242,246,250,.1); }
.site-footer a { color: var(--paper); }
.site-footer .brand-footer { font-family: var(--serif); font-weight: 300; font-size: 30px; letter-spacing: .04em; color: #fff; }
.site-footer .footer-note { opacity: .65; }

@media (max-width: 900px) {
  .fcard { display: none; }
  .display .l2 { padding-left: 8vw; } .display .l3 { padding-left: 3vw; }
  .h-facts { grid-template-columns: 1fr; gap: 12px; }
  .ch-dark .trust-card { grid-template-columns: 40px minmax(0,1fr); gap: 8px 16px; }
  .ch-dark .trust-card p { grid-column: 2; }
}

/* nav: keep each link on one line */
.nav .nav-links { gap: 18px; }
.nav .nav-links a, .nav .nav-track-btn { white-space: nowrap; font-size: 13.5px; }

/* tablet: let nav links wrap again so the header never overflows */
@media (min-width: 781px) and (max-width: 1180px) {
  .nav .nav-links { gap: 12px; }
  .nav .nav-links a, .nav .nav-track-btn { white-space: normal; font-size: 12.5px; }
}

/* ===== v2: no chapter labels, stacked sheets, motion, theme everywhere ===== */
.chapter-bar { display: none; }
.ch { padding: clamp(72px,9vw,120px) 0; }
.ch + .ch, .ticker + .ch { margin-top: -32px; border-radius: 32px 32px 0 0; padding-top: calc(clamp(72px,9vw,120px) + 32px); }


/* rising bubbles */
.bub { position: absolute; bottom: -60px; z-index: 1; pointer-events: none; border-radius: 50%; border: 1px solid rgba(79,182,255,.45); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), rgba(79,182,255,.05)); animation: bubUp 14s linear infinite; }
@keyframes bubUp { 0% { transform: translate(0,0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(18px,-55vh); } 100% { transform: translate(-12px,-115vh); opacity: 0; } }

/* scroll reveals (JS adds .rv, then .in when visible) */
.rv { opacity: 0; }
.rv.in { opacity: 1; animation: rvUp .85s var(--ease-smooth) backwards; animation-delay: calc(var(--i,0) * 90ms); }
.display span.rv.in { animation-name: rvHead; transform-origin: left bottom; }
.tier-card.rv.in { animation-name: rvPop; }
.ch-dark .trust-card.rv.in { animation-name: rvSlide; }
@keyframes rvUp { from { opacity: 0; transform: translateY(34px); } }
@keyframes rvHead { from { opacity: 0; transform: translateY(70px) skewY(3deg); } }
@keyframes rvPop { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes rvSlide { from { opacity: 0; transform: translateX(-36px); } }

.fcard { translate: 0 var(--py, 0px); }
.btn:active, .tier-card:active { transform: scale(.96); }

/* ---------- app screens: dark stage, light sheet rises ---------- */
.app-screen:not(#screen-chat) { background: var(--ink); position: relative; overflow: clip; }
.app-screen:not(#screen-chat)::before { content: ''; position: fixed; inset: var(--header-h) 0 0 0; pointer-events: none; z-index: 0; background: radial-gradient(50% 40% at 85% 0, rgba(20,84,184,.65), transparent 70%), radial-gradient(45% 35% at 5% 100%, rgba(79,182,255,.18), transparent 70%); animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-3%,2%) scale(1.08); } }
.app-screen .app-shell { position: relative; z-index: 1; }
.app-screen:not(#screen-chat) .app-header { background: rgba(11,26,43,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.app-screen:not(#screen-chat) .app-back, .app-screen:not(#screen-chat) .app-header-action { background: transparent; color: #fff; border-color: rgba(242,246,250,.35); }
.app-screen:not(#screen-chat) .app-close { color: rgba(242,246,250,.75); }
.app-screen:not(#screen-chat) .app-step-dot { background: rgba(242,246,250,.2); }
.app-screen:not(#screen-chat) .app-header-title { color: #fff; }
.app-header-title { font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: clamp(22px,5vw,30px); letter-spacing: .01em; }
.app-screen:not(#screen-chat) .app-body { border-radius: 28px; animation: sheetUp .65s var(--ease-smooth) backwards; }
.app-body .step-title { font-family: var(--serif); font-weight: 400; }
@keyframes sheetUp { from { opacity: 0; transform: translateY(48px); } }

/* ---------- modals ---------- */
.modal-backdrop { background: rgba(11,26,43,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .25s ease backwards; }
.modal { animation: modalIn .45s var(--ease-bounce) backwards; }
.modal .eyebrow { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(.94); } }
@media (max-width: 600px) {
  .modal-backdrop:not(#receipt-lightbox) { align-items: flex-end; padding: 0; }
  .modal-backdrop:not(#receipt-lightbox) .modal { max-width: none; max-height: 92vh; overflow-y: auto; border-radius: 28px 28px 0 0; padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px)); animation-name: sheetUp; animation-timing-function: var(--ease-smooth); }
}

/* ---------- privacy page ---------- */
body:has(.legal-wrap) { background: var(--ink); }
.legal-nav { background: rgba(11,26,43,.9); border-bottom: 1px solid rgba(242,246,250,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.legal-nav-brand, .legal-nav-back { color: var(--paper); }
.legal-wrap { background: var(--paper); max-width: 860px; margin: 56px auto 0; border-radius: 32px 32px 0 0; padding: 64px clamp(22px,5vw,64px) 90px; animation: sheetUp .8s var(--ease-smooth) backwards; }
.legal-wrap h1 { font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: clamp(38px,8vw,84px); line-height: .95; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .ch-hero { flex-direction: column; align-items: stretch; justify-content: center; }
  .ch-hero .ch-in { order: 1; }
  .fcard { display: block; position: relative; order: 2; right: auto; top: auto; width: min(260px,72%); margin: 20px clamp(20px,5vw,40px) 0; }
  .fc1, .fc3 { align-self: flex-start; } .fc2 { align-self: flex-end; }
}
.nav .btn-primary { white-space: nowrap; }
@media (max-width: 480px) { .nav .btn-primary { padding: 10px 16px; font-size: 13px; } }

/* ===== v3: dark + light themes (dark is default; theme.js sets html[data-theme]) ===== */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; } ::view-transition-new(root) { z-index: 2; }

/* the switch: moon on a night sky, sun on a day sky */
.theme-toggle { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 6px 0; cursor: pointer; color: inherit; font: 500 13.5px var(--font-body); }
.tt-track { position: relative; flex: none; width: 52px; height: 28px; border-radius: 999px; overflow: hidden; background: linear-gradient(#0d2238, #1454B8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .5s; }
.tt-track::before { content: ''; position: absolute; left: 9px; top: 7px; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 10px 7px 0 #fff, 17px 0 0 rgba(255,255,255,.7), 24px 9px 0 rgba(255,255,255,.6); transition: opacity .4s, transform .5s; }
.tt-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #F2F6FA; box-shadow: inset -6px -3px 0 0 #8aa0bd; transform: translateX(24px); transition: transform .55s var(--ease-bounce), background .4s, box-shadow .4s; }
.theme-toggle[aria-checked="false"] .tt-track { background: linear-gradient(#8fd0ff, #4FB6FF); box-shadow: inset 0 0 0 1px rgba(11,26,43,.18); }
.theme-toggle[aria-checked="false"] .tt-track::before { opacity: 0; transform: translateY(-10px); }
.theme-toggle[aria-checked="false"] .tt-knob { transform: translateX(0); background: #FFC247; box-shadow: 0 0 0 4px rgba(255,194,71,.35), 0 0 14px rgba(255,194,71,.85); }
.tt-label { display: none; }
@media (max-width: 780px) { .tt-label { display: inline; } .nav-links .theme-toggle { width: 100%; justify-content: space-between; padding: 12px 0; } }
.legal-nav .theme-toggle { margin-left: auto; margin-right: 8px; }

/* ---- dark (default): lifted navy for the light chapters, inverted app sheets ---- */
html:not([data-theme="light"]) .ch-light { background: #0F2338; color: var(--paper); }
html:not([data-theme="light"]) .ch-light :is(.pipeline, .pipeline-hint, .faq-search-wrap, .faq-list, .faq-no-results) { filter: invert(1) hue-rotate(180deg); }
html:not([data-theme="light"]) :is(.app-screen:not(#screen-chat) .app-body, .modal, .account-dropdown, .legal-wrap) { background: #E6EEF6; filter: invert(1) hue-rotate(180deg); box-shadow: none; }
html:not([data-theme="light"]) :is(.app-body, .modal, .legal-wrap, #screen-chat) :is(img:not(.leaflet-tile), video, canvas) { filter: invert(1) hue-rotate(180deg); }
html:not([data-theme="light"]) #screen-chat { background: var(--ink); }
html:not([data-theme="light"]) #screen-chat .app-shell { filter: invert(1) hue-rotate(180deg); }

/* ---- light ---- */
html[data-theme="light"] .nav { background: rgba(242,246,250,.88); border-bottom-color: var(--line); color: var(--ink); }
html[data-theme="light"] .nav .nav-links a, html[data-theme="light"] .nav .nav-track-btn { color: var(--ink); }
html[data-theme="light"] .nav .menu-toggle-bar { background: var(--ink); }
html[data-theme="light"] .nav .btn-icon { color: var(--ink); border-color: var(--line-strong); }
html[data-theme="light"] .nav .btn-primary { background: var(--ink); color: var(--paper); }
html[data-theme="light"] .nav :focus-visible { outline-color: var(--wash-blue); }
@media (max-width: 780px) { html[data-theme="light"] .nav .nav-links { background: var(--paper); } }

html[data-theme="light"] .ch-dark { background: var(--paper); color: var(--ink); }
html[data-theme="light"] .ch-hero { background-image: radial-gradient(45% 55% at 85% 20%, rgba(79,182,255,.4), transparent 70%); }
html[data-theme="light"] .ch-light { background: #fff; }
html[data-theme="light"] #why { background: var(--paper-dim); }
html[data-theme="light"] .h-link { color: var(--ink); }
html[data-theme="light"] .h-facts li { border-left-color: rgba(11,26,43,.25); color: rgba(11,26,43,.78); }
html[data-theme="light"] .ch-dark .trust-card { border-top-color: var(--line-strong); }
html[data-theme="light"] .ch-dark .trust-card:last-child { border-bottom-color: var(--line-strong); }
html[data-theme="light"] .ch-dark .trust-card h3 { color: var(--ink); }
html[data-theme="light"] .ch-dark .trust-card p { color: rgba(11,26,43,.7); }
html[data-theme="light"] .bub { border-color: rgba(20,84,184,.4); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(20,84,184,.06)); }
html[data-theme="light"] .closing-c { background: var(--wash-blue-dark); color: #fff; }
html[data-theme="light"] .closing-c .btn-primary { background: var(--paper); color: var(--ink); }

html[data-theme="light"] .app-screen:not(#screen-chat) { background: var(--paper); }
html[data-theme="light"] .app-screen:not(#screen-chat)::before { background: radial-gradient(50% 40% at 85% 0, rgba(79,182,255,.28), transparent 70%); }
html[data-theme="light"] .app-screen:not(#screen-chat) .app-header { background: rgba(242,246,250,.9); }
html[data-theme="light"] .app-screen:not(#screen-chat) .app-back, html[data-theme="light"] .app-screen:not(#screen-chat) .app-header-action { background: #fff; color: var(--ink); border-color: var(--line-strong); }
html[data-theme="light"] .app-screen:not(#screen-chat) .app-close { color: rgba(11,26,43,.55); }
html[data-theme="light"] .app-screen:not(#screen-chat) .app-step-dot { background: var(--line); }
html[data-theme="light"] .app-screen:not(#screen-chat) .app-header-title { color: var(--ink); }

html[data-theme="light"] body:has(.legal-wrap) { background: var(--paper-dim); }
html[data-theme="light"] .legal-nav { background: rgba(242,246,250,.92); border-bottom-color: var(--line); }
html[data-theme="light"] .legal-nav-brand, html[data-theme="light"] .legal-nav-back { color: var(--ink); }
html[data-theme="light"] .legal-wrap { background: #fff; }

@media (max-width: 780px) { .nav-links.is-open { max-height: calc(100svh - var(--header-h)); overflow-y: auto; } }

.h-facts { grid-template-columns: repeat(4, minmax(0,1fr)); max-width: 1000px; }
.h-facts li { padding-right: 14px; }
@media (max-width: 900px) { .h-facts { grid-template-columns: 1fr; } }

/* ===== v3 scroll motion ===== */
.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; }
.display .w i { display: inline-block; font-style: normal; transform: translateY(115%) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease-smooth); transition-delay: calc(var(--k,0) * 70ms + var(--li,0) * 160ms); }
.display.in .w i { transform: none; }
.display > span { translate: var(--dx, 0px) 0; }

.ch { transform-origin: 50% 100%; transform: scale(calc(1 - var(--dim, 0) * .035)); }
.ch::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #05101c; opacity: calc(var(--dim, 0) * .5); }

@keyframes rvUp    { from { opacity: 0; transform: translateY(64px); filter: blur(8px); } }
@keyframes rvPop   { from { opacity: 0; transform: translateY(70px) scale(.9) rotate(-2deg); } }
@keyframes rvSlide { from { opacity: 0; transform: translateX(-80px); } }
@media (max-width: 900px) { .fcard { translate: none; } }

/* ===== v4: lighter phone hero ===== */
.fcards { display: contents; }
@media (max-width: 900px) {
  .ch-hero { min-height: auto; padding-top: 56px; padding-bottom: 40px; }
  .ch-hero .ch-lede { font-size: 15px; line-height: 1.55; margin-top: 20px; }
  .h-actions { margin-top: 22px; gap: 16px; }
  .h-facts { grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 30px; }
  .h-facts li { font-size: 13px; line-height: 1.4; padding: 2px 0 2px 12px; }
  .fcards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; order: 2; margin-top: 28px; padding: 18px clamp(20px,5vw,40px) 22px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .fcards::-webkit-scrollbar { display: none; }
  .fcards .fcard { flex: 0 0 216px; width: 216px; margin: 0; align-self: auto; scroll-snap-align: start; }
}

/* ===== dark-theme visibility fixes (append to the END of landing.css) ===== */

/* 1. The inverted sheets (.app-body, .modal, chat, legal pages…) are DESIGNED light and then flipped by
      filter: invert(). While html has color-scheme:dark (set by theme.js) the browser paints their
      form controls and buttons with WHITE default text, and the filter turns that BLACK on a dark
      sheet. Telling the browser those sheets are light makes the controls light first, so the
      invert gives them light text on dark again. */
html:not([data-theme="light"]) :is(.app-body, .modal, .account-dropdown, .legal-wrap, #screen-chat .app-shell,
  .ch-light .pipeline, .ch-light .pipeline-hint, .ch-light .faq-search-wrap, .ch-light .faq-list, .ch-light .faq-no-results) {
  color-scheme: light;
}
/* …and never leave typed text / header icons to the browser default */
.field input, .field select, .field textarea, .form-row input, .form-row textarea, .form-row select,
.chat-input-bar input[type="text"], .faq-search-wrap input { color: var(--ink); }
.app-back, .app-header-action { color: var(--ink); }

/* 2. Footer note was dark ink on the dark footer — invisible in BOTH themes */
.site-footer .footer-note { color: rgba(242,246,250,.65); opacity: 1; }

/* 3. Privacy / Terms top bar: the "Dark mode" label inherited dark ink on the dark bar */
.legal-nav { color: var(--paper); }
html[data-theme="light"] .legal-nav { color: var(--ink); }

/* ===== v5: phone overflow fix + slimmer hamburger ===== */
/* Stop sideways overflow on phones (clip, unlike hidden, keeps the sticky header working) */
html, body { overflow-x: clip; }
.footer-links { flex-wrap: wrap; gap: 10px 20px; }
@media (max-width: 480px) {
  .nav-inner   { gap: 8px; padding: 10px 12px; }
  .nav-actions { gap: 4px; min-width: 0; }
  .nav .btn-primary { padding: 9px 12px; font-size: 12.5px; }
  .brand-logo  { height: 34px; }
}
/* Hamburger menu: hide How it works / Why us / FAQ (still shown in the desktop bar and footer) */
@media (max-width: 780px) { .nav .nav-links .nav-desktop-only { display: none; } }

/* ===== v6: pricing cards — collapsed cards keep the original 2-up look; an opened card grows to full width with a cleaner list ===== */
.tier-card.is-open { grid-column: 1 / -1; }
@media (min-width: 900px) { .tier-card.is-open { grid-column: span 2; } .tier-grid { align-items: start; } }

.tier-rates-panel { display: block; margin-top: 10px; padding-top: 12px; animation: ratesIn .28s ease; }
@keyframes ratesIn { from { opacity: 0; transform: translateY(-6px); } }
.tier-rate-group {
  margin: 16px 0 2px; font: 500 11px var(--font-mono); letter-spacing: .08em;
  text-transform: uppercase; color: rgba(11,26,43,.5);
}
.tier-rate-group:first-child { margin-top: 0; }
.tier-rates-panel .tier-rate-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline;
  gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.tier-rates-panel .tier-rate-row:last-child { border-bottom: 0; }
.tier-rates-panel .tier-rate-row .tier-rate-name { color: var(--ink); opacity: .85; line-height: 1.35; overflow-wrap: anywhere; }
.tier-rates-panel .tier-rate-row .tier-rate-price {
  font: 600 15px var(--font-mono); color: var(--ink); white-space: nowrap;
  text-align: right; font-variant-numeric: tabular-nums;
}
.tier-rate-price small { font-size: 10.5px; font-weight: 500; margin-right: 4px; color: rgba(11,26,43,.5); }
.tier-rate-price em { font-style: normal; font-size: 11.5px; font-weight: 500; margin-left: 2px; color: rgba(11,26,43,.5); }
