:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #667085;
  --soft: #f6f7f7;
  --surface: #ffffff;
  --line: #d9dedc;
  --green: #07834c;
  --green-dark: #04653a;
  --green-soft: #e9f7ef;
  --amber: #e69a16;
  --amber-soft: #fff6e8;
  --red: #d64545;
  --red-soft: #fff0f0;
  --shadow: 0 18px 55px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 4%, rgba(7, 131, 76, 0.05), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #fafafa 100%);
}

button,
input,
select {
  font: inherit;
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong {
  color: var(--green);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 1rem;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 29px 0 27px;
}

.desktop-nav a[aria-current="page"],
.desktop-nav a:hover {
  color: var(--green);
}

.desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}

.site-header .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(7, 131, 76, 0.24);
  outline-offset: 2px;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #0b9458, var(--green));
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(7, 131, 76, 0.2);
}

.button-primary:hover {
  background: linear-gradient(180deg, #0b8d54, var(--green-dark));
  box-shadow: 0 15px 28px rgba(7, 131, 76, 0.26);
}

.button-secondary {
  color: #1f2937;
  background: #ffffff;
  border-color: #ccd3d0;
}

.button-secondary:hover {
  border-color: #a8b2ad;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.button-small {
  min-width: 142px;
  min-height: 44px;
}

.button-wide {
  width: 100%;
}

.tool-section {
  max-width: none;
  margin: 0 auto;
  padding: 34px 42px 20px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: #344054;
  font-size: 1.12rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: 526px minmax(560px, 1fr);
  gap: 40px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.03);
}

.form-panel {
  padding: 24px;
}

.panel h2,
.commerce-section h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field-full {
  margin-top: 16px;
}

.field span,
.tone-block span {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 500;
}

input,
select,
.money-input,
.suffix-input {
  width: 100%;
  min-height: 43px;
  border: 1px solid #cfd6d3;
  border-radius: 5px;
  background: #ffffff;
  color: var(--text);
}

input,
select {
  padding: 0 14px;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 19px,
    calc(100% - 15px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 22px;
}

.money-input,
.suffix-input {
  display: grid;
  align-items: center;
  overflow: hidden;
}

.money-input {
  grid-template-columns: 48px 1fr;
}

.suffix-input {
  grid-template-columns: 1fr 64px;
}

.money-input span,
.suffix-input span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #667085;
  background: #fbfbfb;
}

.money-input input,
.suffix-input input {
  border: 0;
  border-radius: 0;
}

.divider {
  height: 1px;
  margin: 28px 0 22px;
  border-top: 1px dashed var(--line);
}

.tone-block {
  margin: 0;
  padding: 0;
  border: 0;
}

.tone-block legend {
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 800;
}

.hint {
  margin: 8px 0 0;
  color: #98a2b3;
  font-size: 0.92rem;
}

.advice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 22px 0 24px;
  padding: 14px;
  border: 1px solid #f2bc68;
  border-radius: 5px;
  color: #7a4a00;
  background: linear-gradient(180deg, var(--amber-soft), #fffaf0);
}

.advice p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.42;
}

.advice svg {
  color: var(--amber);
}

.preview-panel {
  padding: 22px 26px 20px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ready-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #cce8d7;
  border-radius: 6px;
  color: #205c3d;
  background: #f2fbf5;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.ready-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.email-document {
  min-height: 430px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.02);
}

.email-document p {
  margin: 0 0 18px;
}

.email-document .subject {
  margin-bottom: 22px;
}

