@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");

:root {
  color-scheme: light;
  --background: #f5f6f2;
  --paper: #fff;
  --ink: #253d33;
  --muted: #79817b;
  --line: #e6e9e2;
  --green: #487b57;
  --mint: #eaf0df;
  --radius: 20px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #63916c;
  outline-offset: 4px;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
.page-shell {
  max-width: 1392px;
  margin: auto;
  padding: 0 52px;
}
.site-header {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe5dc;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1.1px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  position: relative;
  background: var(--ink);
  border-radius: 12px;
  color: #e8f2d6;
  font:
    italic 38px/42px Georgia,
    serif;
  text-align: center;
  padding-right: 7px;
}
.brand-mark span {
  font:
    22px Georgia,
    serif;
  position: absolute;
  right: 5px;
  top: 1px;
}
.brand-weather {
  font-weight: 500;
  margin-left: 5px;
  color: #7d877b;
}
.header-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}
.station-label {
  color: #717d71;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.small-dot {
  width: 6px;
  height: 6px;
  background: #8d9e83;
  border-radius: 50%;
}
.unit-switch,
.range-switch {
  display: flex;
  background: #e9ece5;
  padding: 4px;
  border-radius: 10px;
  gap: 2px;
}
.unit-switch button,
.range-switch button {
  border: 0;
  background: transparent;
  color: #707a70;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  min-width: 38px;
}
.unit-switch button[aria-pressed="true"],
.range-switch button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 4px #223b2510;
  color: var(--ink);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 46px 0 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #7e8b76;
  margin: 0 0 12px;
}
h1 {
  font:
    600 clamp(28px, 3.1vw, 41px) / 1.2 Manrope,
    sans-serif;
  letter-spacing: -1.7px;
  margin: 0;
}
h1 em {
  font:
    italic 1.1em Georgia,
    serif;
  font-weight: 400;
  color: #698064;
}
.intro {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}
.connection {
  text-align: right;
  padding-top: 16px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #737f71;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #8ca47b16;
}
.status.live {
  color: #4d8358;
}
.status.stale {
  color: #a57732;
}
.status.offline {
  color: #a36455;
}
.connection p {
  font-size: 10px;
  color: var(--muted);
  margin: 9px 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: #75846f;
  padding: 2px 0;
  font-size: 10px;
}
.notice {
  background: #faf0df;
  border: 1px solid #eadcc6;
  border-radius: 10px;
  color: #846238;
  padding: 14px 18px;
  font-size: 12px;
  margin-bottom: 20px;
}
.overview {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr;
  gap: 20px;
}
.card,
.current-card {
  border-radius: var(--radius);
  padding: 25px 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.current-card {
  background: #e9efde;
  border-color: #e0e7d4;
  overflow: hidden;
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h2,
h3 {
  font:
    650 14px/1.4 Manrope,
    sans-serif;
  letter-spacing: -0.3px;
  margin: 0;
}
.pill {
  border: 1px solid #cbd7bc;
  border-radius: 20px;
  padding: 5px 8px;
  color: #7a896b;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.current-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 141px;
  gap: 8px;
}
.temperature {
  margin: 0;
  font:
    500 76px/1.1 Manrope,
    sans-serif;
  letter-spacing: -4px;
  white-space: nowrap;
}
.temperature-unit {
  font-size: 31px;
  letter-spacing: -1px;
  vertical-align: top;
  display: inline-block;
  padding-top: 13px;
  margin-left: 4px;
  color: #5a6f50;
}
.condition-summary {
  font-size: 11px;
  margin: 8px 0 0;
  color: #6c7d61;
}
.current-details {
  border-top: 1px solid #d2ddc6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 18px;
}
.metric-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: #7a876e;
}
.current-details p {
  margin: 7px 0 0;
  font:
    600 18px Manrope,
    sans-serif;
  letter-spacing: -0.5px;
}
.metric-unit {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #869080;
}
.card-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #84937c;
  font-size: 24px;
}
.sun-icon {
  font-size: 30px;
}
.large-metric {
  font:
    500 36px/1.2 Manrope,
    sans-serif;
  letter-spacing: -1.6px;
  margin: 24px 0 7px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
  line-height: 1.5;
}
.wind-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 139px;
  gap: 7px;
}
.wind-content .large-metric {
  margin-top: 0;
  white-space: nowrap;
}
.compass {
  width: 93px;
  height: 93px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #e9ece5;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -1deg,
    #e3e8dd 0deg 1deg,
    transparent 1deg 30deg
  );
  box-shadow: inset 0 0 0 7px #fff;
}
.compass:before {
  content: "";
  position: absolute;
  inset: 14px;
  background: #f6f8f2;
  border-radius: 50%;
  border: 1px solid #e8ece1;
}
.compass > span:not(.compass-center) {
  position: absolute;
  font-size: 7px;
  color: #a0ab98;
  background: white;
  padding: 1px;
}
.north {
  top: -4px;
  left: 42px;
}
.east {
  right: -3px;
  top: 41px;
}
.south {
  bottom: -4px;
  left: 42px;
}
.west {
  left: -4px;
  top: 41px;
}
.needle {
  position: absolute;
  inset: 20px 40px;
  transform: rotate(0);
  opacity: 0;
}
.needle:before,
.needle:after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}
.needle:before {
  top: 0;
  border-bottom: 27px solid #63835d;
}
.needle:after {
  bottom: 0;
  border-top: 27px solid #d5dfc9;
}
.compass-center {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 43px;
  top: 43px;
}
.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #8a9185;
  border-top: 1px solid #eef0eb;
  padding-top: 13px;
  margin-top: 13px;
  gap: 8px;
}
.mini-row strong {
  font-weight: 500;
  color: #4a5b43;
  white-space: nowrap;
}
.wind-card .mini-row {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 7px;
}
.uv-track {
  margin-top: 25px;
  position: relative;
  height: 5px;
  border-radius: 9px;
  background: linear-gradient(
    90deg,
    #b6cca1 0%,
    #d1d792 25%,
    #e3cc8b 45%,
    #d9ad83 70%,
    #b49db3 100%
  );
}
.uv-track span {
  display: none;
  position: absolute;
  top: -3px;
  width: 5px;
  height: 11px;
  background: #3f5936;
  border: 1px solid white;
  border-radius: 4px;
  transform: translateX(-50%);
}
.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #a0a696;
  margin-top: 7px;
}
.solar-radiation {
  margin-top: 24px;
}
.weather-art {
  position: relative;
  width: 146px;
  height: 110px;
  flex-shrink: 0;
}
.sun {
  width: 60px;
  height: 60px;
  position: absolute;
  right: 25px;
  top: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, #f7dc91, #edbf5b);
  box-shadow: 0 0 25px #f1d58a30;
}
.sun-ring {
  position: absolute;
  right: 13px;
  top: -2px;
  width: 84px;
  height: 84px;
  border: 1px solid #c7d4b5;
  border-radius: 50%;
}
.cloud {
  position: absolute;
  width: 102px;
  height: 32px;
  bottom: 17px;
  left: 10px;
  border-radius: 30px;
  background: linear-gradient(#fafff5, #edf3e4);
  filter: drop-shadow(1px 4px 4px #6b855e12);
}
.cloud:before,
.cloud:after {
  content: "";
  position: absolute;
  background: #f8fff1;
  border-radius: 50%;
}
.cloud:before {
  width: 45px;
  height: 45px;
  left: 14px;
  top: -23px;
}
.cloud:after {
  width: 32px;
  height: 32px;
  left: 49px;
  top: -14px;
}
.cloud-back {
  transform: scale(0.7);
  bottom: 37px;
  left: 41px;
  opacity: 0.6;
}
.history-layout {
  display: grid;
  grid-template-columns: 2.73fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.history-topline .muted {
  margin-top: 6px;
}
.range-switch button {
  padding: 6px 11px;
  font-size: 10px;
  min-width: 32px;
}
.chart-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #7b8873;
  margin-top: 25px;
}
.legend-dot {
  width: 6px;
  height: 6px;
  background: #6d8c54;
  border-radius: 50%;
}
.chart-extremes {
  margin-left: auto;
  color: #9aab8e;
  font-size: 9px;
}
.chart-extremes strong {
  font-weight: 500;
  color: #617951;
  margin-left: 4px;
}
.chart-extremes > span {
  margin: 0 8px;
  color: #b7c1ae;
}
.chart {
  height: 206px;
  margin-top: 11px;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart text {
  font:
    9px "DM Sans",
    sans-serif;
  fill: #9ba595;
}
.chart-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #96a18e;
  font-size: 12px;
  margin: 0;
  padding: 30px;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eef0e9;
  padding-top: 14px;
  font-size: 9px;
  color: #99a18f;
  margin-top: 8px;
}
.rain-card .large-metric {
  margin-top: 23px;
}
.rain-bars {
  height: 25px;
  display: flex;
  align-items: end;
  gap: 8px;
  opacity: 0.45;
  margin: 15px 0 10px;
}
.rain-bars i {
  flex: 1;
  background: #c7d8bc;
  height: 1px;
  border-radius: 3px;
}
.rain-card .mini-row {
  margin-top: 12px;
  padding-top: 11px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 35px 0 18px;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.section-heading h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
}
.section-heading > .muted {
  font-size: 10px;
}
.sensor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
}
.sensor-card {
  position: relative;
  padding: 22px 25px;
}
.sensor-symbol {
  position: absolute;
  right: 25px;
  top: 19px;
  color: #a0af92;
  font-size: 24px;
}
.sensor-card h3 {
  font-size: 12px;
  font-weight: 500;
  color: #6e8064;
}
.sensor-value {
  font:
    500 29px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 22px 0 4px;
}
.sensor-card .muted {
  font-size: 10px;
}
.pool-card {
  background: #eff4ed;
  border-color: #e1e9dc;
}
.soil-card {
  padding: 22px 25px;
}
.soil-card h3 {
  font-size: 12px;
  font-weight: 500;
  color: #6e8064;
}
.soil-card .card-topline .muted {
  font-size: 9px;
}
.soil-readings {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 24px;
}
.soil-readings > div {
  flex: 1;
  min-width: 0;
}
.soil-readings > div > span {
  font-size: 8px;
  color: #98a48e;
}
.soil-track {
  height: 5px;
  background: #ecf0e7;
  border-radius: 5px;
  margin: 10px 0 13px;
  overflow: hidden;
}
.soil-track i {
  display: block;
  width: 0;
  background: #9ab486;
  height: 100%;
  border-radius: 5px;
}
.soil-readings strong {
  font:
    500 16px Manrope,
    sans-serif;
  color: #617554;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dfe5da;
  margin-top: 36px;
  padding: 23px 0 30px;
  color: #94a08c;
  gap: 14px;
  font-size: 9px;
}
footer a {
  color: #71836a;
}
footer a:hover {
  color: var(--ink);
}
footer a span {
  margin-left: 6px;
}
@media (min-width: 1450px) {
  .page-heading {
    margin-top: 52px;
    margin-bottom: 38px;
  }
  .overview .card,
  .current-card {
    padding: 29px;
  }
  .current-main {
    min-height: 160px;
  }
  .wind-content {
    min-height: 158px;
  }
  .temperature {
    font-size: 84px;
  }
  .chart {
    height: 230px;
  }
  .section-heading {
    margin-top: 40px;
  }
}
@media (max-width: 1100px) {
  .page-shell {
    padding: 0 30px;
  }
  .overview {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 14px;
  }
  .card,
  .current-card {
    padding: 21px;
  }
  .temperature {
    font-size: 62px;
  }
  .temperature-unit {
    font-size: 25px;
  }
  .weather-art {
    width: 100px;
    transform: scale(0.85);
    transform-origin: right center;
    margin-left: -20px;
  }
  .pill {
    font-size: 6px;
  }
  .compass {
    transform: scale(0.8);
    margin: -9px;
  }
  .wind-content .large-metric {
    font-size: 30px;
  }
  .history-layout {
    grid-template-columns: 2.5fr 1fr;
    gap: 14px;
  }
  .sensor-grid {
    gap: 14px;
  }
  .soil-readings {
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .large-metric {
    font-size: 32px;
  }
}
@media (max-width: 800px) {
  .page-shell {
    padding: 0 22px;
  }
  .site-header {
    height: 88px;
  }
  .station-label {
    display: none;
  }
  .page-heading {
    margin: 32px 0 25px;
    gap: 16px;
  }
  h1 {
    font-size: 31px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .connection {
    max-width: 170px;
    flex-shrink: 0;
  }
  .overview {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .current-card {
    grid-column: 1/-1;
  }
  .current-main {
    min-height: 154px;
  }
  .temperature {
    font-size: 85px;
  }
  .temperature-unit {
    font-size: 33px;
  }
  .weather-art {
    width: 170px;
    transform: scale(1.2);
    margin-right: 12px;
  }
  .current-details {
    padding-top: 20px;
  }
  .current-details p {
    font-size: 22px;
  }
  .wind-content {
    min-height: 126px;
  }
  .compass {
    transform: none;
    margin: 0;
  }
  .wind-content .large-metric {
    font-size: 37px;
  }
  .history-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .rain-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
  }
  .rain-card .card-topline {
    grid-column: 1/-1;
  }
  .rain-card > .large-metric {
    grid-column: 1/3;
    margin-top: 15px;
  }
  .rain-card > .muted {
    grid-column: 1/3;
    grid-row: 3;
  }
  .rain-bars {
    display: none;
  }
  .rain-card .mini-row {
    grid-row: 4;
    flex-direction: column;
    align-items: start;
    gap: 9px;
    padding-top: 16px;
    margin-top: 18px;
  }
  .sensor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .soil-card {
    grid-column: 1/-1;
  }
  .soil-readings {
    margin-top: 20px;
    margin-bottom: 3px;
  }
  .section-heading > .muted {
    max-width: 100px;
    text-align: right;
  }
  footer {
    font-size: 8px;
    flex-wrap: wrap;
  }
  footer > span {
    order: 3;
    flex-basis: 100%;
    margin-top: 2px;
  }
}
@media (max-width: 480px) {
  .page-shell {
    padding: 0 16px;
  }
  .site-header {
    height: 78px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .brand-mark {
    transform: scale(0.9);
  }
  .unit-switch button {
    padding: 6px 8px;
    min-width: 30px;
  }
  .page-heading {
    display: block;
    margin: 28px 0 22px;
  }
  h1 {
    font-size: 30px;
  }
  .intro {
    font-size: 12px;
  }
  .connection {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: none;
    text-align: left;
    padding-top: 20px;
    flex-wrap: wrap;
  }
  .connection p {
    margin: 0;
    font-size: 9px;
  }
  .connection .text-button {
    margin-left: auto;
  }
  .status {
    font-size: 10px;
  }
  .overview {
    gap: 12px;
  }
  .card,
  .current-card {
    padding: 19px;
  }
  .card h2 {
    font-size: 12px;
  }
  .current-main {
    min-height: 146px;
  }
  .temperature {
    font-size: 76px;
  }
  .weather-art {
    width: 130px;
    transform: scale(0.95);
    margin-right: 0;
  }
  .metric-label {
    font-size: 7px;
  }
  .current-details p {
    font-size: 19px;
  }
  .wind-content {
    display: block;
    min-height: 145px;
  }
  .wind-content .large-metric {
    font-size: 31px;
    margin-top: 17px;
  }
  .wind-content .muted {
    font-size: 9px;
  }
  .compass {
    position: absolute;
    width: 65px;
    height: 65px;
    transform: scale(0.63);
    right: 2px;
    bottom: 67px;
    transform-origin: center;
  }
  .wind-card {
    position: relative;
  }
  .wind-content {
    padding-bottom: 52px;
  }
  .compass {
    width: 93px;
    height: 93px;
  }
  .mini-row {
    font-size: 9px;
  }
  .mini-row .metric-unit {
    font-size: 8px;
  }
  .wind-card .mini-row {
    padding-top: 10px;
    padding-bottom: 5px;
  }
  .solar-card .large-metric {
    font-size: 33px;
  }
  .solar-card .large-metric .metric-unit {
    display: block;
    margin-top: 5px;
  }
  .solar-card > .muted {
    font-size: 10px;
  }
  .uv-track {
    margin-top: 28px;
  }
  .solar-radiation {
    display: block;
    margin-top: 34px;
    padding-top: 10px;
  }
  .solar-radiation strong {
    display: block;
    margin-top: 6px;
  }
  .history-topline {
    align-items: start;
    gap: 8px;
  }
  .history-topline h2 {
    max-width: 140px;
  }
  .history-topline .muted {
    font-size: 9px;
  }
  .range-switch {
    padding: 3px;
  }
  .range-switch button {
    min-width: 27px;
    padding: 6px 7px;
  }
  .chart-summary {
    font-size: 9px;
  }
  .chart-extremes {
    font-size: 8px;
  }
  .chart-extremes > span {
    margin: 0 3px;
  }
  .chart {
    height: 185px;
  }
  .chart-footer {
    font-size: 8px;
  }
  .rain-card {
    column-gap: 12px;
  }
  .rain-card .mini-row {
    font-size: 9px;
  }
  .sensor-grid {
    gap: 12px;
  }
  .sensor-card {
    padding: 20px;
  }
  .sensor-symbol {
    right: 17px;
  }
  .soil-readings {
    gap: 15px;
  }
  .soil-readings strong {
    font-size: 15px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading > .muted {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      color 0.15s,
      background 0.15s;
  }
  .needle {
    transition: transform 0.8s ease;
  }
  .soil-track i {
    transition: width 0.6s ease;
  }
}
