/* Freshboard website: one stylesheet for every page.
   Publishing: changes pushed to the main branch on GitHub (watt425228/freshboard-website)
   go live on freshboard.org by themselves; Hostinger deploys each push. */

/* The palette comes from a kitchen pass: stainless steel, white ticket paper,
   the yellow copy of an order ticket, and ballpoint blue. */
:root {
  --steel-0: #F3F5F7; --steel-1: #E4E9ED; --steel-2: #CBD3DA; --steel-3: #98A4B0; --steel-4: #586573;
  --ink: #17212B; --paper: #FFFFFF; --ticket: #FFD84D; --pen: #1F45D8; --pen-deep: #1836AC;
  --font: "Archivo", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--steel-0); color: var(--ink); font: 17px/1.5 var(--font); font-variant-numeric: tabular-nums; }
/* Short pages keep the footer at the bottom of the window. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
a { color: var(--pen); text-underline-offset: 0.15em; }
a:hover { color: var(--pen-deep); }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; }
.display { font-family: var(--font-display); font-stretch: 68%; font-weight: 800; line-height: 0.98; letter-spacing: -0.005em; }
.muted { color: var(--steel-4); }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.55rem 1rem; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--steel-1); color: var(--ink); }
.btn-primary { background: var(--pen); border-color: var(--pen); color: #fff; }
.btn-primary:hover { background: var(--pen-deep); border-color: var(--pen-deep); color: #fff; }
.btn-large { padding: 0.8rem 1.4rem; font-size: 1.0625rem; }

/* header */
.brand { font-size: 1.7rem; color: var(--ink); text-decoration: none; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.site-head nav { display: flex; align-items: center; gap: 1.5rem; }
.site-head nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-head nav a:not(.btn):hover { text-decoration: underline; }

/* hero */
.hero { padding: 2.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: 0.92; max-width: 8.5em; }
.hero-lede { font-size: 1.25rem; line-height: 1.45; max-width: 31rem; margin-top: 1.5rem; color: #33404D; }

/* The try-it form is an order ticket hanging from a rail. */
.try { margin-top: 2.25rem; max-width: 29rem; filter: drop-shadow(0 3px 2px rgba(23, 33, 43, 0.2)); }
.try-rail { height: 9px; background: linear-gradient(#DDE2E7, #B4BDC6 45%, #8F9AA6 55%, #C7CED5); border-bottom: 1px solid #7C8794; border-radius: 2px; }
.try-ticket {
  --tooth: 6px;
  background: var(--ticket); margin: -3px 0.9rem 0; padding: 1.1rem 1.25rem calc(1rem + var(--tooth));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
}
.try h2 { font-size: 1.125rem; font-weight: 750; }
.try-fields { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.try-price { display: grid; gap: 0.2rem; font-size: 0.875rem; font-weight: 600; }
.try-box { display: flex; align-items: center; gap: 0.2rem; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; padding: 0 0.6rem; font-size: 1.125rem; font-weight: 700; }
.try-box:focus-within { outline: 3px solid var(--pen); outline-offset: 2px; }
.try-box input { border: 0; outline: 0; background: none; font: inherit; width: 4.2rem; padding: 0.45rem 0; text-align: right; color: var(--ink); }
.try-check { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; padding-bottom: 0.6rem; }
.try-check input { width: 1.15rem; height: 1.15rem; accent-color: var(--ink); }
.try-status { margin-top: 0.8rem; font-size: 0.9375rem; font-weight: 600; min-height: 1.5em; }

/* the three places a menu appears */
.stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem 1.25rem; }
.surface { margin: 0; }
.surface figcaption { margin-top: 0.6rem; font-size: 0.875rem; font-weight: 600; color: var(--steel-4); }
.surface ul { list-style: none; margin: 0; padding: 0; }
.surface li { display: flex; align-items: baseline; gap: 0.5rem; }
.surface li b { margin-left: auto; white-space: nowrap; border-radius: 3px; padding: 0 0.2em; margin-right: -0.2em; }
[data-demo="row"].is-out span { text-decoration: line-through; opacity: 0.55; }
.is-flash { animation: flash 1.8s ease-out 1; }
@keyframes flash { 0%, 35% { background: var(--ticket); color: #111; } 100% { background: transparent; } }
.tv { grid-column: 1 / -1; }
.tv-screen {
  background: repeating-linear-gradient(#171717 0, #171717 7px, #0B0B0B 7px, #0B0B0B 8px);
  color: #F4F4EE; border: 0.7rem solid #262B31; border-radius: 0.6rem;
  box-shadow: 0 1.5rem 3rem -1rem rgba(23, 33, 43, 0.5);
  padding: clamp(1.25rem, 3vw, 2.25rem); font-family: var(--font-display); text-transform: uppercase;
  aspect-ratio: 16 / 9; display: flex; flex-direction: column;
}
.tv-head { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: 66%; line-height: 1; }
.tv-sec { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 800; font-stretch: 68%; letter-spacing: 0.03em; border-bottom: 2px solid #F4F4EE; padding-bottom: 0.2em; margin: 0.8em 0 0.3em; }
.tv-screen ul { flex: 1; display: grid; align-content: space-evenly; }
.tv-screen li { font-size: clamp(0.95rem, 1.9vw, 1.4rem); font-weight: 700; font-stretch: 82%; letter-spacing: 0.02em; }
.tv-screen li i { flex: 1; border-bottom: 2px dotted rgba(244, 244, 238, 0.3); transform: translateY(-0.25em); }
.tv-screen li b { font-weight: 800; margin-left: 0; }
.site-frame { background: #fff; border: 1px solid var(--steel-2); border-radius: 8px; overflow: hidden; }
.site-bar { display: flex; align-items: center; gap: 0.3rem; background: var(--steel-1); padding: 0.45rem 0.6rem; }
.site-bar span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--steel-3); }
.site-bar em { font-style: normal; font-size: 0.6875rem; color: var(--steel-4); background: #fff; border-radius: 99px; padding: 0.1rem 0.6rem; margin-left: 0.4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-page { padding: 1rem 1.1rem 1.2rem; font-family: Georgia, "Times New Roman", serif; }
.site-title { font-size: 1.35rem; margin-bottom: 0.5rem; }
.site-page li { padding: 0.4rem 0; border-bottom: 1px solid var(--steel-1); font-size: 0.9375rem; }
.listing-card { background: #fff; border: 1px solid var(--steel-2); border-radius: 12px; padding: 1rem 1.1rem 1.1rem; font-family: "Helvetica Neue", Arial, sans-serif; }
.listing-name { font-size: 1.2rem; font-weight: 500; }
.listing-kind { font-size: 0.8125rem; color: var(--steel-4); }
.listing-tabs { display: flex; gap: 1rem; font-size: 0.8125rem; color: var(--steel-4); border-bottom: 1px solid var(--steel-1); margin: 0.7rem 0 0.3rem; }
.listing-tabs span { padding-bottom: 0.4rem; }
.listing-tabs .on { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); }
.listing-card li { padding: 0.4rem 0; font-size: 0.9375rem; }

/* where it goes */
.channels { background: var(--ink); color: #fff; padding: 5rem 0; }
.channels h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); max-width: 12em; }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; margin-top: 3rem; }
.channel-grid article { border-top: 3px solid var(--ticket); padding-top: 1.25rem; }
.channel-grid h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.channel-grid p { color: #C9D1D9; max-width: 24rem; }
.channel-grid p + p { margin-top: 0.75rem; }

/* details */
.details { padding: 5rem 0; }
.details-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.details h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); max-width: 7em; }
.details-more { margin-top: 1.5rem; font-weight: 650; }
.details dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
.details dt { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.35rem; }
.details dd { margin: 0; color: #33404D; }

/* pricing */
.pricing { background: var(--paper); border-top: 1px solid var(--steel-2); padding: 5rem 0; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.pricing h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); max-width: 9em; }
.pricing-lede { font-size: 1.1875rem; max-width: 32rem; margin: 1.25rem 0 1.75rem; color: #33404D; }
.pricing-actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.calc { background: var(--steel-0); border-radius: 12px; padding: 1.75rem; }
.calc label { font-weight: 650; }
.calc-row { display: flex; gap: 0.5rem; margin: 0.75rem 0 1.5rem; }
.calc-row .btn { width: 3rem; font-size: 1.25rem; }
.calc-row input { width: 5.5rem; text-align: center; font: inherit; font-size: 1.25rem; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink); }
.calc-total { font-size: 3.25rem; margin-bottom: 0.75rem; }

/* footer */
.site-foot { background: var(--ink); padding: 2rem 0; }
.site-foot .wrap { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.site-foot .brand { color: #fff; margin-right: auto; }
.site-foot a { color: #C9D1D9; }
.site-foot small { color: #8D99A6; width: 100%; }

@media (max-width: 62rem) {
  .hero-grid, .details-grid, .pricing-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .channel-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 40rem) {
  .site-head nav a:not(.btn) { display: none; }
  .hero { padding-top: 1rem; }
  .stage { grid-template-columns: 1fr; }
  .details dl { grid-template-columns: 1fr; }
  .channels, .details, .pricing { padding: 3.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- inner pages: features, pricing, contact ------------------------------------- */

.site-head nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

.page-hero { padding: 3rem 0 3.5rem; }
.page-hero h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 0.94; max-width: 11em; }
.page-hero .lede { font-size: 1.25rem; line-height: 1.45; max-width: 36rem; margin-top: 1.25rem; color: #33404D; }

/* A heading on the left, what it covers on the right. */
.topic { padding: 4rem 0; border-top: 1px solid var(--steel-2); }
.topic-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.topic h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 8em; }
.topic .aside { margin-top: 1rem; color: var(--steel-4); max-width: 22rem; }
.topic dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.topic dt { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.35rem; }
.topic dd { margin: 0; color: #33404D; }

/* The countdown bar, as it appears under a menu on a TV. */
.countdown { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; background: var(--ticket); color: #111; border-radius: 6px; padding: 0.8rem 1.1rem; margin-top: 1.5rem; max-width: 26rem; }
.countdown strong { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 1.5rem; line-height: 1; }

/* Add-ons sit on the dark band, like the channels on the home page. */
.addons .lede { color: #C9D1D9; max-width: 36rem; margin-top: 1rem; }

.cta-band { background: var(--ticket); padding: 3.5rem 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 14em; color: #111; }

/* pricing page */
.plan { background: var(--paper); border-top: 1px solid var(--steel-2); border-bottom: 1px solid var(--steel-2); padding: 4rem 0; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.plan-title { font-size: clamp(2.5rem, 5.4vw, 4.5rem); max-width: 9em; }
.topic-flush { border-top: 0; }
.included { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.included li { position: relative; padding-left: 1.9rem; }
.included li::before { content: ""; position: absolute; left: 0.15rem; top: 0.42em; width: 0.95rem; height: 0.55rem; border-left: 3px solid var(--pen); border-bottom: 3px solid var(--pen); transform: rotate(-45deg); }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin-top: 2.5rem; }
.extras article { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.extras h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.extras .price { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 2rem; line-height: 1; margin: 0.25rem 0 0.75rem; }
.extras p + p { margin-top: 0.6rem; }
.faq dl { margin: 0; display: grid; gap: 1.75rem; max-width: 46rem; }
.faq dt { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.3rem; }
.faq dd { margin: 0; color: #33404D; }

/* contact page: the email address on an order ticket */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; padding-bottom: 5rem; }
.contact-card { filter: drop-shadow(0 3px 2px rgba(23, 33, 43, 0.2)); max-width: 30rem; }
.contact-card .try-ticket { padding-top: 1.4rem; }
.contact-card h2 { font-size: 1.25rem; font-weight: 750; }
.contact-card .address { display: block; font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(1.3rem, 6vw, 2.4rem); line-height: 1.05; color: #111; margin: 0.6rem 0 1rem; overflow-wrap: break-word; }
.contact-card p { font-size: 0.9375rem; }
.contact-card .btn { margin-top: 1rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 0.9rem; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--pen); }
.steps strong { font-size: 1.125rem; }
.steps span { color: #33404D; }
.steps-title { font-size: 1.5rem; margin-bottom: 1.25rem; }

@media (max-width: 62rem) {
  .topic-grid, .plan-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 40rem) {
  .topic dl, .extras { grid-template-columns: 1fr; gap: 2rem; }
  .topic, .plan { padding: 3rem 0; }
  .page-hero { padding: 1.5rem 0 2.5rem; }
}
