:root {
  color-scheme: dark;
  --black: #000;
  --surface: #08080a;
  --surface-raised: #0d0d11;
  --surface-hover: #13131a;
  --text: #f5f5f7;
  --muted: #9a9aa5;
  --faint: #666672;
  --line: #202027;
  --line-bright: #34343f;
  --violet: #a78bfa;
  --violet-bright: #c4b5fd;
  --cyan: #67e8f9;
  --green: #86efac;
  --max-width: 1160px;
  --reading-width: 760px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgb(0 0 0 / 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line-bright) var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 5%, rgb(124 58 237 / 0.12), transparent 26rem),
    radial-gradient(circle at 10% 42%, rgb(8 145 178 / 0.07), transparent 30rem);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--violet);
  color: #08030f;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--black);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  background: rgb(0 0 0 / 0.8);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-wrap,
.shell,
.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 20px var(--violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-raised);
  color: var(--text);
}

.nav-links .nav-source {
  margin-left: 6px;
  border: 1px solid var(--line);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  margin-block: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  min-height: min(760px, calc(100svh - 76px));
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  padding-block: clamp(72px, 10vw, 132px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--violet-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 7.7rem);
  font-weight: 820;
  letter-spacing: -0.07em;
}

.accent-text {
  background: linear-gradient(105deg, var(--violet-bright), var(--cyan));
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line-bright);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  border-color: var(--faint);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: var(--text);
  color: #050505;
}

.button-primary:hover {
  border-color: transparent;
  background: var(--violet-bright);
}

.arrow {
  transition: transform 160ms ease;
}

a:hover .arrow {
  transform: translateX(3px);
}

.portrait-stage {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
}

.portrait-stage::before,
.portrait-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.portrait-stage::before {
  inset: 2%;
  border: 1px solid var(--line);
}

.portrait-stage::after {
  inset: 12%;
  background: radial-gradient(circle at 35% 30%, rgb(167 139 250 / 0.3), rgb(103 232 249 / 0.05) 50%, transparent 68%);
  filter: blur(14px);
}

.portrait {
  position: relative;
  z-index: 1;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid var(--line-bright);
  border-radius: 35%;
  box-shadow: var(--shadow), 0 0 80px rgb(124 58 237 / 0.16);
  object-fit: cover;
  transform: rotate(3deg);
}

