:root {
  color-scheme: light;
  font-family: "Google Sans Flex", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #080808;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0 28px;
}

.page-shell {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 34px 0 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

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

.brand-icon {
  display: block;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  object-fit: contain;
}

.audience {
  min-height: 28px;
  margin: 0 0 1px;
  font-family: "Google Sans Flex", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.035em;
  transition: opacity 160ms ease;
}

.audience.is-changing {
  opacity: 0;
}

.wordmark {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.wordmark-primary {
  font-family: "Lexend", Arial, sans-serif;
  font-weight: 400;
}

.wordmark-secondary {
  margin-left: 0.22em;
  font-family: "Google Sans Flex", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}


.brand:focus-visible,
.category-card:focus-visible {
  outline: 3px solid #4263eb;
  outline-offset: 4px;
}


.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 48px;
  margin-top: 106px;
}

.intro-title {
  max-width: 560px;
  margin: 0;
  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(36px, 4.3vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.intro-title span {
  display: block;
}

.intro-copy {
  max-width: 440px;
  margin: 7px 0 0;
  color: #555;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 344px;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 12px 20px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #d2d2d2;
  box-shadow: 0 10px 28px rgb(0 0 0 / 4%);
}

.category-art {
  display: block;
  width: 100%;
  height: 158px;
  margin-bottom: 20px;
  border-radius: 7px;
  object-fit: cover;
}

.card-index {
  padding: 0 10px;
  color: #858585;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.card-title {
  margin: 14px 10px 8px;
  font-family: "Lexend", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.card-copy {
  max-width: 250px;
  margin: 0 10px;
  color: #666;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.author-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  margin-top: 76px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #e5e7f2;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 82% 48%, rgb(124 111 255 / 11%), transparent 36%),
    radial-gradient(ellipse at 95% 90%, rgb(72 139 255 / 9%), transparent 38%),
    linear-gradient(115deg, #fff 28%, #fafaff 100%);
  box-shadow: 0 18px 55px rgb(60 72 130 / 7%);
}

.author-copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.author-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #6258a8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.author-eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8d6bff, #579bff);
  box-shadow: 0 0 12px rgb(112 105 255 / 45%);
  content: "";
}

.author-intro {
  margin: 0 0 12px;
  color: #24243a;
  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.04em;
}

.author-description {
  max-width: 535px;
  margin: 0 0 30px;
  color: #5b5b6b;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.author-name {
  margin: 0 0 9px;
  font-family: "Lexend", Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.author-credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.author-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 340px;
  place-items: center;
}

.author-visual::before,
.author-visual::after {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.author-visual::before {
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgb(113 91 255 / 26%) 0%, rgb(93 139 255 / 17%) 42%, rgb(116 107 255 / 0%) 72%);
  filter: blur(16px);
}

.author-visual::after {
  width: 230px;
  height: 230px;
  border: 1px solid rgb(111 119 235 / 18%);
  box-shadow: 0 0 0 18px rgb(121 130 240 / 4%), 0 0 0 38px rgb(121 130 240 / 3%);
}

.author-title {
  margin: 0;
  color: #56566a;
  font-size: 13px;
  line-height: 1.4;
}

.author-title-company {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid rgb(112 106 176 / 22%);
}

.author-title-company img {
  display: block;
  width: 89px;
  height: auto;
}

.author-title-company .helian-icon {
  width: 18px;
  height: auto;
}

.author-title-company:focus-visible {
  border-radius: 2px;
  outline: 2px solid #4263eb;
  outline-offset: 4px;
}

.author-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 260px;
  height: 320px;
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 130px 130px 24px 24px;
  background: #fff;
  object-fit: cover;
  object-position: center 31%;
  box-shadow: 0 18px 48px rgb(50 53 110 / 16%);
}

.content-section {
  margin-top: 112px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-family: "Lexend", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-control {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.carousel-control:hover {
  border-color: #cfcfcf;
  background: #f8f8f8;
}

.carousel-control:focus-visible,
.source-link:focus-visible {
  outline: 3px solid #4263eb;
  outline-offset: 3px;
}

.guide-carousel {
  display: grid;
  grid-auto-columns: calc((100% - 32px) / 3);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 8px 12px 2px;
  scroll-padding-inline: 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #d2d2d2 transparent;
}

.guide-card {
  display: flex;
  min-width: 0;
  min-height: 374px;
  flex-direction: column;
  padding: 12px 12px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}

.guide-card:hover,
.news-card-link:hover {
  border-color: #d2d2d2;
  box-shadow: 0 10px 28px rgb(0 0 0 / 4%);
}

.guide-card:focus-visible,
.news-card-link:focus-visible {
  outline: 3px solid #4263eb;
  outline-offset: 3px;
}

.guide-art {
  display: block;
  width: 100%;
  height: 166px;
  margin-bottom: 18px;
  border-radius: 7px;
  object-fit: cover;
}

.guide-meta,
.news-meta {
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

.guide-meta,
.guide-title,
.guide-copy {
  margin-right: 10px;
  margin-left: 10px;
}

.guide-title {
  display: -webkit-box;
  min-height: 58px;
  margin-top: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  font-family: "Lexend", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.04em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guide-copy {
  margin: 0;
  margin-right: 10px;
  margin-left: 10px;
  color: #666;
  font-size: 15px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: flex;
  min-height: 225px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
}

.news-card-link {
  display: flex;
  min-height: 225px;
  flex-direction: column;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.news-card h3 {
  margin: 20px 0 10px;
  font-family: "Lexend", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.news-card p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.55;
}

.news-card > .news-meta:last-child {
  margin-top: auto;
  padding-top: 18px;
}

.source-link {
  color: #333;
  text-decoration: underline;
  text-decoration-color: #c9c9c9;
  text-underline-offset: 3px;
}

.source-link:hover {
  text-decoration-color: currentColor;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 112px;
  padding: 26px 0 34px;
  border-top: 1px solid #e8e8e8;
  color: #707070;
  font-size: 14px;
  line-height: 1.5;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #080808;
  text-decoration: none;
}

.footer-brand .brand-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.footer-brand .wordmark {
  font-size: 20px;
}

.footer-note {
  margin: 0;
}

.footer-back {
  color: #333;
  text-decoration: underline;
  text-decoration-color: #c9c9c9;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  body {
    padding: 0 22px;
  }

  .site-header {
    justify-content: center;
    padding-top: 25px;
  }

  .brand {
    align-items: center;
    text-align: center;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 76px;
  }

  .intro-title {
    max-width: 100%;
  }

  .intro-title span {
    display: inline;
  }

  .intro-title span + span::before {
    content: " ";
  }

  .intro-copy {
    max-width: 520px;
    margin-top: 0;
  }

  .categories {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .category-card {
    min-height: 322px;
  }

  .category-art {
    height: 158px;
  }

  .author-card {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 52px;
    padding: 28px 20px 30px;
    text-align: center;
  }

  .author-copy {
    max-width: none;
  }

  .author-description {
    margin-right: auto;
    margin-left: auto;
  }

  .author-credentials {
    flex-direction: column;
    gap: 10px;
  }

  .author-title-company {
    padding-left: 0;
    border-left: 0;
  }

  .author-visual {
    order: -1;
    min-height: 200px;
  }

  .author-visual::before {
    width: 200px;
    height: 200px;
  }

  .author-visual::after {
    width: 160px;
    height: 160px;
    box-shadow: 0 0 0 12px rgb(121 130 240 / 4%), 0 0 0 24px rgb(121 130 240 / 3%);
  }

  .author-photo {
    width: 150px;
    height: 180px;
    border-radius: 75px 75px 18px 18px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
    margin-top: 78px;
    text-align: center;
  }

  .content-section {
    margin-top: 78px;
  }

  .guide-carousel {
    grid-auto-columns: 100%;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  body {
    padding: 0 18px;
  }

  .audience {
    min-height: 25px;
    font-size: 18px;
  }

  .wordmark {
    font-size: 25px;
  }

  .brand-main {
    gap: 6px;
  }

  .brand-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }


  .intro {
    margin-top: 64px;
  }

  .intro-title {
    font-size: 36px;
  }

  .intro-copy {
    font-size: 17px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-heading-row {
    margin-bottom: 18px;
  }

  .news-card {
    min-height: 210px;
  }

  .news-card-link {
    min-height: 210px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
  
