:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #58666f;
  --line: #d9e2e3;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --night: #071827;
  --blue: #0b3a66;
  --cyan: #12a8c8;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --red: #c7443e;
  --gold: #b9852b;
  --shadow: 0 18px 55px rgba(19, 38, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(7, 24, 39, .94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.site-header.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  opacity: .78;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.nav-cta {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
}

.solid .nav-cta {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(18px, 6vw, 84px) 70px;
  background: var(--night);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 72% center;
  opacity: .92;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 18, 31, .96) 0%, rgba(5, 18, 31, .86) 42%, rgba(5, 18, 31, .22) 100%),
    repeating-linear-gradient(0deg, rgba(18, 168, 200, .08) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(18, 168, 200, .07) 0 1px, transparent 1px 44px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee7f2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-badges span {
  padding: 7px 11px;
  border: 1px solid rgba(126, 231, 242, .42);
  border-radius: 999px;
  background: rgba(8, 33, 50, .74);
  color: #e7fbff;
  font-weight: 800;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--cyan);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
}

.button.compact {
  min-height: 42px;
  padding-inline: 16px;
}

.notice-band {
  background: var(--blue);
  color: #fff;
  padding: 16px clamp(18px, 6vw, 84px);
}

.notice-band div {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 40px);
}

.intro {
  padding-top: 34px;
  padding-bottom: 12px;
}

.section.muted {
  max-width: none;
  background: var(--soft);
}

.section.muted > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.22;
  letter-spacing: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.intro-copy {
  max-width: 920px;
}

.intro-copy p {
  margin: 0 0 18px;
  line-height: 1.9;
}

.intro-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.start-reading {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cfeaf1;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 12px 28px rgba(17, 28, 32, .05);
}

.start-reading-head {
  display: grid;
  gap: 4px;
}

.start-reading-head h3 {
  margin: 2px 0 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
}

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

.start-card {
  display: grid;
  grid-template-rows: auto minmax(92px, auto) minmax(88px, auto) auto;
  align-content: stretch;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.start-card:hover {
  transform: translateY(-2px);
  border-color: #b7dfe7;
  box-shadow: 0 14px 30px rgba(17, 28, 32, .08);
}

.start-card strong {
  font-size: 18px;
  line-height: 1.38;
}

.start-card small {
  color: var(--muted);
  line-height: 1.65;
}

.start-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.blog-search-card {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 10px 26px rgba(17, 28, 32, .06);
}

.blog-search-head {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 2px solid #e2eef2;
}

.search-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dceff5;
  box-shadow: inset 0 0 0 5px #edf8fb;
}

.blog-search-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.blog-search-form {
  margin: 0;
}

.blog-search-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 50px;
  border: 1px solid #d7e2e6;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.blog-search-input-wrap:focus-within {
  border-color: #9fd3df;
  box-shadow: 0 0 0 4px rgba(75, 181, 199, .14);
}

.blog-search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 0 0 18px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.blog-search-input-wrap input::placeholder {
  color: #9aa8ae;
}

.blog-search-input-wrap button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 4px;
  border: 0;
  border-radius: 50%;
  background: #eef9fb;
  color: var(--blue);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.blog-search-input-wrap button:hover {
  background: var(--blue);
  color: #fff;
}

.blog-search-input-wrap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.blog-search-results {
  display: grid;
  gap: 8px;
}

.search-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.search-result-link {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e2eef2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.search-result-link:hover {
  transform: translateY(-1px);
  border-color: #b7dfe7;
  box-shadow: 0 10px 20px rgba(17, 28, 32, .06);
}

.search-result-link span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.search-result-link strong {
  font-size: 14px;
  line-height: 1.45;
}

.search-highlight {
  padding: 0 .14em;
  border-radius: 3px;
  background: #fff1a8;
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.search-dialog[hidden] {
  display: none;
}

.search-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.search-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 28, 32, .48);
}

.search-dialog-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 28, 32, .24);
}

.search-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.search-dialog-head h2 {
  margin: 4px 0 6px;
  font-size: 22px;
  line-height: 1.35;
}

.search-dialog-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.search-dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d7e2e6;
  border-radius: 50%;
  background: #f7fcfd;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}

