/* =====================================================================
   Potato Web - site.css (brick B05)
   Baseline: plain CSS that old browsers understand (blocks, floats,
   inline-blocks). Modern layout (flexbox) is added inside @supports,
   which old browsers simply skip. No web fonts, no outside files.
   Palette: navy #24334B, ivory #F7F5F0, sand #E5E0D5, teal #497C83,
   teal-text #3B6970, ochre #C38B4A, ochre-text #8A5A1F, grey #4A5568.
   ===================================================================== */

/* ---------- reset & base ---------- */
html { background: #F7F5F0; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: #24334B;
  background: #F7F5F0;
}
html.big-text body { font-size: 120%; }
img, svg { max-width: 100%; height: auto; border: 0; }
h1, h2, h3 { font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2.2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.3em; }
p { margin: 0 0 1em; }
a { color: #3B6970; }
a:hover { color: #24334B; }
ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Keyboard focus that is always visible */
/* B19: navy ring (11:1 on ivory); ochre ring on navy areas (4.3:1). Both pass the 3:1 rule for focus. */
a:focus, button:focus, input:focus, select:focus, textarea:focus, summary:focus, [tabindex]:focus {
  outline: 3px solid #24334B;
  outline-offset: 2px;
}
.utility a:focus, .utility button:focus, .footer a:focus, .footer button:focus, .pt-tour-bar a:focus, .pt-tour-bar button:focus, .skip:focus {
  outline-color: #C38B4A;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap:after { content: ""; display: table; clear: both; }

.skip { position: absolute; left: -9999px; top: 0; background: #24334B; color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .js-only { display: none; }

/* ---------- utility bar ---------- */
.utility { background: #24334B; color: #F7F5F0; font-size: .95em; }
.utility a { color: #F7F5F0; }
.utility-in { padding-top: 8px; padding-bottom: 8px; }
.brand { float: left; color: #F7F5F0; text-decoration: none; font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; font-size: 1.25em; font-weight: bold; line-height: 34px; }
.brand img { vertical-align: middle; margin-right: 8px; width: 26px; height: 36px; }
.utility-nav { float: right; line-height: 34px; }
.utility-nav a { margin-left: 16px; }
.textsize { margin-left: 16px; white-space: nowrap; }
.ts {
  min-width: 44px; min-height: 36px; margin-left: 4px; cursor: pointer;
  border: 1px solid #9FB3C8; border-radius: 8px; background: transparent; color: #F7F5F0; font-weight: bold;
}
.ts-big { font-size: 1.2em; }
.ts[aria-pressed="true"] { background: #3B6970; border-color: #F7F5F0; }

/* ---------- banners ---------- */
.hero {
  background: #E8F0EE url(/assets/hero.461cb6e62a.svg) no-repeat right bottom;
  background-size: cover;
  min-height: 340px;
}
.hero-in { padding-top: 44px; padding-bottom: 140px; }
.hero-text { max-width: 580px; }
.hero-blog { margin: 14px 0 0; font-weight: 600; }
.hero-blog a { text-decoration: underline; text-underline-offset: 3px; }
.hero h1 { font-size: 2.75em; }
.eyebrow { font-size: .9em; font-weight: bold; letter-spacing: .03em; color: #8A5A1F; margin-bottom: .75em; }
.lead { font-size: 1.15em; }

.band {
  background: #E8F0EE url(/assets/band.f1bbc389f9.svg) no-repeat right bottom;
  background-size: cover;
}
.band-in { padding-top: 22px; padding-bottom: 58px; }
.band-title { font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; font-size: 1.4em; font-weight: bold; margin: 0; }
.band-sub { margin: 4px 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; margin: 0 10px 10px 0; border-radius: 12px;
  background: #24334B; color: #FFFFFF; text-decoration: none; font-weight: bold; border: 2px solid #24334B;
}
.btn:hover { background: #3B6970; border-color: #3B6970; color: #FFFFFF; }
.btn-ghost { background: #FFFFFF; color: #24334B; }
.btn-ghost:hover { background: #EEF4F3; color: #24334B; border-color: #24334B; }

/* ---------- main menu + mega menu ---------- */
.mainnav { background: #FFFFFF; border-bottom: 1px solid #E5E0D5; position: relative; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu > li { display: inline-block; vertical-align: top; }
.menu > li > a, .mega > summary {
  display: block; padding: 14px 12px 11px; font-weight: bold; color: #24334B; text-decoration: none;
  border-bottom: 3px solid transparent; cursor: pointer;
}
.menu > li > a:hover, .mega > summary:hover { border-bottom-color: #C38B4A; }
.menu > li > a[aria-current="page"] { border-bottom-color: #497C83; }
.mega > summary { list-style: none; }
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary:after { content: " \25BE"; }
.mega[open] > summary:after { content: " \25B4"; }
.mega-panel { background: #FFFFFF; border-top: 1px solid #E5E0D5; padding: 16px 0 8px; }
.mega-col { display: inline-block; vertical-align: top; width: 220px; margin: 0 24px 16px 0; }
.mega-cat { display: block; font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; font-size: 1.1em; font-weight: bold; color: #24334B; text-decoration: none; margin-bottom: 6px; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li a { display: block; padding: 4px 0; }
.mega-foot { padding-top: 6px; font-weight: bold; }

/* ---------- search band ---------- */
.searchband { background: #EFEBE3; border-bottom: 1px solid #E5E0D5; }
.search { padding-top: 16px; padding-bottom: 16px; }
.search label { display: block; font-weight: bold; margin-bottom: 8px; }
.search input[type="search"] {
  width: 60%; min-height: 48px; padding: 0 14px; border: 2px solid #8C96A6; border-radius: 12px;
  background: #FFFFFF; font-size: 1.05em; box-sizing: border-box; vertical-align: middle;
}
.search button {
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 12px; background: #3B6970; color: #FFFFFF;
  font-weight: bold; cursor: pointer; vertical-align: middle;
}
.search button:hover { background: #24334B; }
.search-help { display: block; margin-top: 8px; font-size: .9em; color: #4A5568; }
/* product pages (B11): tool + help on the left, facts on the right; one column on phones (tool first) */
.product-main { margin-bottom: 24px; }
.product-side .side-box { background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }
.product-side h2 { font-size: 1.1em; margin: 0 0 8px; }
.glance { margin: 0; }
.glance dt { font-weight: bold; float: left; clear: left; width: 45%; padding: 3px 0; }
.glance dd { margin: 0 0 0 47%; padding: 3px 0; }
.side-meta { font-size: .9em; color: #4A5568; }
.preview-note { background: #FBF1E4; border-left: 4px solid #C38B4A; padding: 8px 12px; }
.tool { background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 16px; padding: 16px; margin: 12px 0 8px; }
.controls { margin: 0 0 12px; }
.controls button, .btn-secondary {
  min-height: 44px; min-width: 44px; padding: 0 16px; margin: 0 8px 8px 0; border: 2px solid #3B6970; border-radius: 12px;
  background: #FFFFFF; color: #3B6970; font-weight: bold; cursor: pointer; font-size: 1em;
}
.controls button.primary { background: #3B6970; color: #FFFFFF; }
.controls button:hover, .btn-secondary:hover { background: #EEF4F3; }
.controls button.primary:hover { background: #24334B; border-color: #24334B; }
.controls select, .controls input { min-height: 44px; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font-size: 1em; margin: 0 8px 8px 0; background: #FFFFFF; }
.status { min-height: 1.5em; margin: 8px 0 0; font-weight: bold; color: #24334B; }
#how ol li, #tips ul li { margin-bottom: 6px; }
.keys { border-collapse: collapse; }
.keys th, .keys td { text-align: left; padding: 6px 14px 6px 0; border-bottom: 1px solid #E5E0D5; vertical-align: top; }
kbd { display: inline-block; border: 1px solid #8C96A6; border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font-family: inherit; font-size: .92em; background: #FFFFFF; }
@media (min-width: 961px) {
  .product-main { float: left; width: 68%; }
  .product-side { float: right; width: 28%; }
  .product:after { content: ""; display: table; clear: both; }
}
@media print { .product-side, .controls { display: none !important; } .product-main { width: 100%; float: none; } }

/* site tour bar (B11b, owner's check only) */
.pt-tour-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 99; background: #24334B; color: #FFFFFF; font-weight: bold; padding: 10px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
@media print { .pt-tour-bar { display: none; } }

/* search page (B10): same box as the header, plus a plain result list */
.page-search .searchband { display: none; }   /* the page has its own, bigger box */
.search-page { padding: 0 0 6px; }
.search-status { min-height: 1.5em; margin: 6px 0 10px; color: #4A5568; }
.results { list-style: none; margin: 0 0 18px; padding: 0; }
.result { padding: 12px 0; border-bottom: 1px solid #E5E0D5; }
.result-title { font-weight: bold; font-size: 1.12em; }
.result-meta { display: block; font-size: .9em; color: #8A5A1F; margin-top: 2px; }
.result-text { margin: 4px 0 0; color: #4A5568; }
.note { font-size: .9em; color: #4A5568; }
.browse-list li { padding: 3px 0; }

/* ---------- breadcrumb ---------- */
.crumbs { padding-top: 18px; font-size: .95em; }
.crumbs ol { list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline; }
.crumbs li + li:before { content: "\203A"; margin: 0 8px; color: #8C96A6; }

/* ---------- main content ---------- */
.main { padding-top: 32px; padding-bottom: 40px; }
.section { margin-bottom: 40px; }
.section-head p { color: #4A5568; font-size: 1.05em; }
.muted { color: #4A5568; }

.cards { list-style: none; margin: 0; padding: 0; }
.cards > li { display: inline-block; vertical-align: top; width: 31%; margin: 0 1.5% 20px 0; }
.card {
  display: block; background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 16px;
  padding: 20px 22px; color: #24334B; text-decoration: none; box-sizing: border-box;
}
a.card:hover { border-color: #497C83; color: #24334B; }
.card-warm { background: #FBF1E4; border-color: #F1DEC4; }
.card-cool { background: #EEF4F3; border-color: #D5E4E1; }
.card-title { display: block; font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; font-size: 1.3em; font-weight: bold; margin-bottom: 6px; }
.card-text { display: block; color: #4A5568; }
.card-meta { display: block; margin-top: 10px; font-size: .9em; }
.pill { display: inline-block; background: #EEF4F3; border-radius: 999px; padding: 3px 11px; margin: 0 6px 6px 0; font-size: .9em; }
.pill-warm { background: #FBF1E4; color: #6B4517; }
.card-body { overflow: hidden; }
.card-icon { float: left; width: 56px; height: 56px; margin: 0 14px 6px 0; border-radius: 16px; background: #EEF4F3; }
.card-icon-warm { background: #FBF1E4; }
.card-links { list-style: none; padding: 0; margin: 10px 0 0; font-size: .95em; }
.card-links li { padding: 2px 0; }

.promises { border-top: 1px solid #E5E0D5; padding-top: 24px; }
.promise { display: inline-block; vertical-align: top; width: 23%; margin-right: 2%; }
.promise strong { display: block; font-size: 1.05em; }

.notice { background: #FFFFFF; border: 1px solid #E5E0D5; border-left: 0; border-radius: 14px; padding: 16px 20px; }

/* ---------- navigation pages ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 28px; }
.chips li { display: inline-block; margin: 0 8px 8px 0; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid #C9D3D1; color: #24334B; text-decoration: none; font-weight: bold; }
.chips a:hover { border-color: #497C83; }
.empty { background: #FFFFFF; border: 1px dashed #C9D3D1; border-radius: 14px; padding: 14px 18px; color: #4A5568; }
.subhead { margin-top: 8px; }
.subhead a { color: #24334B; text-decoration: none; }
.subhead a:hover { text-decoration: underline; }
.az-letter { font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; font-size: 1.4em; margin: 24px 0 8px; }
.az-list { list-style: none; padding: 0; margin: 0; }
.az-list li { padding: 4px 0; }
.az-letters { list-style: none; padding: 0; margin: 8px 0 24px; }
.az-letters li { display: inline-block; margin: 0 6px 8px 0; vertical-align: top; }
.az-tile { display: inline-block; min-width: 52px; min-height: 52px; padding: 6px 4px; box-sizing: border-box; text-align: center; border-radius: 10px; background: #FFFFFF; border: 1px solid #C9D3D1; color: #24334B; text-decoration: none; font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; font-weight: bold; font-size: 1.3em; line-height: 1.1; }
a.az-tile:hover { border-color: #497C83; background: #EEF4F3; }
.az-count { display: block; font-size: 0.55em; font-weight: normal; color: #4A5568; }
.az-current { background: #24334B; border-color: #24334B; color: #FFFFFF; }
.az-current .az-count { color: #FFFFFF; }
.az-empty { color: #5F6B7A; background: #EFEBE3; border-color: #E5E0D5; }
.az-pager { margin-top: 24px; font-weight: bold; }
/* HTML sitemap (B09): columns on wide screens, one list on phones and old browsers */
.sitemap-cat { margin: 0 0 18px; }
.sitemap-cat h3 { margin: 0 0 6px; }
.sitemap-cat ul ul { margin: 2px 0 6px; }
@supports (display: grid) { .sitemap-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 28px; } }
.related { margin-top: 32px; }

/* ---------- ad slots (only present when ads are switched on) ---------- */
.ad { display: block; margin: 16px auto; text-align: center; max-width: 100%; }
.ad img { max-width: 100%; height: auto; }
.ad-label { display: block; font-size: .75em; color: #4A5568; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.ad-responsive { min-height: 120px; }
.ad-728x90 { min-height: 110px; }
.ad-468x60 { min-height: 80px; }
.ad-300x250 { min-height: 270px; }
.ad-300x600 { min-height: 620px; }
.ad-320x50 { min-height: 70px; }
.ad-320x100 { min-height: 120px; }
.ad-970x250 { min-height: 270px; }
.ad-house { display: inline-block; padding: 20px 30px; border: 1px dashed #8C96A6; border-radius: 12px; color: #3B6970; font-weight: bold; }

/* ---------- bottom banner + footer ---------- */
.farewell {
  background: #F6E3C4 url(/assets/sunset.e822593e5a.svg) no-repeat right bottom;
  background-size: cover;
}
.farewell-in { padding-top: 30px; padding-bottom: 70px; }
.farewell-text { max-width: 520px; }

.footer { background: #24334B; color: #F7F5F0; }
.footer a { color: #F7F5F0; }
.footer-in { padding-top: 36px; padding-bottom: 24px; }
.footer-col { display: inline-block; vertical-align: top; width: 23%; margin-right: 2%; margin-bottom: 20px; }
.footer-col h2 { font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif; font-size: .95em; letter-spacing: .05em; color: #A9D3CC; margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 3px 0; }
.follow { margin: 0 0 6px; }
.follow-g { display: inline-block; vertical-align: top; margin: 0 36px 0 0; }
.follow-h { font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif; font-size: .95em; letter-spacing: .05em; color: #A9D3CC; margin: 0 0 10px; }
.follow-list { list-style: none; padding: 0; margin: 0; }
.follow-list li { display: inline-block; vertical-align: top; margin: 0 14px 12px 0; }
.footer a.follow-a { display: inline-block; min-width: 64px; text-align: center; text-decoration: none; color: #F7F5F0; }
.follow-ic { display: block; width: 48px; height: 48px; margin: 0 auto 5px; border-radius: 50%; border: 2px solid #A9D3CC; background: #3B6970; color: #FFFFFF; line-height: 0; box-sizing: border-box; }
.follow-ic svg, .follow-ic img { margin-top: 9px; }
.follow-ic img { border-radius: 4px; }
.follow-t { display: block; font-size: .85em; color: #D5DCE6; }
.footer a.follow-a:hover .follow-ic, .footer a.follow-a:focus .follow-ic { background: #C38B4A; border-color: #FBF1E4; }
.footer a.follow-a:hover .follow-t, .footer a.follow-a:focus .follow-t { color: #FFFFFF; text-decoration: underline; }
.footer-base { border-top: 1px solid #3E5070; margin-top: 8px; padding-top: 16px; font-size: .9em; color: #D5DCE6; }
.footer-base span { display: inline-block; margin-right: 24px; }

/* ---------- modern layout (skipped by old browsers) ---------- */
@supports (display: flex) {
  .utility-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
  .brand, .utility-nav { float: none; }
  .utility-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  .utility-nav a, .textsize { margin-left: 0; }

  .menu { display: flex; flex-wrap: wrap; }
  .mega-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; box-shadow: 0 12px 24px rgba(36, 51, 75, .12); border-bottom: 1px solid #E5E0D5; }
  .mega-cols { display: flex; flex-wrap: wrap; gap: 20px 28px; }
  .mega-col { width: auto; flex: 1 1 200px; margin: 0; }

  .search-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .search input[type="search"], .search-page input[type="search"] { width: auto; flex: 1 1 260px; }

  .cards { display: flex; flex-wrap: wrap; gap: 20px; }
  .cards > li { width: auto; margin: 0; flex: 1 1 260px; display: flex; }
  .cards > li > .card { flex: 1 1 auto; }
  .promises { display: flex; flex-wrap: wrap; gap: 16px 24px; }
  .promise { width: auto; margin: 0; flex: 1 1 220px; }
  .footer-cols { display: flex; flex-wrap: wrap; gap: 16px 40px; }
  .footer-col { width: auto; margin: 0; flex: 1 1 180px; }
}

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  h1, .hero h1 { font-size: 1.9em; }
  .hero { background-size: 900px auto; background-position: right bottom; min-height: 0; }
  .hero-in { padding-top: 28px; padding-bottom: 185px; }
  .band { background-size: 700px auto; }
  .band-in { padding-top: 14px; padding-bottom: 64px; }
  .band-title { font-size: 1.12em; }
  .band-title, .band-sub { padding-right: 110px; }   /* keep the text clear of the potato */
  .brand, .utility-nav { float: none; }
  .utility-nav a { margin-left: 0; margin-right: 14px; }
  .cards > li, .promise, .footer-col { width: 100%; margin-right: 0; }
  .mega-col { width: 100%; }
  .search input[type="search"] { width: 100%; margin-bottom: 8px; }
  .menu > li > a, .mega > summary { padding: 12px 10px 9px; }
}

/* ---------- comfort & print ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .utility, .mainnav, .searchband, .farewell, .footer, .skip, .btn, .no-print { display: none !important; }
  .hero, .band { background: none; min-height: 0; }
  .hero-in, .band-in { padding: 0 0 12px; }
  body { background: #FFFFFF; color: #000000; font-size: 12pt; }
  a { color: #000000; }
}

/* B19: touch areas of at least 44 px inside tools (checkbox labels, sliders, file pickers, small buttons) */
@media screen {
  #tool input[type="checkbox"] + label, #tool input[type="radio"] + label { display: inline-block; padding: 11px 12px 11px 4px; vertical-align: middle; cursor: pointer; }
  #tool input[type="range"] { min-height: 44px; }
  #tool input[type="file"] { min-height: 44px; padding: 9px 0; }
}
