/* Halcyon Weather: server-rendered city pages. Light, fast, readable. */
:root {
  --ink: #13203f;
  --ink-2: #4a5677;
  --ink-3: #7a84a0;
  --line: #e3e8f2;
  --accent: #9a5b12;
  --bg: #f4f7fc;
  --card: #ffffff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg, #cfe2f7 0, var(--bg) 340px);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

a {
  color: var(--accent);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.cta {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: #13203f;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.cta.big {
  padding: 13px 22px;
  background: linear-gradient(135deg, #e9b46a, #d98f4a);
  color: #2a1a06;
  font-size: 16px;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 4px 18px 40px;
}

.crumbs {
  color: var(--ink-3);
  font-size: 14px;
}

.crumbs a {
  color: var(--ink-2);
}

h1 {
  margin: 10px 0 4px;
  font: 400 clamp(30px, 6vw, 44px) / 1.1 Georgia, 'Times New Roman', serif;
  letter-spacing: -0.01em;
}

h2 {
  margin: 34px 0 10px;
  font: 400 24px/1.2 Georgia, 'Times New Roman', serif;
}

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

.sub {
  margin: 0 0 18px;
  color: var(--ink-2);
}

section {
  margin-top: 8px;
}

.now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 30px rgb(30 45 80 / 0.08), inset 0 0 0 1px var(--line);
}

.now p {
  margin: 2px 0;
}

.temp {
  margin: 0;
  font-weight: 250;
  font-size: 84px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.temp small {
  margin-left: 2px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
  vertical-align: top;
}

.cond {
  font-size: 22px;
  font-weight: 600;
}

.source {
  color: var(--ink-3);
  font-size: 13px;
}

.open {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 14px 0 0;
}

.get {
  margin: 22px 0 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgb(19 32 63 / 0.06);
}

.get p {
  margin: 0;
}

.ghost {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
}

.aqi strong {
  font-size: 28px;
  font-weight: 600;
  margin-right: 6px;
}

.table {
  overflow-x: auto;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group h3 {
  margin-top: 18px;
  color: var(--ink-2);
}

.faq p {
  margin: 0;
  color: var(--ink-2);
}

.foot {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 18px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}