.search-dialog-close:hover {
  border-color: #b7dfe7;
  background: #eef9fb;
}

.search-dialog-results {
  display: grid;
  gap: 10px;
}

.search-dialog-open {
  overflow: hidden;
}

.profile-card {
  display: grid;
  gap: 12px;
  align-items: start;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 28, 32, .06);
}

.profile-avatar {
  width: 104px;
  height: 104px;
  justify-self: center;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(17, 28, 32, .16);
  background: var(--soft);
}

.profile-card h2 {
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.25;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.profile-role {
  text-align: center;
  font-weight: 800;
  color: var(--ink) !important;
}

.profile-tags {
  padding: 10px 12px;
  border-radius: 7px;
  background: #eef9fb;
  color: var(--blue) !important;
  font-weight: 900;
  text-align: center;
  line-height: 1.45 !important;
}

.profile-note {
  color: var(--ink) !important;
  font-weight: 900;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.x-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

.x-profile-link:hover {
  background: var(--blue);
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf9fc;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.tag-ai {
  background: #eaf9fc;
  color: var(--blue);
}

.tag-work {
  background: #eef7f1;
  color: #1f7a57;
}

.tag-pr {
  background: #f1f5f9;
  color: #475569;
}

.article-hub {
  display: grid;
  gap: 34px;
  padding-top: 44px;
}

.guide-block {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 28, 32, .06);
}

.guide-first {
  background: linear-gradient(180deg, #f8fcfd 0%, #fff 100%);
  border-color: #cfeaf1;
}

.guide-block-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.guide-block-head h3 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
}

.guide-note {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.guide-card-grid {
  display: grid;
  gap: 16px;
}

.guide-card-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.guide-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 7px;
  border: 1px solid var(--line);
  margin-top: 6px;
  background: #fff;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: #b7dfe7;
  box-shadow: 0 16px 34px rgba(17, 28, 32, .08);
}

.guide-card strong {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.35;
}

.guide-card small {
  color: var(--muted);
  line-height: 1.65;
}

.featured-card {
  min-height: 220px;
  background: #f7fcfd;
  border-color: #cfeaf1;
}

.guide-note-card {
  background: linear-gradient(135deg, #eef9fb 0%, #fff 64%);
  border-color: #cfeaf1;
}

.guide-note-card:hover {
  transform: none;
  box-shadow: none;
}

.pr-guide {
  background: #fbfdff;
}

.pr-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pr-service-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pr-service-card h4 {
  margin: 2px 0 0;
  font-size: 20px;
}

.pr-service-card p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.65;
}

.pr-service-banner {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 6 / 5;
  object-fit: contain;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pr-service-text-banner {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 6 / 5;
  justify-self: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef9fb 0%, #fff 58%, #f4f8f7 100%);
  text-align: center;
}

.pr-service-text-banner strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 1.2;
}

.pr-service-text-banner span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.pr-article-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.pr-article-list a {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fbfc;
  color: var(--ink);
  text-decoration: none;
}

.pr-article-list a:hover {
  border-color: #b7dfe7;
  background: #eef9fb;
}

.pr-article-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.pr-article-list strong {
  font-size: 15px;
  line-height: 1.45;
}

.pr-link-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 4px;
  background: #fff;
}

.official-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
}

.official-link-button:hover {
  background: #0f6f95;
}

.footer {
  padding: 32px clamp(18px, 4vw, 56px);
  background: #111c20;
  color: #e8f0ef;
}

.footer p {
  margin: 4px 0;
}

.article-page {
  background: var(--soft);
  padding: 42px clamp(16px, 4vw, 48px) 76px;
}

