@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.nav-shell,
.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}
.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: bolder;
  color: blue;
}
.brand-logo {
  display: block;
  height: 51px;
  width: 70px;
}
.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.nav-links {
  align-items: center;
  display: flex;
  gap: 25px;
}
.nav-item-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  align-items: center;
  background: none;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 600;
  gap: 7px;
  padding: 8px 0;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-item-dropdown.is-open .nav-dropdown-toggle {
  color: var(--brand);
}
.nav-dropdown-toggle::after {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  height: 6px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  width: 6px;
}
.nav-item-dropdown.is-open .nav-dropdown-toggle::after {
  transform: rotate(225deg) translate(-1px, -1px);
}
.nav-dropdown {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  min-width: 205px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  visibility: hidden;
  z-index: 30;
}
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
.nav-dropdown a {
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font-size: 0.88rem;
  padding: 10px 12px;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--sky);
  color: var(--brand);
}
.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}
.menu-toggle {
  background: none;
  border: 0;
  color: var(--ink);
  display: none;
  font-size: 1.6rem;
}
.back-to-top {
  align-items: center;
  background: var(--brand);
  border: 0;
  border-radius: 50%;
  bottom: 22px;
  box-shadow: var(--shadow);
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 46px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    background 0.2s ease,
    visibility 0.22s ease;
  visibility: hidden;
  width: 46px;
  z-index: 25;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--brand-dark);
}
.hero {
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(242, 169, 59, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #eef3ff 0%, #f7f8fb 65%);
  padding: 92px 0 78px;
}
.hero-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.05fr 0.95fr;
}
.eyebrow {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
  margin: 0;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
  max-width: 680px;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}
