:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #252923;
  background: #f6f5f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  --muted: #777a72;
  --line: #e9e7e0;
  --orange: #f36b3f;
  --paper: #fffefa;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  min-height: 72px;
  padding: 0 max(22px, calc((100vw - 1040px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  font-size: 20px;
  font-weight: 800;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0;
}

.header-link {
  color: #53574f;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.header-link span {
  margin-left: 3px;
  color: var(--orange);
}

.page-shell {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 47px 0 38px;
}

.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 8vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.intro-copy {
  max-width: 390px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.refresh-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e2d9;
  border-radius: 10px;
  background: var(--paper);
  color: #42463f;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.refresh-button:hover {
  border-color: #d2cec2;
}

.refresh-button:focus-visible,
a:focus-visible {
  outline: 3px solid #f7aa8f;
  outline-offset: 3px;
}

.refresh-icon {
  color: var(--orange);
  font-size: 17px;
  line-height: 1;
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 12px;
  color: #656960;
  font-size: 11px;
  font-weight: 700;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #85877f;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.live-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #67a779;
  box-shadow: 0 0 0 3px #e3f0e5;
}

.feed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.story {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  padding: 18px 17px 17px;
}

.story + .story {
  border-top: 1px solid var(--line);
}

.story-rank {
  padding-top: 2px;
  color: #a0a096;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.story-content {
  min-width: 0;
}

.story-title {
  color: #272a25;
  font-size: 15px;
  font-weight: 690;
  line-height: 1.4;
  letter-spacing: -0.018em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.story-title:hover {
  color: #d8522d;
}

.story-domain {
  display: inline-block;
  margin: 5px 0 0;
  color: #999b93;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  color: #82857d;
  font-size: 10px;
}

.story-meta strong {
  color: #5a5e55;
  font-weight: 700;
}

.meta-dot {
  color: #c8c6be;
}

.discussion-link {
  color: #5e6259;
  font-weight: 650;
  text-decoration: none;
}

.discussion-link:hover,
.attribution a:hover {
  color: #d8522d;
}

.state-card {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.error-card {
  flex-direction: column;
  gap: 7px;
}

.error-card strong {
  color: #3a3d37;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e8e6df;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.attribution {
  margin: 16px 2px 0;
  color: #999b93;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.attribution a {
  color: #686c63;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 600px) {
  .page-shell {
    padding-top: 60px;
  }

  .story {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 23px;
  }

  .story-title {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .site-header {
    min-height: 64px;
  }

  .page-shell {
    width: min(100% - 24px, 720px);
    padding-top: 34px;
  }

  .intro {
    margin-bottom: 25px;
  }

  .refresh-button {
    gap: 4px;
    padding: 0 9px;
  }

  .story {
    gap: 9px;
    padding: 16px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.home-page {
  --home-blue: #258bad;
  --home-blue-bright: #49b8d4;
  --home-blue-pale: #edf8fb;
  --home-ink: #193248;
  --home-muted: #607789;
  --home-line: #e6f0f4;
  background: #fff;
  color: var(--home-ink);
}

.home-header,
.home-footer {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-header {
  min-height: 86px;
  border-bottom: 1px solid var(--home-line);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.home-brand img {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.home-brand-caption {
  display: block;
  margin-top: 4px;
  color: var(--home-muted);
  font-size: 10px;
  font-weight: 450;
  letter-spacing: 0;
}

.home-nav-link,
.home-footer-link {
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.home-nav-link span,
.home-footer-link span {
  margin-left: 4px;
}

.home-nav-link:hover,
.home-footer-link:hover {
  color: var(--home-ink);
}

.home-hero,
.home-solutions {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
}

.home-hero {
  min-height: 565px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 80px;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 19px;
  color: var(--home-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.home-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-blue-bright);
  box-shadow: 0 0 0 4px var(--home-blue-pale);
}

.home-hero h1 {
  max-width: 590px;
  color: var(--home-ink);
  font-size: clamp(42px, 6.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.home-hero h1 span {
  color: var(--home-blue);
}

.home-lede {
  max-width: 480px;
  margin: 21px 0 25px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--home-blue);
  border-radius: 7px;
  background: var(--home-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.home-button:hover {
  transform: translateY(-2px);
  background: #197797;
}

.home-button:focus-visible,
.home-nav-link:focus-visible,
.home-footer-link:focus-visible,
.home-brand:focus-visible {
  outline: 3px solid #91d9e9;
  outline-offset: 4px;
}

.home-note {
  margin: 15px 0 0;
  color: #8a9caa;
  font-size: 10px;
}

.home-visual {
  position: relative;
  min-height: 370px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.visual-glow {
  position: absolute;
  z-index: -1;
  width: min(90%, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #e7f8fc 0, #f2fafc 53%, #fff 74%);
}

.visual-orbit {
  position: absolute;
  width: 285px;
  height: 150px;
  border: 1px solid #b6e7f0;
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(-30deg);
}

.orbit-two {
  width: 250px;
  height: 185px;
  border-color: #c5e9f0;
  transform: rotate(50deg);
}

.visual-core {
  position: relative;
  width: 130px;
  height: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--home-ink);
  border-radius: 24px 24px 45px 45px;
  background: linear-gradient(160deg, #fff, #effaff);
  box-shadow: 0 20px 45px #204f6617;
  transform: rotate(-8deg);
}

.core-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--home-blue-bright);
  box-shadow: 0 0 0 6px #ddf5fa;
}

.core-line {
  width: 54px;
  height: 5px;
  border-radius: 5px;
  background: #b5dce7;
}

.core-line.short {
  width: 34px;
  background: #d4eaf0;
}

.core-spark {
  position: absolute;
  top: -26px;
  right: -27px;
  color: var(--home-blue);
  font-size: 31px;
}

.visual-tag {
  position: absolute;
  padding: 10px 13px;
  border: 1px solid #e6f1f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 25px #21445c0b;
  color: #42738a;
  font-size: 10px;
  font-weight: 700;
}

.tag-ai {
  top: 18%;
  left: 4%;
}

.tag-tech {
  right: 0;
  bottom: 20%;
}

.home-solutions {
  padding: 61px 0 76px;
  border-top: 1px solid var(--home-line);
}

.section-heading {
  max-width: 610px;
  margin-bottom: 30px;
}

.section-heading .home-eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(26px, 4vw, 37px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.solution-card {
  min-height: 190px;
  padding: 21px 20px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: #fff;
}

.solution-number {
  color: var(--home-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.solution-card h3 {
  margin: 15px 0 7px;
  color: var(--home-ink);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.solution-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.7;
}

.home-footer {
  min-height: 85px;
  border-top: 1px solid var(--home-line);
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-brand {
  font-size: 11px;
}

.footer-brand .home-brand-caption {
  font-size: 9px;
}

.home-footer-link {
  font-size: 10px;
}

@media (max-width: 700px) {
  .home-header,
  .home-footer {
    width: min(100% - 32px, 1120px);
  }

  .home-header {
    min-height: 74px;
  }

  .home-brand img {
    width: 48px;
    height: 48px;
  }

  .home-hero,
  .home-solutions {
    width: min(100% - 36px, 560px);
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 64px 0 38px;
  }

  .home-hero h1 {
    max-width: 540px;
    font-size: clamp(42px, 11vw, 58px);
  }

  .home-lede {
    max-width: 500px;
    font-size: 15px;
  }

  .home-visual {
    min-height: 275px;
  }

  .visual-orbit {
    width: 245px;
    height: 125px;
  }

  .orbit-two {
    width: 220px;
    height: 160px;
  }

  .visual-core {
    transform: scale(0.86) rotate(-8deg);
  }

  .tag-ai {
    top: 12%;
    left: 8%;
  }

  .tag-tech {
    right: 3%;
    bottom: 12%;
  }

  .home-solutions {
    padding: 48px 0 55px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .solution-card {
    min-height: 0;
    padding: 18px;
  }

  .solution-card h3 {
    margin-top: 11px;
  }
}

@media (max-width: 390px) {
  .home-nav-link {
    font-size: 10px;
  }

  .home-brand {
    gap: 7px;
    font-size: 11px;
  }

  .home-brand-caption {
    font-size: 9px;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    padding: 15px 0;
  }
}
