:root {
  color-scheme: light;
  --text: #111;
  --muted: #555;
  --line: #d7d7d7;
  --soft: #f6f6f6;
  --link: #0645ad;
}

* {
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

body {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px 40px;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

p,
li {
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  width: 30%;
  background: var(--soft);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 28px;
}

.site-name {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: 0 0 28px;
  margin-bottom: 28px;
}

.lead {
  padding-top: 4px;
}

.lead p {
  font-size: 1.08rem;
  max-width: 720px;
}

.button-link {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: #fff;
}

.tool-grid,
.price-list {
  display: grid;
  gap: 14px;
}

.tool-card,
.price-item,
.note-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: #fff;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.status {
  display: inline-block;
  border: 1px solid #8c8c8c;
  border-radius: 999px;
  padding: 1px 8px;
  color: #333;
  font-size: 0.82rem;
  line-height: 1.6;
  white-space: nowrap;
  background: var(--soft);
}

.status-experiment {
  border-color: #9a7b00;
  background: #fff8d7;
}

.status-plan {
  border-color: #777;
  background: #f0f0f0;
}

.plain-list {
  padding-left: 1.25rem;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.back-link,
.site-footer {
  color: var(--muted);
}

.site-footer {
  padding-top: 8px;
}

@media (min-width: 760px) {
  .tool-grid,
  .price-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    display: block;
  }

  .nav-list {
    margin-top: 10px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .card-head {
    display: block;
  }

  .status {
    margin-bottom: 10px;
  }
}
