/* Hytomo site — folder cabinet styling. Palette: navy #2D4059, coral #EA5455, tangerine #F07B3F, sun #FFD460 */
:root {
  --hyt-navy: #2D4059;
  --hyt-navy-deep: #1f2e42;
  --hyt-coral: #EA5455;
  --hyt-tangerine: #F07B3F;
  --hyt-sun: #FFD460;
  --hyt-cream: #fff8e4;
  --hyt-manila: #ffeebc;
  --hyt-ink-soft: #4a5a70;
  --hyt-head: Futura, "Futura PT", "Century Gothic", "Trebuchet MS", sans-serif;
  --hyt-body: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --hyt-r: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hyt-navy);
  color: var(--hyt-navy);
  font: 1rem/1.6 var(--hyt-body);
}
a { color: var(--hyt-navy); text-decoration-color: var(--hyt-tangerine); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--hyt-sun); outline-offset: 2px; }
.hyt-skip { position: absolute; left: -999px; top: 0; background: var(--hyt-sun); padding: .5rem 1rem; }
.hyt-skip:focus { left: .5rem; z-index: 9; }

/* top chrome with the brand and the drawer label */
.hyt-chrome { padding: 1.25rem 1rem 0; max-width: 60rem; margin: 0 auto; }
.hyt-brand { display: flex; align-items: center; gap: .75rem; color: var(--hyt-cream); }
.hyt-brand svg { width: 44px; height: 44px; flex: none; }
.hyt-brand strong { font: 700 1.6rem/1 var(--hyt-head); letter-spacing: .02em; }
.hyt-brand span { display: block; font: 600 .7rem/1.4 var(--hyt-head); letter-spacing: .25em; color: var(--hyt-sun); text-transform: uppercase; }

/* folder tabs */
.hyt-tabs { display: flex; align-items: flex-end; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.hyt-tabs li { margin-right: -10px; }
.hyt-tabs a {
  display: block; position: relative;
  padding: .55rem 1.6rem .5rem;
  font: 700 .85rem/1.2 var(--hyt-head); letter-spacing: .06em; text-transform: uppercase;
  color: var(--hyt-cream); text-decoration: none;
  background: #3d5372;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.hyt-tabs a[aria-current="page"] { background: var(--hyt-cream); color: var(--hyt-navy); padding-top: .8rem; z-index: 2; }
.hyt-tabs a::before { content: ""; position: absolute; left: 50%; top: 5px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--hyt-coral); }
.hyt-tabs li:nth-child(2) a::before { background: var(--hyt-sun); }

/* the open folder */
.hyt-folder { background: var(--hyt-cream); max-width: 60rem; margin: 0 auto; padding: 1.75rem 1rem 3rem; border-radius: 0 var(--hyt-r) 0 0; }
h1, h2, h3 { font-family: var(--hyt-head); line-height: 1.2; }
h1 { font-size: 1.9rem; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 .75rem; display: flex; align-items: center; gap: .5rem; }
h2::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--hyt-tangerine); flex: none; }
h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.hyt-lede { font-size: 1.08rem; max-width: 40rem; color: var(--hyt-ink-soft); }

/* support page: drawers grid */
.hyt-drawers { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.hyt-drawer { position: relative; background: var(--hyt-manila); border-radius: 0 var(--hyt-r) var(--hyt-r) var(--hyt-r); padding: 1rem 1rem 1.1rem; margin-top: 1.4rem; border-bottom: 3px solid rgba(45,64,89,.15); }
.hyt-drawer .hyt-label { position: absolute; top: -1.45rem; left: 0; background: var(--hyt-manila); padding: .3rem 1rem .1rem; font: 700 .72rem/1.2 var(--hyt-head); letter-spacing: .1em; text-transform: uppercase; clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); }
.hyt-drawer ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.hyt-drawer li { margin: .2rem 0; }

.hyt-faq details { border-top: 1px dashed rgba(45,64,89,.35); padding: .7rem 0; }
.hyt-faq details:last-child { border-bottom: 1px dashed rgba(45,64,89,.35); }
.hyt-faq summary { cursor: pointer; font: 700 1rem/1.4 var(--hyt-head); list-style: none; padding-left: 1.6rem; position: relative; }
.hyt-faq summary::-webkit-details-marker { display: none; }
.hyt-faq summary::before { content: "+"; position: absolute; left: 0; top: -.05rem; width: 1.1rem; height: 1.1rem; border-radius: 3px; background: var(--hyt-navy); color: var(--hyt-sun); text-align: center; line-height: 1.1rem; font-size: .9rem; }
.hyt-faq details[open] summary::before { content: "−"; }
.hyt-faq p { margin: .4rem 0 0 1.6rem; }

.hyt-contact { margin-top: 2.5rem; background: var(--hyt-navy); color: var(--hyt-cream); border-radius: var(--hyt-r); padding: 1.25rem; }
.hyt-contact h2 { margin-top: 0; color: var(--hyt-sun); }
.hyt-contact h2::before { background: var(--hyt-coral); }
.hyt-contact a { color: var(--hyt-sun); font-weight: 700; word-break: break-all; }
.hyt-meta { font-size: .85rem; color: var(--hyt-ink-soft); margin-top: 2rem; }

/* privacy page: a file note on a manila sheet */
.hyt-note { background: #fff; border-radius: var(--hyt-r); padding: 1.25rem 1rem 1.5rem; box-shadow: 0 2px 0 rgba(45,64,89,.12); border-left: 6px solid var(--hyt-sun); }
.hyt-stamp { display: inline-block; border: 3px solid var(--hyt-coral); color: #b8333a; font: 700 .9rem/1.2 var(--hyt-head); letter-spacing: .14em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 4px; transform: rotate(-3deg); margin: .5rem 0 1rem; }
.hyt-ledger { width: 100%; border-collapse: collapse; margin: .5rem 0; font-size: .95rem; }
.hyt-ledger th, .hyt-ledger td { text-align: left; vertical-align: top; padding: .55rem .5rem; border-bottom: 1px solid rgba(45,64,89,.18); }
.hyt-ledger th { font-family: var(--hyt-head); background: var(--hyt-manila); }
.hyt-dated { font: 600 .8rem/1.4 var(--hyt-head); letter-spacing: .08em; text-transform: uppercase; color: var(--hyt-ink-soft); }

footer { max-width: 60rem; margin: 0 auto; padding: 1rem; color: var(--hyt-cream); font-size: .85rem; }
footer a { color: var(--hyt-sun); }

@media (min-width: 40rem) {
  .hyt-chrome, .hyt-folder { padding-left: 2rem; padding-right: 2rem; }
  .hyt-drawers { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .hyt-note { padding: 2rem 2.25rem; }
  h1 { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hyt-tabs a { transition: background .2s; }
  .hyt-tabs a:hover { background: #4b6488; }
  .hyt-tabs a[aria-current="page"]:hover { background: var(--hyt-cream); }
}
