:root {
  --ink: #132522;
  --muted: #5f6e6a;
  --paper: #f5f3ed;
  --card: #fffdf8;
  --line: #d8ddd6;
  --green: #204c3e;
  --green-dark: #17362f;
  --lime: #d9ee73;
  --purple: #715482;
  --shadow: 0 20px 65px rgba(18, 44, 37, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 6%, rgba(113, 84, 130, 0.1), transparent 27rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
.hero,
.section,
.trust-strip,
.contact-section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
}

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

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--purple);
}

.nav-contact {
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 100px;
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 80px 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2,
.hero-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(54px, 7.2vw, 96px);
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 23px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: white;
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.65);
}

.hero-card {
  position: relative;
  padding: 35px;
  overflow: hidden;
  border-radius: 30px 30px 30px 8px;
  background: var(--green);
  box-shadow: var(--shadow);
  color: white;
}

.hero-card::after {
  content: "T";
  position: absolute;
  right: -12px;
  bottom: -62px;
  color: rgba(217, 238, 115, 0.11);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 190px;
  font-style: italic;
  line-height: 1;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce9e1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217, 238, 115, 0.12);
}

.hero-card h2 {
  margin-top: 50px;
  font-size: 36px;
}

.hero-card p {
  color: #c9d9d2;
}

.hero-card a {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid var(--lime);
  color: var(--lime);
  font-weight: 750;
}

.hero-card small {
  display: block;
  margin-top: 30px;
  color: #94aaa2;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  padding: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span + span {
  border-left: 1px solid var(--line);
}

.section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 52px;
}

.section h2,
.contact-section h2 {
  max-width: 680px;
  font-size: clamp(40px, 5vw, 62px);
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  list-style: none;
}

.steps li {
  min-height: 260px;
  padding: 30px;
  background: var(--card);
}

.steps li > span {
  color: var(--purple);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.steps h3 {
  margin: 24px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78em;
}

.manual-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding-top: 0;
}

.manual-card {
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.manual-card h2 {
  font-size: clamp(36px, 4vw, 50px);
}

.manual-card-dark {
  border: 0;
  background: var(--green-dark);
  color: white;
}

.manual-card-dark .eyebrow {
  color: var(--lime);
}

.shortcut-list {
  margin: 44px 0 0;
}

.shortcut-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.shortcut-list dt {
  color: #d0ded8;
}

.shortcut-list dd {
  margin: 0;
  color: var(--lime);
  font-size: 14px;
}

.syntax-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.syntax-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.syntax-list code {
  color: var(--green);
  font-weight: 750;
}

.syntax-list span {
  color: var(--muted);
}

.examples-section {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: #e8eadf;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.example-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  padding: 28px;
  border: 1px solid rgba(32, 76, 62, 0.12);
  border-radius: 22px;
  background: var(--card);
}

.example-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.example-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.example-card pre {
  margin: 28px 0 0;
  padding: 20px;
  overflow-x: auto;
  border-radius: 13px;
  background: var(--green-dark);
  color: #eff5c9;
  font-size: 13px;
  line-height: 1.75;
}

.troubleshoot {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.troubleshoot-lead {
  max-width: 500px;
  color: var(--muted);
  font-size: 18px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.checklist li:last-child {
  border-bottom: 1px solid var(--line);
}

.checklist span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.faq-section {
  padding-top: 40px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 4px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.5vw, 27px);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: var(--purple);
  font-family: ui-sans-serif, sans-serif;
  font-size: 24px;
  font-weight: 400;
  transition: transform 160ms ease;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  max-width: 800px;
  margin: -7px 0 28px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  margin-bottom: 70px;
  padding: clamp(48px, 7vw, 85px);
  border-radius: 36px;
  background: var(--green);
  color: white;
}

.contact-section .eyebrow {
  color: var(--lime);
}

.contact-section > div > p:last-child {
  max-width: 590px;
  color: #c9d9d2;
}

.contact-card {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card > span {
  display: block;
  color: #9fb5ad;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card > a:first-of-type {
  display: inline-block;
  margin-top: 6px;
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.5vw, 30px);
}

.contact-card hr {
  margin: 27px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card strong {
  display: block;
  margin-top: 7px;
  font-size: 18px;
}

.contact-card address {
  margin-top: 9px;
  color: #c9d9d2;
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.company-link {
  display: inline-block;
  margin-top: 10px;
  color: #c9d9d2;
  font-size: 14px;
}

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer > a:last-child {
  justify-self: end;
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 980px) {
  nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-card {
    max-width: 520px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .manual-grid,
  .troubleshoot,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .example-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .section,
  .trust-strip,
  .contact-section,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    padding-block: 55px 70px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .steps li {
    min-height: 210px;
  }

  .steps h3 {
    margin-top: 24px;
  }

  .manual-grid {
    padding-top: 0;
  }

  .syntax-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-section {
    width: calc(100% - 30px);
    padding: 34px 24px;
    border-radius: 26px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-block: 35px;
    text-align: center;
  }

  .footer-brand,
  footer > a:last-child {
    justify-self: center;
  }
}

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

  * {
    transition: none !important;
  }
}
