:root {
  color-scheme: light;
  --primary: #0a0a0a;
  --on-primary: #ffffff;
  --primary-soft: #181e25;
  --canvas: #ffffff;
  --surface: #f7f8fa;
  --surface-soft: #f2f3f5;
  --hairline: #e5e7eb;
  --hairline-soft: #eaecf0;
  --ink: #0a0a0a;
  --body: #222222;
  --slate: #45515e;
  --steel: #5f5f5f;
  --stone: #8e8e93;
  --muted: #a8aab2;
  --coral: #ff5530;
  --magenta: #ea5ec1;
  --brand-blue: #1456f0;
  --brand-blue-deep: #1d4ed8;
  --blue-200: #dbeafe;
  --purple: #a855f7;
  --success-bg: #e8ffea;
  --success: #1ba673;
  --error: #d45656;
  --error-bg: #fff1f2;
  --footer-bg: #0a0a0a;
  --shadow-1: rgba(0, 0, 0, 0.04) 0px 1px 2px 0px;
  --shadow-2: rgba(0, 0, 0, 0.08) 0px 4px 6px 0px;
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
}

.header-inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 20;
  line-height: 1;
}

.brand-wordmark-main {
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-size: 1.18em;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-wordmark-dot {
  margin-inline: 0.015em;
  color: var(--brand-blue);
  font-size: 1.08em;
  font-weight: 700;
}

.brand-wordmark-tld {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions a,
.site-footer a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions a {
  color: var(--steel);
}

.header-actions a:hover {
  color: var(--ink);
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
}

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

.language-menu summary::after {
  width: 0;
  height: 0;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
  transition: transform 0.16s ease;
}

.language-menu[open] summary::after {
  transform: rotate(180deg);
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 160px;
  gap: 2px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 6px;
  background: var(--canvas);
  box-shadow: var(--shadow-2);
}

.language-menu-list a {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
}

.language-menu-list a:hover,
.language-menu-list a[aria-current="true"] {
  color: var(--ink);
  background: var(--surface);
}

.hero {
  position: relative;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 48px;
  text-align: center;
}

.hero-plain .hero-inner {
  min-height: 280px;
  justify-content: center;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--coral);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.readable > h2::after,
.faq-section h2::after {
  display: block;
  width: 36px;
  height: 3px;
  margin: 16px auto 20px;
  background: var(--coral);
  border-radius: 9999px;
  content: "";
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-intro {
  max-width: 680px;
  margin: 14px auto 28px;
  color: var(--slate);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.tool-panel {
  width: min(640px, 100%);
}

.download-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 8px;
  background: var(--canvas);
}

input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--canvas);
  font: inherit;
  font-size: 15px;
}

input::placeholder {
  color: var(--stone);
}

input:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-blue-deep);
  outline-offset: 2px;
}

button,
.download-button {
  min-height: 44px;
  border: 0;
  border-radius: 9999px;
  padding: 0 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.primary-button,
.download-button {
  color: var(--on-primary);
  background: var(--primary);
}

.primary-button:hover,
.download-button:hover {
  background: var(--primary-soft);
}

.secondary-button {
  margin-right: 2px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}

.secondary-button:hover {
  background: var(--ink);
  color: var(--on-primary);
}

.form-note {
  margin: 0;
  color: var(--steel);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.trust-pills span {
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  padding: 6px 12px;
  color: var(--steel);
  background: var(--canvas);
  font-size: 13px;
  font-weight: 500;
}

.state-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  color: var(--body);
  background: var(--canvas);
  box-shadow: var(--shadow-1);
}

.state-card[hidden] {
  display: none;
}

.error-card {
  display: block;
  color: var(--error);
  background: var(--error-bg);
  border-color: #f6c9c9;
}

.state-label {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.state-card h3 {
  margin: 0;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  border-radius: 6px;
  padding: 3px 8px;
  color: var(--brand-blue-deep);
  background: var(--blue-200);
  font-size: 12px;
  font-weight: 600;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.content-section {
  padding: 64px 0;
}

.readable {
  max-width: 860px;
}

.section-kicker {
  display: none;
}

.readable p,
.readable li,
.site-footer p {
  font-size: 16px;
  line-height: 1.6;
}

.readable p,
.readable li {
  color: var(--body);
}

.readable > p {
  text-align: center;
}

.readable code {
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--brand-blue-deep);
  background: var(--blue-200);
  font-size: 0.88em;
  font-weight: 600;
}

.section-media-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
  background: var(--canvas);
  box-shadow: var(--shadow-1);
}

.section-media-card-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
}

