/* Shared public-site presentation. Native product screens remain native. */
:root {
  --marketing-ink: #111111;
  --marketing-surface: #1C1C1C;
  --marketing-link: #006FAF;
  --marketing-accent: #38BDF8;
  --marketing-paper: #FAFAFA;
}

html { scroll-padding-top: calc(88px + env(safe-area-inset-top)); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--marketing-accent); color: var(--marketing-ink); }
:where(.marketing-site) :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--marketing-link);
  outline-offset: 4px;
}
.marketing-site :is(main, article, section, form) { min-width: 0; }
.marketing-site :is(h1, h2, h3, p, li) { overflow-wrap: break-word; }
.marketing-site :is(nav[data-marketing-menu], .marketing-menu__header) { container: marketing-navigation / inline-size; }
.marketing-nav-brand > img { width: 36px; height: 36px; flex-shrink: 0; }
.marketing-nav-toggle { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
.marketing-nav-toggle svg { width: 24px; height: 24px; }
@container marketing-navigation (max-width: 12rem) {
  .marketing-nav-brand > span { display: none; }
}
/* Shared form labels keep the public site's fixed light treatment. */
.marketing-site .text-gray-900 { color: #111111; }
.marketing-site .text-gray-600 { color: #535F6D; }
.marketing-site :is(input, textarea, select)[aria-invalid="true"] { outline: 2px solid #991B1B; outline-offset: -2px; }
@media (forced-colors: active) {
  .marketing-button { outline: 1px solid ButtonText; }
  .marketing-document-nav a[aria-current] { text-decoration: underline; }
  .marketing-site .tn-tour-controls button[aria-selected="true"] { outline: 2px solid Highlight; }
}
input[type="date"] { position: relative; }
input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; right: 0.75rem; cursor: pointer; }

.marketing-run-sheet {
  background-image: linear-gradient(90deg, transparent calc(50% - 1px), rgb(255 255 255 / 5%) 50%, transparent calc(50% + 1px));
  background-size: 8rem 100%;
  mask-image: linear-gradient(to bottom, transparent, black 25%, transparent);
}
.marketing-grid {
  background-image: linear-gradient(rgb(17 17 17 / 4%) 1px, transparent 1px);
  background-size: 100% 5rem;
  mask-image: linear-gradient(to bottom, black, transparent);
}
.marketing-final-grid {
  background-image: linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 6rem 100%;
  mask-image: linear-gradient(to right, transparent, black);
}
.marketing-hero-product::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -15% 16%;
  background: radial-gradient(ellipse, rgb(56 189 248 / 12%), transparent 70%);
}
.marketing-story-figure { max-height: 36rem; }
.marketing-pricing-card { min-height: 100%; }
.marketing-on-dark-link { color: #FAFAFA; border-radius: 0.25rem; }
.marketing-on-dark-link:hover { color: var(--marketing-accent); }
.marketing-on-dark-link:focus-visible { outline: 2px solid var(--marketing-accent); outline-offset: 4px; }
.marketing-help-card[hidden] { display: none; }
.marketing-help-search::-webkit-search-cancel-button { cursor: pointer; }
.marketing-legal-copy a:not([class]) {
  color: var(--marketing-link);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.marketing-legal-copy h2 { scroll-margin-top: 7rem; }
.marketing-document-nav a[aria-current="true"] {
  color: var(--marketing-link);
  box-shadow: inset 2px 0 0 var(--marketing-link);
}

@media (prefers-reduced-motion: no-preference) {
  .marketing-button { transition: transform 160ms ease, background-color 160ms ease; }
  .marketing-button:active { transform: scale(0.98); }
  .marketing-motion-ready [data-reveal] { transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
  .marketing-motion-ready [data-reveal][data-reveal-state="pending"] { transform: translateY(0.75rem); }
  .marketing-menu[open] .marketing-menu__content { animation: marketing-menu-content-in 160ms ease-out both; }
  @keyframes marketing-menu-content-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .marketing-button, .marketing-menu__content, [data-reveal] {
    animation: none !important;
    transition: none !important;
    transform: none;
  }
}
@media print {
  header, footer, .marketing-document-nav, .marketing-legal-actions { display: none !important; }
  body, main, .marketing-legal-copy { background: white !important; color: black !important; }
  main { padding: 0 !important; }
  .marketing-legal-copy section { break-inside: avoid-page; box-shadow: none !important; }
}

/* The public app story: one readable page, progressively enhanced feature tour. */
.tn-container { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.tn-section { padding-block: 5.5rem; }
.tn-eyebrow { color: var(--marketing-link); font-size: .67rem; font-weight: 750; letter-spacing: .15em; }
.tn-eyebrow--light { color: #7DD3FC; display: flex; align-items: center; gap: .6rem; }
.tn-availability-dot { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.tn-section-heading { max-width: 750px; margin: 0 auto 2.3rem; text-align: center; }
.tn-section-heading h2, .tn-faq h2, .tn-final h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.1; font-weight: 750; letter-spacing: -.045em; }
.tn-section-heading h2 { margin-top: .9rem; }
.tn-section-heading > p:last-child { margin-top: 1rem; color: #585D65; line-height: 1.65; }
.tn-text-link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; font-size: .85rem; font-weight: 650; }
.tn-inline-link { color: var(--marketing-link); text-decoration: underline; text-underline-offset: .2em; }
.tn-hero { overflow: hidden; color: #FAFAFA; background: #101721; }
.tn-hero__layout { padding-top: 3.2rem; }
.tn-hero__copy { position: relative; z-index: 2; text-align: center; }
.tn-hero .tn-eyebrow { justify-content: center; }
.tn-hero h1 { font-size: clamp(3.3rem, 5.75vw, 4.7rem); line-height: 1.01; letter-spacing: -.06em; font-weight: 760; margin-top: 1.6rem; }
.tn-hero h1 span { display: inline; color: #6ACBFA; }
.tn-hero__description { max-width: 37rem; margin: 1.3rem auto 0; color: #BAC5D1; font-size: 1.05rem; line-height: 1.75; }
.tn-hero__actions { margin-top: 1.5rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem 1.4rem; }
.tn-hero__actions .marketing-button { box-shadow: 0 0 0 1px rgb(255 255 255 / 20%); }
.tn-hero__note { margin-top: .9rem; color: #A5B1C0; font-size: .74rem; }
.tn-hero__visual { position: relative; isolation: isolate; height: 490px; max-width: 850px; margin: 2.8rem auto 0; }
.tn-hero__phone { position: relative; z-index: 2; width: 304px; max-width: 85%; margin-inline: auto; }
.tn-hero__side { position: absolute; top: 55px; width: 260px; }
.tn-hero__side--dates { left: 1.2rem; transform: rotate(-7deg); }
.tn-hero__side--plan { right: 1.2rem; transform: rotate(7deg); }
.tn-phone__frame { overflow: hidden; border-radius: 15% / 6.9%; border: 6px solid #15171C; background: #15171C; box-shadow: 0 0 0 1px #68717D, 0 25px 60px -20px rgb(0 0 0 / 28%); }
.tn-hero__footer { position: relative; z-index: 3; background: #101721; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.4rem; padding-block: 1.3rem; border-top: 1px solid #293542; color: #B6C2CF; font-size: .73rem; font-weight: 550; }
.tn-hero__footer span { display: flex; align-items: center; gap: .65rem; }
.tn-hero__footer span::before { content: ""; width: .3rem; height: .3rem; border-radius: 50%; background: #54B7EF; }
.tn-hero__footer span:nth-child(2)::before { background: #EBA569; }
.tn-hero__footer span:nth-child(3)::before { background: #AD9AEB; }
.tn-hero__footer span:nth-child(4)::before { background: #EAA1C7; }
.tn-hero__footer span:nth-child(5)::before { background: #77C7B2; }
.tn-product { padding-bottom: 2rem; }
.tn-tour-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.8rem; }
.tn-tour-controls[hidden], .tn-feature[hidden] { display: none; }
.tn-tour-controls button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1.2rem; border-radius: 99px; border: 1px solid #DFE3E8; background: white; font-size: .84rem; font-weight: 650; cursor: pointer; color: #505761; }
.tn-tour-controls button:hover { border-color: #8493A3; }
.tn-tour-controls button[aria-selected="true"] { background: #111E2D; border-color: #111E2D; color: white; }
.tn-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; border: 1px solid #DCE7F0; border-radius: 2rem; overflow: hidden; background: #EEF5FB; min-height: 525px; }
.tn-feature + .tn-feature { margin-top: 2rem; }
[data-tour-enhanced="true"] .tn-feature { margin-top: 0; }
.tn-feature--day-plan { background: #EDF3FC; border-color: #DCE5F2; }
.tn-feature--tasks { background: #F6F1FB; border-color: #E9E1F0; }
.tn-feature--money { background: #EFF6F1; border-color: #DBE8DE; }
.tn-feature--band { background: #F0F2FC; border-color: #E1E4F2; }
.tn-feature__copy { padding: 3rem 0 3rem 3.5rem; }
.tn-feature__label { color: #526B81; font-size: .7rem; letter-spacing: .13em; font-weight: 700; }
.tn-feature h3 { margin-top: 1.1rem; max-width: 12ch; font-size: clamp(2.15rem, 3.75vw, 3.2rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.1; }
.tn-feature__description { margin-top: 1.3rem; max-width: 25rem; color: #505D6A; line-height: 1.75; font-size: .94rem; }
.tn-feature ul { display: grid; gap: .65rem; margin-top: 1.5rem; }
.tn-feature li { display: flex; align-items: flex-start; gap: .6rem; font-size: .76rem; line-height: 1.5; color: #314358; }
.tn-feature li svg { flex-shrink: 0; margin-top: .1rem; color: #006FAF; }
.tn-feature__visual { padding-block: 2rem; width: 260px; max-width: 85%; margin: 0 auto; }
.tn-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-block: 2.4rem 4.5rem; }
.tn-benefit-icon { width: 25px; height: 25px; color: #006FAF; margin-bottom: .8rem; }
.tn-benefits h3 { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; }
.tn-benefits p { font-size: .82rem; line-height: 1.7; color: #626973; margin-top: .45rem; }
.tn-benefits a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; }
.tn-pricing { background: #F0F2F5; }
.tn-price-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.tn-price-card { border: 1px solid #DBDFE5; border-radius: 1.5rem; padding: 2rem; background: white; }
.tn-price-card h3 { margin-top: .9rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; }
.tn-price-card > p:last-child { font-size: .85rem; line-height: 1.7; color: #626973; margin-top: 1.5rem; max-width: 24rem; }
.tn-price-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 3.5rem), 1fr)); gap: 1rem; padding-block: 1.4rem; margin-top: .7rem; border-bottom: 1px solid #E2E5EA; }
.tn-price-options > div { display: flex; flex-direction: column; gap: .3rem; font-size: .75rem; color: #626973; }
.tn-price-amount { color: #111111; font-size: 2rem; font-weight: 750; letter-spacing: -.04em; }
.tn-price-card--pass { background: #142536; border-color: #142536; color: white; }
.tn-price-card--pass .tn-eyebrow { color: #7DD3FC; }
.tn-price-card--pass .tn-price-options { border-color: #3A4857; }
.tn-price-card--pass .tn-price-options > div { color: #C2CEDA; }
.tn-price-card--pass .tn-price-amount { color: white; }
.tn-price-card--pass > p:last-child { color: #C2CEDA; }
.tn-price-note { text-align: center; margin: 1.4rem auto 0; max-width: 45rem; font-size: .71rem; line-height: 1.8; color: #626973; }
.tn-faq__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.tn-faq h2 { margin-top: 1rem; max-width: 10ch; }
.tn-faq .tn-text-link { margin-top: 1.2rem; }
.tn-faq__questions { border-top: 1px solid #DCE0E6; }
.tn-faq details { border-bottom: 1px solid #DCE0E6; }
.tn-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding: 1.1rem .1rem; cursor: pointer; font-weight: 650; font-size: .9rem; }
.tn-faq summary::-webkit-details-marker { display: none; }
.tn-faq__plus { width: 18px; height: 18px; flex-shrink: 0; color: #006FAF; }
.tn-faq details[open] .tn-faq__plus { transform: rotate(45deg); }
.tn-faq details p { padding: 0 1.5rem 1.3rem 0; color: #626973; line-height: 1.75; font-size: .85rem; }
.tn-final { background: #E4F3FD; text-align: center; padding-block: 4.5rem; }
.tn-final__icon { border-radius: 1rem; margin: 0 auto 1.4rem; }
.tn-final p { margin-top: .9rem; color: #526B81; }
.tn-final .marketing-button { margin-top: 1.5rem; }
@media (max-width: 1023px) {
  .tn-feature__copy { padding-left: 2rem; }
  .tn-faq__layout { gap: 2.5rem; }
}
@media (max-width: 767px) {
  .tn-container { width: min(100% - 2.4rem, 580px); }
  .tn-section { padding-block: 3.5rem; }
  .tn-hero__layout { padding-top: 2.6rem; }
  .tn-hero__copy { text-align: center; }
  .tn-hero .tn-eyebrow { justify-content: center; font-size: .59rem; }
  .tn-hero h1 { font-size: clamp(2.85rem, 10.5vw, 4.5rem); margin-top: 1.2rem; }
  .tn-hero__description { margin-inline: auto; font-size: .94rem; line-height: 1.65; }
  .tn-hero h1 span { display: block; }
  .tn-hero__actions { align-items: center; flex-direction: column; gap: .35rem; margin-top: 1.3rem; }
  .tn-hero__note { margin-top: .4rem; font-size: .7rem; }
  .tn-hero__visual { width: 580px; max-width: none; margin: 1.8rem 0 0; left: 50%; transform: translateX(-50%); height: 405px; }
  .tn-hero__phone { width: 272px; }
  .tn-hero__side { width: 180px; top: 55px; }
  .tn-hero__side--dates { left: 0; }
  .tn-hero__side--plan { right: 0; }
  .tn-hero__footer { justify-content: center; column-gap: 1.1rem; font-size: .67rem; }
  .tn-product { padding-bottom: 1rem; }
  .tn-tour-controls { gap: .4rem; margin-bottom: 1.2rem; }
  .tn-tour-controls button { padding: .55rem .9rem; font-size: .75rem; }
  .tn-tour-controls button svg { width: 16px; height: 16px; }
  .tn-feature { grid-template-columns: 1fr; gap: 0; border-radius: 1.5rem; }
  .tn-feature__copy { padding: 1.8rem 1.5rem 1.5rem; }
  .tn-feature h3 { font-size: 2.2rem; max-width: 15ch; }
  .tn-feature__description { font-size: .88rem; margin-top: 1rem; }
  .tn-feature ul { margin-top: 1rem; }
  .tn-feature__visual { padding-block: .5rem 1.8rem; width: 240px; }
  .tn-benefits { grid-template-columns: 1fr; gap: 1.7rem; padding-block: 2rem 3rem; }
  .tn-benefits article { position: relative; padding-left: 2.5rem; }
  .tn-benefit-icon { position: absolute; left: 0; top: .1rem; width: 22px; height: 22px; }
  .tn-price-grid { grid-template-columns: 1fr; }
  .tn-price-card { padding: 1.6rem; }
  .tn-price-note { font-size: .7rem; }
  .tn-faq__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .tn-faq h2 { max-width: none; }
  .tn-faq .tn-text-link { margin-top: .7rem; }
  .tn-faq summary { font-size: .87rem; }
  .tn-final { padding-block: 3.5rem; }
}
@media (forced-colors: active) {
  .tn-tour-controls button[aria-selected="true"] { outline: 2px solid Highlight; }
  .tn-hero h1 span, .tn-eyebrow, .tn-eyebrow--light { color: CanvasText; }
}
@media print {
  .tn-tour-controls { display: none !important; }
  .tn-feature[hidden] { display: grid !important; }
}