.hero-copy p {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 24px 0 30px;
  max-width: 570px;
}
.button {
  align-items: center;
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  padding: 13px 18px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--brand);
  color: #fff;
}
.button-primary:hover {
  background: var(--brand-dark);
}
.button-soft {
  background: var(--surface);
  color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-panel {
  background: var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
  padding: 24px;
  position: relative;
}
.hero-panel:before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 180px;
  opacity: 0.85;
  position: absolute;
  right: -55px;
  top: -65px;
  width: 180px;
}
.panel-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.panel-top span {
  color: #aeb9cd;
  font-size: 0.8rem;
}
.status-dot {
  background: #61d4a1;
  border-radius: 50%;
  height: 9px;
  width: 9px;
}
.search-box {
  align-items: center;
  background: #fff;
  border-radius: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  margin: 24px 0 6px;
  padding: 0 14px;
  position: relative;
}
.search-box input {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-height: 53px;
  outline: 0;
  width: 100%;
}
.search-box input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-status {
  color: #aeb9cd;
  font-size: 0.76rem;
  margin: 0 0 12px;
  min-height: 19px;
}
.mini-tool.is-hidden,
.tool-card.is-hidden {
  display: none;
}
.mini-tool.is-match {
  border-color: var(--accent);
}
.mini-tools {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}
.mini-tool {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  display: block;
  padding: 15px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.mini-tool:hover,
.mini-tool:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent);
  color: #fff;
}
.mini-tool strong {
  display: block;
  font-size: 0.92rem;
}
.mini-tool span {
  color: #aeb9cd;
  font-size: 0.76rem;
}
.tool-pager {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  position: relative;
}
.tool-page-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.74rem;
  padding: 6px 10px;
}
.tool-page-button:hover:not(:disabled),
.tool-page-button:focus-visible:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}
.tool-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
#tool-page-status {
  color: #aeb9cd;
  font-size: 0.74rem;
  min-width: 34px;
  text-align: center;
}
.section {
  padding: 86px 0;
}
.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 430px;
}
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 86px 0;
}
.faq-list {
  border-top: 1px solid var(--line);
  margin: 30px auto 0;
  max-width: 860px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 21px 0;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  color: var(--brand);
  content: "+";
  flex: 0 0 auto;
  font-family: "DM Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-answer {
  color: var(--muted);
  margin: 0 42px 0 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  transform: translateY(-5px);
  transition:
    max-height 0.32s ease,
    margin 0.32s ease,
    opacity 0.22s ease,
    padding 0.32s ease,
    transform 0.32s ease;
  max-width: 720px;
}
.faq-item.is-open .faq-answer {
  margin: -4px 42px 21px 0;
  max-height: 240px;
  opacity: 1;
  padding: 0;
  transform: translateY(0);
}
.tool-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.tool-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.tool-icon {
  align-items: center;
  border-radius: 12px;
  display: flex;
  font-size: 1.4rem;
  height: 44px;
  justify-content: center;
  margin-bottom: 20px;
  width: 44px;
}
.tool-icon.sky {
  background: var(--sky);
}
.tool-icon.mint {
  background: var(--mint);
}
.tool-icon.rose {
  background: var(--rose);
}
.tool-card h3 {
  font-size: 1.17rem;
  margin-bottom: 9px;
}
.tool-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
}
.text-link {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}
.trust-band {
  background: var(--ink);
  color: #fff;
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 20px;
}
.trust-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.trust-item span {
  color: #dce6ff;
  font-size: 0.87rem;
}
.showcase-section {
  background: linear-gradient(135deg, #f7f8fb 0%, #edf3ff 100%);
  padding: 86px 0;
  text-align: center;
}
.showcase-content {
  margin: 0 auto;
  max-width: auto;
}
.showcase-content h2 {
  margin-top: 8px;
}
.home-content {
  max-width: 1120px;
  text-align: left;
}
.home-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  /* margin: 0 auto 42px; */
  text-align: center;
}
.home-heading h2 {
  margin-top: 8px;
}
.home-heading .showcase-subtitle {
  margin-bottom: 10px;
  max-width: 900px;
  text-align: center;
  width: 100%;
}
.home-byline {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}
.home-content-body > .about-content {
  display: grid;
  gap: 20px;
}
.home-content .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
}
.home-content img {
  display: block;
  height: auto;
  margin: 20px auto;
  max-width: 100%;
}
.home-content-body img.popup-image {
  cursor: zoom-in;
}
.home-content p,
.home-content li {
  color: var(--muted);
  line-height: 1.7;
}
.home-content p {
  margin: 0 0 14px;
}
.home-content ul {
  margin: 12px 0 18px;
  padding-left: 24px;
}
.home-content h2 {
  margin: 0 0 16px;
}
.home-content h3 {
  margin: 22px 0 10px;
}
.home-content h4,
.home-content h5 {
  margin: 18px 0 8px;
}
.home-content .card > :last-child {
  margin-bottom: 0;
}
.home-content h2,
.home-content h3,
.home-content h4,
.home-content h5 {
  color: var(--ink);
}
.home-content a {
  color: var(--brand);
}
.greeting-article {
  text-align: left;
}
.greeting-article > .eyebrow,
.greeting-article > h2,
.greeting-article > .showcase-subtitle,
.greeting-byline {
  text-align: center;
}
.greeting-byline {
  color: var(--muted);
  font-size: 0.88rem;
  margin: -10px 0 46px;
}
.greeting-article-section {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 32px;
}
.greeting-article-section h3 {
  border-left: 4px solid var(--brand);
  font-size: 1.65rem;
  margin-bottom: 18px;
  padding-left: 14px;
}
.greeting-article-section h4 {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  margin: 24px 0 8px;
}
.greeting-article-section p,
.greeting-article-section li {
  color: var(--muted);
  line-height: 1.8;
}
.greeting-article-section ol,
.greeting-article-section ul {
  padding-left: 24px;
}
.greeting-feature-image {
  margin: 28px auto;
  max-width: 650px;
}
.greeting-feature-image img,
.greeting-image-grid img {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}
.greeting-image-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}
.greeting-image-grid figure {
  margin: 0;
}
.greeting-image-grid figcaption {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.greeting-message-list {
  border-left: 1px solid var(--line);
  margin: 24px 0;
  padding-left: 20px;
}
.showcase-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 16px auto 24px;
  max-width: 570px;
}
.showcase-quote {
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 auto 18px;
  max-width: 620px;
  padding: 4px 24px;
}
.showcase-body {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 620px;
}
.showcase-image-button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  display: block;
  margin: 0 auto;
  max-width: 280px;
  padding: 24px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.showcase-image-button:hover,
.showcase-image-button:focus-visible {
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.16);
  transform: translateY(-4px);
}
.showcase-image-button img {
  display: block;
  height: auto;
  width: 100%;
}
.image-dialog {
  background: rgba(16, 25, 39, 0.96);
  border: 0;
  height: 100%;
  max-height: none;
  max-width: none;
  padding: 48px;
  width: 100%;
}
.image-dialog::backdrop {
  background: rgba(16, 25, 39, 0.92);
}
.image-dialog-content {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}
.image-dialog img {
  max-height: 90vh;
  max-width: min(90vw, 720px);
  object-fit: contain;
  width: 100%;
}
.image-dialog-close {
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  height: 42px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
}
.site-footer {
  background: #202020;
  border-top: 1px solid #444;
  color: #fff;
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.5fr 1fr 1fr;
}
.footer-grid h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-grid p,
.footer-grid a {
  color: #aeb9cd;
  font-size: 0.9rem;
}
.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
}
.footer-links {
  display: grid;
  gap: 7px;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #aeb9cd;
  font-size: 0.82rem;
  margin-top: 35px;
  padding-top: 20px;
}
.page-hero {
  padding: 72px 0 42px;
}
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 80px;
  max-width: 820px;
  padding: 34px;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 30px 0 10px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.tool-workspace {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 80px;
  padding: 30px;
}
.tool-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.tool-form label {
  font-size: 0.9rem;
  font-weight: 700;
}
.tool-form textarea,
.tool-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  width: 100%;
}
.tool-result {
  background: var(--paper);
  border-radius: 12px;
  min-height: 110px;
  padding: 18px;
}
.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