.orbit-dot {
  position: absolute;
  z-index: 2;
  top: 10%;
  right: 16%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.status-pill {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgb(8 8 10 / 0.9);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  content: "";
}

.section {
  padding-block: clamp(76px, 10vw, 132px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.text-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.text-link:hover {
  color: var(--text);
}

.post-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.post-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, color 180ms ease;
}

.post-card:hover {
  padding-inline: 14px;
}

.post-date {
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 720;
  letter-spacing: -0.035em;
}

.post-card p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.post-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.post-card:hover .post-arrow {
  border-color: var(--violet);
  color: var(--violet-bright);
  transform: rotate(-35deg);
}

.interest-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.interest-card,
.link-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.interest-card {
  min-height: 210px;
  padding: 28px;
}

.card-number {
  display: block;
  margin-bottom: 54px;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.interest-card h3 {
  margin-bottom: 9px;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.interest-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding-block: clamp(92px, 13vw, 168px) clamp(70px, 9vw, 112px);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
}

.page-lead {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
}

.toolbox-hero {
  padding-bottom: clamp(60px, 8vw, 92px);
}

.toolbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.toolbox-meta span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-note {
  max-width: 260px;
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 0.86rem;
  text-align: right;
}

.tool-list {
  display: grid;
  gap: 24px;
}

.tool-card {
  position: relative;
  padding: clamp(26px, 4.5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface) 62%);
  overflow: hidden;
}

.tool-card::before {
  position: absolute;
  top: -130px;
  right: -90px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgb(167 139 250 / 0.08);
  content: "";
  filter: blur(10px);
  pointer-events: none;
}

.tool-card-yamtrack::before {
  background: rgb(103 232 249 / 0.07);
}

.tool-card-topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(34px, 6vw, 62px);
}

.tool-index,
.honest-note-label {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgb(134 239 172 / 0.28);
  border-radius: 999px;
  background: rgb(134 239 172 / 0.06);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.recommendation-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.tool-intro {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  max-width: 900px;
  margin-bottom: 32px;
}

.tool-monogram {
  display: grid;
  width: clamp(68px, 9vw, 92px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(167 139 250 / 0.38);
  border-radius: 25%;
  background: linear-gradient(145deg, rgb(167 139 250 / 0.18), rgb(103 232 249 / 0.04));
  color: var(--violet-bright);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 28px rgb(167 139 250 / 0.08);
}

.tool-card-yamtrack .tool-monogram {
  border-color: rgb(103 232 249 / 0.32);
  background: linear-gradient(145deg, rgb(103 232 249 / 0.15), rgb(167 139 250 / 0.04));
  color: var(--cyan);
}

.tool-intro h3 {
  margin-bottom: 8px;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  letter-spacing: -0.06em;
}

.tool-tagline {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.tool-verdict {
  position: relative;
  max-width: 890px;
  margin-bottom: clamp(34px, 5vw, 52px);
  color: #cfcfd5;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.tool-verdict strong {
  color: var(--text);
}

.tool-details {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(30px, 6vw, 74px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.tool-details h4 {
  margin: 0 0 18px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  content: "";
  box-shadow: 0 0 12px rgb(167 139 250 / 0.55);
}

.tool-card-yamtrack .feature-list li::before {
  background: var(--cyan);
  box-shadow: 0 0 12px rgb(103 232 249 / 0.45);
}

.honest-note {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgb(0 0 0 / 0.25);
}

.honest-note-label {
  display: block;
  margin-bottom: 10px;
  color: var(--violet-bright);
}

.tool-card-yamtrack .honest-note-label {
  color: var(--cyan);
}

.honest-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.tool-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.tool-source {
  margin-left: auto;
  padding: 10px 0;
}

.research-note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--faint);
  font-size: 0.78rem;
  text-align: center;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(40px, 8vw, 110px);
}

.about-photo {
  width: 100%;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  filter: saturate(0.85);
}

.about-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.about-copy > p {
  color: #c5c5cc;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.info-card {
  padding: 22px;
}

.info-card strong {
  display: block;
  margin-bottom: 5px;
}

.link-grid {
  grid-template-columns: repeat(2, 1fr);
}

.link-card {
  position: relative;
  min-height: 190px;
  padding: 26px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.link-card:hover {
  border-color: var(--line-bright);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.link-card::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  content: "";
}

.link-label {
  display: block;
  margin-bottom: 42px;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-card h2 {
  margin-bottom: 8px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.link-card p {
  max-width: 80%;
  margin-bottom: 0;
  color: var(--muted);
}

.link-card .post-arrow {
  position: absolute;
  z-index: 1;
  right: 22px;
  top: 22px;
}

.link-card:hover .post-arrow {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(-35deg);
}

.article-header {
  width: min(calc(100% - 40px), 980px);
  margin-inline: auto;
  padding-block: clamp(92px, 13vw, 160px) 54px;
}

.article-header h1 {
  font-size: clamp(3rem, 7.5vw, 6.6rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.article-meta img {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  object-fit: cover;
}

.meta-dot::before {
  margin-right: 12px;
  color: var(--faint);
  content: "•";
}

.article-cover {
  width: min(calc(100% - 40px), var(--max-width));
  max-height: 720px;
  margin: 0 auto clamp(64px, 9vw, 112px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  object-fit: cover;
}

.article-cover.portrait-cover {
  width: min(calc(100% - 40px), 620px);
  object-fit: contain;
}

.article-body {
  width: min(calc(100% - 40px), var(--reading-width));
  margin-inline: auto;
  padding-bottom: clamp(72px, 10vw, 130px);
  color: #c7c7ce;
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
}

.article-body p {
  margin-bottom: 1.65em;
}

.article-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgb(103 232 249 / 0.4);
  text-underline-offset: 3px;
}

.article-body figure {
  margin: 46px 0;
}

.article-body figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.82rem;
  text-align: center;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.tag {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--violet-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 700px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.profile-card img {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  object-fit: cover;
}

.profile-card h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
  letter-spacing: -0.035em;
}

.profile-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.empty-state {
  display: grid;
  min-height: calc(100svh - 76px);
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.error-code {
  margin-bottom: 0;
  color: var(--violet);
  font-size: clamp(7rem, 24vw, 16rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.09em;
}

.empty-state h1 {
  margin: 28px 0 14px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.empty-state p {
  max-width: 480px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--faint);
  font-size: 0.86rem;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 840px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgb(8 8 10 / 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .nav-links .nav-source {
    margin-top: 4px;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: 2;
  }

  .portrait-stage {
    width: min(78vw, 390px);
    margin-inline: auto;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 30px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .tool-details {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: min(100%, 480px);
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .shell,
  .footer-inner,
  .article-header,
  .article-body,
  .article-cover {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-wrap {
    min-height: 68px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.75rem);
  }

  .section-head,
  .footer-inner,
  .article-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-card {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .post-date {
    grid-column: 1 / -1;
  }

  .post-card p {
    display: none;
  }

  .link-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .tool-intro {
    grid-template-columns: 1fr;
  }

  .tool-source {
    width: 100%;
    margin-left: 0;
  }

  .section-note {
    text-align: left;
  }

  .link-card {
    min-height: 170px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-block: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
