:root {
  --black: #000;
  --ink: #222;
  --muted: #7a7a7a;
  --soft: #f4f4f4;
  --line: #e5e5e5;
  --yellow: rgb(254, 199, 71);
  --coral: rgb(255, 133, 98);
  --footer: #111;
  --page-width: 1200px;
  --article-width: 700px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 300;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), var(--page-width));
  transform: translateX(-50%);
}

.header-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-pill,
.desktop-nav,
.contact-pill {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
  backdrop-filter: blur(12px);
}

.brand-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 20px 12px 17px;
}

.brand-pill img,
.footer-brand img {
  object-fit: contain;
}

.brand-name {
  color: #222;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-domain {
  color: #888;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 56px;
  padding: 0 22px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.desktop-nav > a,
.nav-trigger {
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-trigger:hover,
.desktop-nav > a:focus-visible,
.nav-trigger:focus-visible {
  color: var(--coral);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 56px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: -15px;
  display: grid;
  min-width: 190px;
  padding: 9px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 9px 11px;
  border-radius: 10px;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: var(--soft);
  color: var(--coral);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.contact-pill {
  display: grid;
  flex: 0 0 auto;
  min-height: 56px;
  align-content: center;
  padding: 8px 19px;
  text-align: center;
  color: #222;
}

.contact-pill strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-pill small {
  margin-top: 1px;
  color: #777;
  font-size: 10px;
}

.header-mobile {
  display: none;
}

.site-main {
  min-height: 50vh;
  padding: 156px 24px 110px;
}

.article-shell {
  width: min(100%, var(--article-width));
  margin: 0 auto;
}

.index-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 34px;
  color: #8c8c8c;
  font-size: 13px;
  line-height: 1.45;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 25px;
  color: var(--black);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.23;
}

.lead {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.article-meta {
  margin-bottom: 50px;
  color: #999;
  font-size: 14px;
  line-height: 1.5;
}

.article-body,
.faq {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}

.article-body p,
.faq-answer p {
  margin: 0 0 28px;
}

.article-body a,
.faq-answer a,
.author-block a {
  color: var(--coral);
}

.article-body a:hover,
.article-body a:focus-visible,
.faq-answer a:hover,
.faq-answer a:focus-visible,
.author-block a:hover,
.author-block a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

strong {
  font-weight: 600;
}

.article-body h2,
.faq h2,
.related h2 {
  margin: 64px 0 25px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.article-body h3 {
  margin: 43px 0 20px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.article-body ul,
.article-body ol {
  margin: -7px 0 32px;
  padding-left: 27px;
}

.article-body li {
  padding-left: 3px;
}

.article-body li + li {
  margin-top: 3px;
}

.media-figure {
  margin: 38px auto;
  text-align: center;
}

.media-figure img,
.media-figure video {
  margin: 0 auto;
  border-radius: 0;
}

.media-figure figcaption {
  max-width: 100%;
  margin: 10px auto 0;
  color: #888;
  font-size: 14px;
  line-height: 1.4;
}

.article-cover {
  margin-top: 0;
  margin-bottom: 55px;
}

blockquote {
  position: relative;
  margin: 40px 0;
  padding: 40px 56px 34px;
  background: var(--soft);
  color: #444;
  font-style: italic;
}

blockquote::before {
  position: absolute;
  top: -2px;
  left: 22px;
  color: #c8c8c8;
  content: "“";
  font-family: Georgia, serif;
  font-size: 70px;
  font-style: normal;
  line-height: 1;
}

blockquote p {
  margin-bottom: 18px;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote footer {
  margin-top: 19px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

blockquote cite {
  font-style: normal;
  font-weight: 600;
}

.table {
  width: 100%;
  margin: 32px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.86em;
  line-height: 1.4;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
  vertical-align: top;
  text-align: left;
}

th {
  font-weight: 600;
}

.toc {
  margin: 15px 0 50px;
  padding: 25px 30px;
  border-radius: 18px;
  background: var(--soft);
}

.toc-title {
  margin-bottom: 11px;
  font-size: 18px;
  font-weight: 600;
}

.toc ol {
  margin: 0;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.55;
}

.toc li + li {
  margin-top: 4px;
}

.toc a {
  color: var(--coral);
}

.faq {
  margin-top: 68px;
}

.faq h2 {
  margin-top: 0;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 20px 34px 20px 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  float: right;
  color: var(--coral);
  content: "+";
  font-size: 26px;
  font-weight: 300;
}

.faq details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 18px;
  font-size: 18px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 30px;
  align-items: center;
  margin-top: 76px;
  padding: 34px 38px;
  border-radius: 24px;
  background: var(--soft);
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.cta-card p {
  max-width: 540px;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.cta-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 30px;
  border-radius: 30px;
  background: var(--yellow);
  color: #222;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 7px 18px rgba(254, 199, 71, 0.35);
  transform: translateY(-2px);
}

.cta-phone {
  font-size: 17px;
  font-weight: 600;
}

.cta-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--coral);
  font-size: 14px;
}

.cta-socials a:hover,
.cta-socials a:focus-visible {
  text-decoration: underline;
}

.author-block {
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: #555;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}

.author-block p {
  margin: 0 0 4px;
}

.related {
  margin-top: 73px;
}

.related h2 {
  margin-top: 0;
}

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

.related-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-card:hover,
.related-card:focus-visible {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.related-card > img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.related-card-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 17px;
}

.related-card strong {
  font-size: 16px;
  line-height: 1.25;
}

.related-card small {
  display: -webkit-box;
  overflow: hidden;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.kind-label {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 10px;
  background: #f0f0f0;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.index-intro {
  max-width: 760px;
  margin-bottom: 66px;
}

.index-intro h1 {
  margin-bottom: 24px;
}

.index-intro .lead {
  margin-bottom: 0;
}

.article-list {
  display: grid;
  gap: 42px;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1.4fr);
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover,
.article-card:focus-visible {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.article-card-media {
  min-height: 100%;
  background: #e9e9e9;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 38px 42px;
}

.article-card-copy h2 {
  margin: 0 0 15px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.article-card-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #777;
  font-size: 17px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
  color: #999;
  font-size: 13px;
}

.read-pill {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: 7px 19px;
  border: 1px solid #000;
  border-radius: 30px;
  color: #000;
  font-size: 13px;
  font-weight: 500;
}

.index-cta {
  margin-top: 70px;
}

.site-footer {
  padding: 66px 24px 25px;
  border-radius: 40px 40px 0 0;
  background: var(--footer);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(350px, 1.4fr) minmax(190px, 0.7fr);
  gap: 40px;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer-brand img {
  filter: grayscale(1) brightness(0) invert(1);
}

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

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.35;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-contact {
  justify-self: end;
  text-align: right;
}

.footer-contact > a {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #444;
  color: #fff;
}

.footer-socials svg {
  width: 25px;
  height: 25px;
}

.footer-bottom {
  width: min(100%, var(--page-width));
  margin: 53px auto 0;
  padding-top: 18px;
  border-top: 1px solid #292929;
  color: #777;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 12px;
    padding: 0 15px;
  }

  .footer-inner {
    grid-template-columns: minmax(170px, 0.8fr) minmax(330px, 1.5fr) minmax(180px, 0.7fr);
    gap: 25px;
  }
}

@media (max-width: 979px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .header-mobile .brand-pill {
    min-height: 50px;
    padding: 10px 17px 10px 14px;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .round-phone,
  .mobile-menu > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  }

  .round-phone {
    background: rgba(255, 255, 255, 0.9);
  }

  .round-phone svg {
    width: 21px;
    height: 21px;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu > summary {
    background: var(--yellow);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu > summary span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 3px 0;
    border-radius: 2px;
    background: #222;
  }

  .mobile-panel {
    position: fixed;
    top: 70px;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 12px 20px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  }

  .mobile-panel > a,
  .mobile-panel details > summary {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: #222;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    list-style: none;
  }

  .mobile-panel details > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-panel details > summary span {
    float: right;
    color: #888;
  }

  .mobile-panel details > a {
    display: block;
    padding: 10px 0 10px 16px;
    color: #777;
    font-size: 15px;
  }

  .mobile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 18px;
    color: var(--coral);
    font-size: 15px;
    font-weight: 500;
  }

  .site-main {
    padding-top: 116px;
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1.4fr;
  }

  .footer-contact {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .site-main {
    padding-bottom: 75px;
  }

  h1 {
    margin-bottom: 19px;
    font-size: 32px;
    line-height: 1.22;
  }

  .lead {
    margin-bottom: 23px;
    font-size: 22px;
    line-height: 1.38;
  }

  .article-meta {
    margin-bottom: 36px;
    font-size: 12px;
  }

  .article-body,
  .faq {
    font-size: 17px;
    line-height: 1.55;
  }

  .article-body h2,
  .faq h2,
  .related h2 {
    margin-top: 48px;
    font-size: 25px;
  }

  .article-body h3 {
    margin-top: 36px;
    font-size: 20px;
  }

  .article-body p,
  .faq-answer p {
    margin-bottom: 23px;
  }

  .media-figure {
    margin: 30px auto;
  }

  .media-figure figcaption {
    font-size: 12px;
  }

  blockquote {
    margin: 30px 0;
    padding: 34px 25px 27px 40px;
  }

  blockquote::before {
    left: 12px;
    font-size: 56px;
  }

  .toc {
    margin: 12px 0 38px;
    padding: 20px 21px;
  }

  .toc ol {
    font-size: 15px;
  }

  .table {
    margin: 25px 0;
  }

  table {
    font-size: 13px;
  }

  th,
  td {
    padding: 7px 8px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 54px;
    padding: 25px 22px;
    border-radius: 20px;
  }

  .cta-card h2 {
    font-size: 23px;
  }

  .cta-card p {
    font-size: 15px;
  }

  .article-list {
    gap: 25px;
  }

  .article-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 20px;
  }

  .article-card-media,
  .article-card-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.45;
  }

  .article-card-copy {
    padding: 25px 23px 23px;
  }

  .article-card-copy h2 {
    margin-bottom: 11px;
    font-size: 23px;
  }

  .article-card-copy p {
    font-size: 16px;
  }

  .article-card-footer {
    padding-top: 22px;
  }

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

  .related-card {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .related-card > img {
    height: 100%;
    aspect-ratio: auto;
  }

  .related-card-copy {
    padding: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    margin-top: 36px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 16px;
  }

  .header-mobile .brand-pill {
    gap: 6px;
    padding-right: 13px;
  }

  .round-phone,
  .mobile-menu > summary {
    width: 46px;
    height: 46px;
  }

  .site-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