.section-media-card-reverse img {
  order: 2;
}

.section-media-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.section-media-card p {
  margin: 0;
  text-align: left;
}

.section-media-card p + p {
  margin-top: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 96px 18px 20px;
  background: var(--canvas);
  box-shadow: var(--shadow-1);
  counter-increment: steps;
}

.steps li::after {
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  background: var(--coral);
  content: "";
}

.steps li:nth-child(4n + 2)::after {
  background: var(--magenta);
}

.steps li:nth-child(4n + 3)::after {
  background: var(--brand-blue);
}

.steps li:nth-child(4n + 4)::after {
  background: var(--purple);
}

.steps li::before {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 9999px;
  color: var(--ink);
  background: var(--canvas);
  content: counter(steps);
  font-size: 18px;
  font-weight: 600;
  transform: translateX(-50%);
  box-shadow: var(--shadow-1);
}

.steps strong,
.steps span {
  display: block;
  text-align: center;
}

.steps strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.steps span {
  margin-top: 8px;
  color: var(--slate);
}

.instruction-visuals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.instruction-visuals figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas);
  box-shadow: var(--shadow-1);
}

.instruction-visuals img,
.media-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.instruction-visuals figcaption {
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.media-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.media-showcase article {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: var(--shadow-1);
}

.media-showcase h3 {
  margin: 14px 14px 6px;
  color: var(--ink);
  font-size: 16px;
  text-align: center;
}

.media-showcase p {
  margin: 0 14px 16px;
  color: var(--slate);
  font-size: 14px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.check-list,
details {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: var(--shadow-1);
}

.feature-grid article {
  position: relative;
  padding: 24px;
  text-align: center;
}

.feature-grid article::before {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: var(--coral);
  content: "";
}

.feature-grid article.has-icon::before {
  display: none;
}

.benefit-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  box-shadow: var(--shadow-1);
}

.benefit-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-grid h3 {
  color: var(--ink);
  font-size: 16px;
}

.feature-grid article p {
  color: var(--slate);
  font-size: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 20px 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--body);
}

.check-list li::before {
  position: absolute;
  top: 0.5em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--coral);
  content: "";
}

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

details {
  padding: 18px 20px;
}

summary {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

.language-menu {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.language-menu summary {
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  padding: 7px 14px;
  background: var(--canvas);
  color: var(--steel);
  box-shadow: none;
}

.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--footer-bg);
  text-align: center;
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.footer-brand {
  display: inline-flex;
  color: var(--on-primary);
  font-size: 20px;
}

.site-footer .brand-wordmark-dot {
  color: #3b82f6;
}

.site-footer p {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--on-primary);
}

@media (max-width: 900px) {
  .steps,
  .feature-grid,
  .feature-grid-four,
  .instruction-visuals,
  .media-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 960px);
  }

  .brand {
    font-size: 15px;
  }

  .header-actions {
    max-width: 220px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 10px;
  }

  .header-actions a {
    font-size: 13px;
  }

  .language-menu summary {
    font-size: 13px;
  }

  .language-menu-list {
    min-width: 150px;
  }

  .language-menu-list a {
    font-size: 13px;
    padding: 8px 10px;
  }

  .hero-inner {
    padding: 40px 0 32px;
  }

  h1 {
    font-size: 32px;
    letter-spacing: -0.02em;
  }

  .hero-intro {
    font-size: 15px;
  }

  .form-row {
    grid-template-columns: 1fr auto;
    gap: 6px;
    padding: 6px;
  }

  input {
    grid-column: 1 / -1;
    height: 44px;
    font-size: 15px;
  }

  button,
  .download-button {
    min-height: 44px;
    width: 100%;
    padding: 0 16px;
    font-size: 14px;
  }

  .state-card,
  .section-media-card,
  .section-media-card-reverse,
  .steps,
  .feature-grid,
  .feature-grid-four,
  .instruction-visuals,
  .media-showcase,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-media-card-reverse img {
    order: 0;
  }

  .content-section {
    padding: 44px 0;
  }

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