/* Force light rendering */
html { color-scheme: light; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  background: #f6f7fb;
  color: #0f172a;
}

/* Palette chosen specifically to avoid PoM dark/blue/orange vibe */
:root{
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #5b6475;
  --line: #e6e8ef;
  --soft: #f2f4fa;
  --accent: #2a6f6f;   /* muted teal */
  --accent2: #215a5a;  /* hover */
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Skip link */
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:18px; top:12px; width:auto; height:auto;
  padding:8px 10px; background:var(--panel); border:1px solid var(--line); border-radius:10px;
  z-index:999;
}

/* Header */
.header{
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 22px 0 16px;
}

.topline{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand{
  display:flex;
  gap: 12px;
  align-items: center;
}

.logo{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  letter-spacing: .5px;
  background: #fbfcff;
}

.sitename{ font-weight: 900; font-size: 16px; }
.tagline{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.reviewed{
  text-align: right;
}
.reviewed .label{
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.reviewed .date{
  font-weight: 800;
  font-size: 13px;
}

.header h1{
  margin: 14px 0 8px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.lede{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 78ch;
}

.pillrow{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.pill{
  font-size: 12px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
}

.nav{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.nav a:hover{
  border-color: #cfd6e6;
  color: var(--accent2);
}

/* Sections */
.section{
  padding: 18px 0;
}

.sectionhead{
  margin: 0 0 10px;
}

.sectionhead h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.1px;
}

.sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Cards (category containers) */
.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.cardtop{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 10px;
}

.cardtitle{
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.cardnote{
  color: var(--muted);
  font-size: 13px;
}

/* Rows (table-like, but not a full table) */
.rows{
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.row{
  display:grid;
  grid-template-columns: 180px 1fr 160px 140px 110px;
  gap: 12px;
  padding: 12px 12px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.row:first-child{ border-top: none; }

.headerrow{
  background: #fbfcff;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .35px;
  font-weight: 800;
}

.store{ font-weight: 900; }

.badge{
  display:inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid #cfe3df;
  background: #eef7f5;
  color: var(--accent2);
  font-weight: 800;
}

/* Highlight a row subtly (not loud) */
.featured{
  background: #f7fbfa;
}

/* Code pill */
.code{
  display:inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.muted{ color: var(--muted); }

.out{
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.out:hover{ color: var(--accent2); text-decoration: underline; }

/* Email area */
.twocol{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px){
  .twocol{ grid-template-columns: 1fr 1fr; }
}

h3{
  margin: 0 0 6px;
  font-size: 15px;
}

.email{
  margin: 6px 0 10px;
  font-weight: 900;
}
.email a{
  color: var(--accent);
  text-decoration: none;
}
.email a:hover{ text-decoration: underline; }

ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
li{ margin: 6px 0; }

/* Fine print */
.fine{
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.footer{
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid transparent;
}

/* Responsive: collapse columns on small screens */
@media (max-width: 860px){
  .row{
    grid-template-columns: 1fr;
  }
  .headerrow{
    display:none;
  }
  .row > div{
    padding: 2px 0;
  }
}