.article-body {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 54px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-body h1 {
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
}

.article-body h2 {
  margin: 44px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: clamp(23px, 3vw, 32px);
}

.article-lead {
  font-size: 18px;
  color: #2f3b40;
}

.article-hero {
  margin: 32px 0;
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.check-list {
  padding: 18px 22px;
  background: var(--soft);
  border-left: 4px solid var(--cyan);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef8fb;
  color: var(--blue);
}

.table-end {
  color: var(--muted);
  font-weight: 700;
}

.related {
  margin-top: 44px;
  padding: 24px;
  border-radius: 8px;
  background: #f8f1ed;
}

.related h2 {
  margin-top: 0;
  border-top: 0;
}

.related a {
  display: block;
  padding: 10px 0;
  color: var(--blue);
  font-weight: 800;
}

.pr-label {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #f0c7c2;
  border-radius: 8px;
  background: #fff5f3;
  color: #7b2d28;
  font-weight: 800;
}

.affiliate-banner {
  display: flex;
  justify-content: center;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.affiliate-banner a {
  display: block;
  max-width: 100%;
}

.affiliate-banner img {
  max-width: 100%;
  height: auto;
}

.affiliate-banner > img[width="1"] {
  position: absolute;
  width: 1px;
  height: 1px;
}

.source-box {
  margin-top: 36px;
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
}

.source-box h2 {
  margin-top: 0;
  border-top: 0;
}

.app-link-box {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.app-link-box h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.app-link-box p {
  margin: 0;
  color: var(--muted);
}

.app-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.app-link-actions .button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

.app-link-actions .button.secondary:hover {
  background: #f3f8f6;
}

.speech-box {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 28px 0;
}

.speech-avatar {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.speech-avatar img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(18, 38, 45, .12);
  background: #fff;
}

.speech-bubble {
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 45, .08);
}

.speech-bubble::before,
.speech-bubble::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 0;
  height: 0;
  border-style: solid;
}

.speech-bubble::before {
  left: -12px;
  border-width: 10px 12px 10px 0;
  border-color: transparent var(--line) transparent transparent;
}

.speech-bubble::after {
  left: -10px;
  border-width: 9px 11px 9px 0;
  border-color: transparent #fff transparent transparent;
}

.speech-bubble p {
  margin: 0;
}

.cat-hero {
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #071827, #0b3a66);
}

.cat-hero img {
  width: min(360px, 100%);
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
}

.cat-hero figcaption {
  color: #d9f8ff;
  text-align: center;
}

.static-page .article-body {
  max-width: 880px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #cfeaf1;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 14px 32px rgba(17, 28, 32, .06);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.confirm-box legend {
  color: var(--ink);
  font-weight: 900;
}

.form-field label span,
.confirm-box legend span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf9fc;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #d7e2e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: #9fd3df;
  box-shadow: 0 0 0 4px rgba(75, 181, 199, .14);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.confirm-box {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid #d7e2e6;
  border-radius: 8px;
  background: #fff;
}

.confirm-box label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.55;
}

.confirm-box input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.field-error {
  min-height: 18px;
  margin: 0;
  color: #c94843;
  font-size: 13px;
  font-weight: 800;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.6;
}

.form-status.is-sending,
.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-sending {
  border: 1px solid #cfeaf1;
  background: #eef9fb;
  color: var(--blue);
}

.form-status.is-success {
  border: 1px solid #bbdfca;
  background: #effaf3;
  color: #1f7a46;
}

.form-status.is-error {
  border: 1px solid #f0c4c1;
  background: #fff2f1;
  color: #b9342f;
}

.contact-submit {
  width: fit-content;
  min-width: 180px;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .68;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 18, 31, .42), rgba(5, 18, 31, .96));
  }

  .hero-image {
    object-position: center top;
  }

  .guide-card-grid.two-col,
  .guide-card-grid.three-col,
  .start-reading-grid,
  .pr-service-grid {
    grid-template-columns: 1fr;
  }

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

  .profile-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-block {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
  }

  .article-hub > .guide-block {
    width: auto;
    min-width: 0;
  }

  .guide-card,
  .featured-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding-top: 160px;
  }

  .brand {
    min-width: 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .article-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .article-body {
    padding: 20px;
  }

  .search-dialog {
    padding: 14px;
  }

  .search-dialog-panel {
    max-height: calc(100vh - 28px);
    padding: 18px;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-submit {
    width: 100%;
  }

  .speech-box {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .speech-avatar {
    grid-template-columns: 52px 1fr;
    justify-items: start;
    align-items: center;
  }

  .speech-avatar img {
    width: 52px;
    height: 52px;
  }

  .speech-bubble::before,
  .speech-bubble::after {
    display: none;
  }
}
