/* login.omniwatt.com (OW-432), in the website's look: its navy ground, Newsreader, the brand's red as the
   accent only, the header's height and gutters as the app's signed-out pages draw them (D18 job 8). */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #151222;
  --beige: #E9E5D9;
  --red: #FF3924;
  --white: #FFFFFF;
  --line: rgba(233, 229, 217, 0.16);
  --font: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--beige);
  /* The website's closing glow: the brand's red, low and faint, under the page. */
  background:
    radial-gradient(ellipse 55% 60% at 50% 110%, rgba(255, 57, 36, 0.13), transparent 70%) no-repeat,
    var(--navy);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: var(--white); }

.header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 75rem;
  height: 4.5rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: inline-flex; border-radius: 0.25rem; transition: opacity 0.2s ease; }
.brand:hover { opacity: 0.75; }
.brand-logo { display: block; height: 2.4rem; width: auto; }

.language { display: flex; gap: 0.25rem; }

.language-option {
  padding: 0.4rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--beige);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
}
.language-option:hover { opacity: 1; }
.language-option[aria-pressed="true"] { border-color: rgba(233, 229, 217, 0.35); opacity: 1; }

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem var(--gutter) 6rem;
}

.chooser { width: min(100%, 44rem); }

.title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--white);
}

.rule { display: block; width: 3rem; height: 1px; margin: 1rem 0 2rem; background: var(--red); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid rgba(233, 229, 217, 0.35);
  border-radius: 0.75rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.card:hover { border-color: var(--red); background: rgba(255, 57, 36, 0.08); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.card:focus-visible { border-color: var(--red); background: rgba(255, 57, 36, 0.08); outline-offset: 2px; }

/* The last choice comes first and is marked. */
.card.is-last { order: -1; border-color: var(--red); }

.tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.tag[hidden] { display: none; }

.name { font-size: 1.5rem; color: var(--white); }
.text { flex: 1; font-size: 0.95rem; line-height: 1.45; }
.hours { font-size: 0.85rem; line-height: 1.4; opacity: 0.7; }
.go { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; }

@media (max-width: 640px) {
  .header-inner { height: 4rem; }
  .brand-logo { height: 2rem; }
  .main { align-items: flex-start; padding-top: 2.5rem; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .brand { transition: none; }
}
