:root {
  color-scheme: light;
  --ink: #15131f;
  --muted: #62606f;
  --soft: #f6f2fb;
  --soft-green: #eef8f2;
  --line: #e6dfed;
  --plum: #6b3487;
  --plum-deep: #47205f;
  --jade: #2f8b68;
  --gold: #c28a35;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(61, 39, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(107, 52, 135, 0.09), transparent 34rem),
    linear-gradient(180deg, #fff 0%, #fbfafc 62%, #f5fbf7 100%);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 223, 237, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--jade));
  box-shadow: 0 12px 28px rgba(107, 52, 135, 0.22);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--plum-deep);
}

.nav-cta {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--ink);
}

.hero,
.section,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  padding: 92px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--plum);
  box-shadow: 0 16px 34px rgba(107, 52, 135, 0.26);
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--plum-deep);
  border-color: var(--line);
  background: #fff;
}

.button.ghost {
  color: var(--plum-deep);
  background: transparent;
  border-color: transparent;
}

.button:focus-visible,
.field input:focus-visible,
.field select:focus-visible {
  outline: 3px solid rgba(47, 139, 104, 0.24);
  outline-offset: 2px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.visual-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.visual-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.26 / 1;
  object-fit: cover;
}

.reading-card,
.result-panel,
.pricing-card,
.guide-card,
.topic-row,
.email-panel,
.sample-card,
.content-card,
.faq-item,
.article-note {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(38, 28, 54, 0.07);
}

.reading-card {
  padding: 22px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #454051;
  font-size: 13px;
  font-weight: 760;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #d9d1e4;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding-top: 34px;
}

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

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-lede {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.tool-link {
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-link:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 52, 135, 0.35);
  box-shadow: var(--shadow);
}

.tool-link strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.tool-link span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.result-panel {
  display: none;
  margin-top: 18px;
  padding: 22px;
  border-color: rgba(47, 139, 104, 0.24);
  background: linear-gradient(135deg, #fff 0%, #f1fbf5 100%);
}

.result-panel.is-visible {
  display: block;
}

.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.result-top h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.result-top p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--jade);
  background: #e3f4ea;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.insight {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(47, 139, 104, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
}

.insight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.email-panel {
  margin-top: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  background: #fff;
}

.email-panel .field label {
  color: var(--ink);
}

.status {
  min-height: 22px;
  margin-top: 10px;
  color: var(--jade);
  font-size: 14px;
  font-weight: 740;
}

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

.content-card {
  min-height: 220px;
  padding: 22px;
}

.content-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.content-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.number-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--plum-deep);
  background: var(--soft);
  font-weight: 850;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 820;
}

.faq-item p {
  margin-top: 12px;
}

.pricing-card {
  padding: 22px;
}

.pricing-card.featured {
  border-color: rgba(107, 52, 135, 0.35);
  box-shadow: 0 22px 62px rgba(107, 52, 135, 0.14);
}

.price {
  margin: 16px 0;
  font-size: 42px;
  font-weight: 860;
  line-height: 1;
}

.pricing-card h3,
.guide-card h3,
.sample-card h3 {
  margin: 0;
  font-size: 21px;
}

.pricing-card p,
.guide-card p,
.sample-card p {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-card ul {
  margin: 18px 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.75;
}

.sample-band {
  background: linear-gradient(135deg, var(--soft) 0%, #fff 58%, var(--soft-green) 100%);
}

.sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.sample-card {
  padding: 22px;
}

.sample-list {
  display: grid;
  gap: 12px;
}

.sample-item {
  padding: 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff;
}

.sample-item strong {
  display: block;
}

.sample-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.topic-list {
  display: grid;
  gap: 10px;
}

.topic-row {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
}

.topic-row strong {
  display: block;
}

.topic-row span {
  color: var(--muted);
}

.guide-card {
  min-height: 198px;
  padding: 20px;
  text-decoration: none;
}

.guide-card:hover,
.topic-row:hover {
  border-color: rgba(107, 52, 135, 0.34);
}

.article {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.article h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
}

.article .section-lede {
  font-size: 19px;
}

.article-body {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.article-body h2 {
  margin: 20px 0 0;
  font-size: 30px;
}

.article-body p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.article-section {
  padding-bottom: 4px;
}

.article-note {
  margin-top: 10px;
  padding: 22px;
  background: linear-gradient(135deg, #fff 0%, #f1fbf5 100%);
}

.article-note h2 {
  margin-top: 0;
}

.inline-form {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(21, 19, 31, 0.44);
}

.modal.is-visible {
  display: grid;
}

.modal-card {
  width: min(480px, 100%);
  padding: 26px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(21, 19, 31, 0.28);
}

.modal-card h3 {
  margin: 0;
  font-size: 25px;
}

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

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-panel {
    grid-row: 2;
  }

  .tools-grid,
  .insight-grid,
  .pricing-grid,
  .guide-grid,
  .content-grid,
  .sample-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .footer-inner,
  .article {
    width: min(100% - 22px, 1160px);
  }

  .hero h1,
  .article h1 {
    font-size: 40px;
  }

  .hero-panel .reading-card {
    order: 1;
  }

  .hero-panel .visual-frame {
    order: 2;
  }

  .form-grid,
  .tools-grid,
  .insight-grid,
  .pricing-grid,
  .guide-grid,
  .content-grid,
  .sample-grid,
  .email-panel {
    grid-template-columns: 1fr;
  }

  .email-panel {
    align-items: stretch;
  }

  .nav {
    width: min(100% - 24px, 1160px);
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-links a {
    min-height: 34px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 13px;
  }

  .nav-links .nav-cta {
    padding: 8px 12px;
    background: var(--ink);
  }

  .result-top,
  .topic-row,
  .footer-inner {
    display: block;
  }

  .pill {
    margin-top: 12px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
  }

  .tool-link {
    transition: none;
  }
}