.email-document strong {
  font-weight: 800;
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.preview-actions-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.commerce-section {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 40px;
  max-width: none;
  margin: 18px auto 0;
  padding: 24px 42px 40px;
  border-top: 1px solid #ecefed;
}

.template-area {
  min-width: 0;
}

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

.template-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 106px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.template-card h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.template-card p {
  margin: 0;
  color: #475467;
  font-size: 0.82rem;
  line-height: 1.45;
}

.template-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.agent-direct-section {
  background: linear-gradient(180deg, #f8fbf9, #ffffff);
}

.agent-service-cards .template-card {
  min-height: 148px;
}

.agent-direct-aside p {
  color: #475467;
  line-height: 1.6;
}

.agent-direct-aside code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8faf9;
  color: #111111;
  font-size: 0.9em;
}

.icon-tile {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 6px;
}

.icon-green {
  color: var(--green);
  background: var(--green-soft);
}

.icon-amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.icon-red {
  color: var(--red);
  background: var(--red-soft);
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  color: #344054;
  font-size: 0.95rem;
}

.benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.benefits a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.benefits span::before {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.seo-links {
  margin-top: 0;
  padding-top: 18px;
}

.value-section,
.faq-section {
  margin-top: 0;
  padding-top: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: #475467;
  line-height: 1.55;
}

.price-area {
  padding-left: 38px;
  border-left: 1px solid var(--line);
}

.price-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 14px;
}

.price-line strong {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.price-line span {
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.35;
}

.price-area ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.price-area li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
}

.price-area li::before {
  color: var(--green);
  content: "✓";
  font-size: 1rem;
  font-weight: 900;
}

.payment-note {
  margin: 10px 0 0;
  color: #667085;
  font-size: 0.86rem;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px;
  border-radius: 5px;
  color: #ffffff;
  background: #111111;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.checkout-dialog {
  width: min(460px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checkout-dialog::backdrop {
  background: rgba(17, 17, 17, 0.36);
}

.checkout-dialog form {
  display: grid;
  gap: 14px;
}

.checkout-dialog h2,
.checkout-dialog p {
  margin: 0;
}

.checkout-dialog p {
  color: #475467;
  line-height: 1.5;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f2f4f7;
  color: #344054;
}

.crypto-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8faf9;
}

.rail-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf9;
}

.rail-option {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #344054;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.rail-option.active {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.crypto-box span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 800;
}

.crypto-box code {
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.qr-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
}

.qr-box img {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
}

.qr-box span {
  color: #475467;
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-includes {
  padding: 12px 14px;
  border: 1px solid #cce8d7;
  border-radius: 5px;
  background: #f2fbf5;
}

.checkout-includes strong {
  display: block;
  margin-bottom: 8px;
  color: #205c3d;
}

.checkout-includes ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #344054;
  font-size: 0.88rem;
}

.checkout-help {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8faf9;
}

.checkout-help strong {
  color: #344054;
  font-size: 0.9rem;
}

.checkout-help ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.checkout-help li {
  color: #475467;
  font-size: 0.86rem;
  line-height: 1.35;
}

.checkout-help a {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
}

.checkout-dialog a {
  color: var(--green);
  font-weight: 800;
}

.checkout-dialog .button-primary {
  color: #ffffff;
}

.checkout-dialog .button-secondary {
  color: #1f2937;
}

.crypto-status {
  margin: 0;
  padding: 12px;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 800;
}

.crypto-status[data-state="pending"] {
  color: #7a4a00;
  background: var(--amber-soft);
}

.crypto-status[data-state="paid"] {
  color: #205c3d;
  background: var(--green-soft);
}

.crypto-status[data-state="error"] {
  color: #8a2222;
  background: var(--red-soft);
}

#cryptoDownload {
  color: #ffffff;
}

.seo-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 28px 72px;
}

.seo-article {
  display: grid;
  gap: 22px;
}

.seo-article h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.seo-article h2 {
  margin: 10px 0 0;
  font-size: 1.4rem;
}

.seo-article p,
.seo-article li {
  color: #344054;
  font-size: 1.05rem;
  line-height: 1.65;
}

.seo-article pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.seo-box {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf9;
}

.seo-box h2 {
  margin-top: 0;
}

.seo-box-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.seo-box-header h2 {
  margin: 0;
}

.seo-box pre {
  box-sizing: border-box;
  display: block;
  overflow-x: auto;
  max-width: 100%;
  margin: 0;
  padding: 14px;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre;
}

.seo-offer-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #cce8d7;
  border-radius: var(--radius);
  background: #f2fbf5;
}

.seo-offer-box h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.seo-offer-box p {
  margin: 0;
  color: #475467;
  line-height: 1.55;
}

.seo-kit-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid #cce8d7;
  border-radius: var(--radius);
  background: #f2fbf5;
}

.seo-kit-preview h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.seo-kit-preview p {
  margin: 0;
  color: #475467;
  line-height: 1.5;
}

.seo-kit-preview ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #344054;
  list-style: none;
}

