:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #52635d;
  --paper: #f7faf8;
  --surface: #ffffff;
  --line: #d9e5df;
  --mint: #57d5a0;
  --coral: #ff8d6b;
  --yellow: #f2c94c;
  font-family: Aptos, "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
}

a {
  color: #116b4a;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #0a4933;
}

header {
  background:
    linear-gradient(rgba(87, 213, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 213, 160, 0.08) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  color: var(--paper);
}

.topbar,
.hero,
main,
footer > div {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-bottom: 1px solid rgba(217, 229, 223, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: #d9e5df;
  font-size: 0.92rem;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 56px;
  min-height: 390px;
  padding-block: 64px;
}

.hero img {
  width: min(100%, 220px);
  height: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 700;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: #c3d0ca;
  font-size: 1.15rem;
}

main {
  padding-block: 64px 88px;
}

.notice {
  margin-bottom: 40px;
  padding: 18px 20px;
  border-left: 5px solid var(--yellow);
  background: #fff9df;
}

.notice strong {
  display: block;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--green);
  color: #ffffff;
}

.hero .button-link {
  background: var(--mint);
  color: var(--ink);
}

.hero .button-link:hover,
.hero .button-link:focus-visible {
  background: #ffffff;
  color: var(--ink);
}

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

.hero .text-link {
  color: #ffffff;
  font-weight: 700;
}

section + section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 18px;
  font-size: 1.8rem;
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

p,
li {
  max-width: 820px;
}

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

.feature {
  overflow: hidden;
  border-top: 6px solid var(--mint);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(23, 34, 31, 0.07);
}

.feature img {
  display: block;
  width: 100%;
  aspect-ratio: 580 / 330;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.feature h2,
.feature p {
  margin-inline: 24px;
}

.feature h2 {
  margin-top: 24px;
}

.feature p {
  margin-bottom: 24px;
}

.feature:nth-child(2) {
  border-color: var(--coral);
}

.feature:nth-child(3) {
  border-color: var(--yellow);
}

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

.use-case-grid h3 {
  margin-top: 0;
}

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

.metric {
  padding: 20px;
  border-top: 5px solid var(--mint);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(23, 34, 31, 0.07);
}

.metric:nth-child(2) {
  border-color: var(--coral);
}

.metric:nth-child(3) {
  border-color: var(--yellow);
}

.metric:nth-child(4) {
  border-color: #7ab4e8;
}

.metric strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.35;
}

.callout {
  padding: 24px;
  border-left: 5px solid var(--mint);
  background: #edf5f1;
}

.callout p:last-child {
  margin-bottom: 0;
}

.cta-band {
  padding: 40px;
  border-top: 0;
  background: #e7f7ef;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf5f1;
}

code {
  padding: 0.12em 0.35em;
  background: #e7efeb;
  font-family: Consolas, monospace;
  font-size: 0.92em;
}

footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  background: #eaf1ed;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding-block: 28px 36px;
  }

  .hero img {
    width: 88px;
    order: -1;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 14px;
  }

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

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

  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-band {
    padding: 28px 20px;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .pricing-table {
    display: block;
    overflow: visible;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .pricing-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
  }

  .pricing-table td {
    display: grid;
    grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
    overflow-wrap: anywhere;
  }

  .pricing-table td::before {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .pricing-table td:nth-child(1)::before {
    content: "User band";
  }

  .pricing-table td:nth-child(2)::before {
    content: "Monthly rate";
  }

  .pricing-table td:nth-child(3)::before {
    content: "Monthly total";
  }

  .pricing-table td:nth-child(4)::before {
    content: "Annual total";
  }
}