.seo-kit-preview li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.seo-kit-preview li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.seo-share-box {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.seo-share-box p {
  margin: 0;
  color: #475467;
  line-height: 1.5;
}

.seo-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.seo-links-inline a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-links-inline .button {
  text-decoration: none;
}

.seo-links-inline .button-primary {
  color: #ffffff;
}

.seo-links-inline .button-secondary {
  color: #1f2937;
}

.hub-page {
  max-width: 1180px;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hub-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.03;
}

.hub-hero p {
  max-width: 760px;
  margin: 0;
  color: #344054;
  font-size: 1.1rem;
  line-height: 1.65;
}

.hub-offer {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 22px;
  border: 1px solid #cce8d7;
  border-radius: var(--radius);
  background: #f2fbf5;
}

.hub-offer strong {
  color: #344054;
  font-size: 0.95rem;
}

.hub-offer span {
  color: #111111;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

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

.hub-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.hub-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hub-card h2 a {
  color: #111111;
  text-decoration: none;
}

.hub-card p {
  margin: 0;
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hub-card-link {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.share-actions-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

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

.share-copy-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.share-copy-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.share-copy-card p {
  margin: 0;
  color: #475467;
  font-size: 0.94rem;
  line-height: 1.55;
}

.share-copy-card code {
  display: block;
  overflow-wrap: anywhere;
  padding: 10px;
  border-radius: 6px;
  background: #f3f6f5;
  color: #344054;
  font-size: 0.78rem;
}

.tip-qr {
  width: 148px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.x402-page .preview-actions {
  margin-top: 22px;
}

.x402-endpoint-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.x402-endpoint {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.x402-endpoint > div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.x402-endpoint span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #eef8f2;
  color: #157347;
  font-size: 0.78rem;
  font-weight: 900;
}

.x402-endpoint strong {
  color: #111111;
  font-size: 0.95rem;
}

.x402-endpoint h2 {
  margin: 0;
  font-size: 1.15rem;
}

.x402-endpoint p {
  margin: 0;
  color: #475467;
  line-height: 1.55;
}

.x402-endpoint code,
.x402-endpoint pre {
  box-sizing: border-box;
  overflow-x: auto;
  overflow-wrap: anywhere;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: #f3f6f5;
  color: #344054;
  font-size: 0.78rem;
  line-height: 1.45;
}

.request-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.request-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.request-summary dt {
  color: #667085;
  font-weight: 800;
}

.request-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.english-tool-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 22px;
}

.english-tool-grid .form-panel {
  display: grid;
  gap: 16px;
}

.calculator-box {
  display: grid;
  gap: 20px;
}

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

.calculator-result {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid #cce8d7;
  border-radius: var(--radius);
  background: #ffffff;
}

.calculator-result span {
  color: #475467;
  font-weight: 800;
}

.calculator-result strong {
  color: var(--green);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.calculator-result p {
  margin: 0;
}

.has-revenue-autopilot {
  padding-bottom: 118px;
}

.revenue-autopilot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: min(760px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid #cce8d7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.18);
}

.revenue-autopilot-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.revenue-autopilot-copy span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.revenue-autopilot-copy strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.revenue-autopilot-copy p {
  margin: 0;
  color: #475467;
  font-size: 0.9rem;
  line-height: 1.4;
}

.revenue-autopilot-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.revenue-autopilot-actions .button {
  min-height: 42px;
  white-space: nowrap;
}

.revenue-autopilot-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #eef7f2;
  color: #475467;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.revenue-autopilot-pulse {
  animation: autopilot-pulse 760ms ease;
}

@keyframes autopilot-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-4px);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 0 22px;
  }

  .desktop-nav {
    display: none;
  }

  .tool-section,
  .commerce-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .tool-grid,
  .commerce-section,
  .hub-hero,
  .english-tool-grid,
  .seo-kit-preview,
  .x402-endpoint-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .price-area {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .button-small {
    min-width: auto;
    padding: 0 12px;
  }

  .tool-section {
    padding-top: 24px;
  }

  .section-heading h1 {
    font-size: 2rem;
  }

  .field-row,
  .preview-actions,
  .template-cards,
  .calculator-grid,
  .hub-grid,
  .share-copy-grid,
  .x402-endpoint-list,
  .seo-kit-preview,
  .seo-offer-box {
    grid-template-columns: 1fr;
  }

  .seo-box-header {
    align-items: stretch;
    flex-direction: column;
  }

  .seo-share-box {
    align-items: stretch;
    flex-direction: column;
  }

  .form-panel,
  .preview-panel,
  .email-document {
    padding: 18px;
  }

  .has-revenue-autopilot {
    padding-bottom: 236px;
  }

  .revenue-autopilot {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100vw - 24px);
    padding: 14px;
  }

  .revenue-autopilot-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-document {
    min-height: 420px;
    font-size: 0.95rem;
  }

  .commerce-section {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
