:root {
  --color-page: #f8f7f3;
  --color-surface: #fbfaf7;
  --color-panel: #fffdf9;
  --color-ink: #090b1a;
  --color-muted: #5d6170;
  --color-soft: #7b7f8c;
  --color-border: #d8d2c9;
  --color-border-strong: #c9c3ba;
  --color-primary: #176b5d;
  --color-primary-hover: #0f5147;
  --color-primary-soft: #e4f2ec;
  --color-green: #087a56;
  --color-green-soft: #e8f5ef;
  --color-orange: #d9772f;
  --color-orange-soft: #fff1e7;
  --color-blue-soft: #edf4ef;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell-width: 1360px;
  --radius-card: 7px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 45px rgba(24, 24, 32, 0.055);
  --shadow-card-hover: 0 22px 60px rgba(24, 24, 32, 0.095);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.subpage {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(23, 107, 93, 0.055), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(217, 119, 47, 0.06), transparent 32%),
    var(--color-page);
}

body.subpage a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 20;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--color-ink);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

body.subpage .site-shell {
  width: min(var(--shell-width), calc(100% - 48px));
  margin: 22px auto;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 7px;
}

body.subpage .site-header,
body.subpage .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
}

body.subpage .site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--color-border-strong);
}

body.subpage .brand {
  display: inline-flex;
  align-items: center;
  width: min(250px, 52vw);
}

body.subpage .brand img {
  display: block;
  width: 100%;
  height: auto;
}

body.subpage .nav,
body.subpage .footer-nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 650;
}

body.subpage .nav a {
  position: relative;
  padding: 28px 0;
}

body.subpage .nav a[aria-current="page"] {
  color: var(--color-primary);
}

body.subpage .nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 44px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}

.subpage-main {
  background:
    radial-gradient(circle at 85% 8%, rgba(217, 119, 47, 0.055), transparent 27%),
    radial-gradient(circle at 50% 42%, rgba(23, 107, 93, 0.04), transparent 36%),
    var(--color-panel);
}

.subpage-section {
  padding: 54px 46px;
  border-bottom: 1px solid var(--color-border-strong);
  background: rgba(255, 254, 250, 0.74);
}

.subpage-section.compact {
  padding-top: 42px;
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.55fr);
  gap: 0 42px;
  align-items: stretch;
  min-height: 470px;
  padding: 34px;
  border: 1px solid rgba(201, 195, 186, 0.84);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(248, 247, 243, 0.78)),
    radial-gradient(circle at 94% 15%, rgba(23, 107, 93, 0.07), transparent 34%);
}

.subpage-main > .subpage-section:first-child {
  padding-top: 30px;
  padding-bottom: 26px;
  background:
    radial-gradient(circle at 86% 12%, rgba(217, 119, 47, 0.055), transparent 26%),
    radial-gradient(circle at 18% 90%, rgba(8, 122, 86, 0.035), transparent 30%),
    var(--color-panel);
}

.subpage-main > .subpage-section:first-child .subpage-hero {
  min-height: 0;
  padding: 0 0 20px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid rgba(201, 195, 186, 0.76);
  border-radius: 0;
  background: transparent;
}

.subpage-main > .subpage-section:first-child .subpage-hero h1 {
  max-width: 780px;
  font-size: clamp(28px, 2.7vw, 36px);
  line-height: 1.08;
}

.subpage-main > .subpage-section:first-child .hero-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.subpage-main > .subpage-section:first-child .hero-actions {
  margin-top: 18px;
}

.subpage-main > .subpage-section:first-child .hero-tags {
  margin-top: 18px;
  padding-top: 12px;
}

.subpage-main > .subpage-section:first-child .price-panel {
  align-self: stretch;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(228, 242, 236, 0.26)),
    var(--color-panel);
  box-shadow: var(--shadow-card);
}

.subpage-main > .subpage-section:first-child .price-value {
  font-size: 42px;
}

.subpage-main > .subpage-section:first-child .price-note {
  min-height: 0;
  margin-top: 10px;
  line-height: 1.5;
}

.subpage-main > .subpage-section:first-child .package-switcher {
  margin-top: 14px;
}

.subpage-hero > div:first-child {
  display: flex;
  flex-direction: column;
}

.subpage-hero h1,
.section-heading h2,
.cta-card h2,
.tools-hero h1 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.035em;
}

.subpage-hero h1,
.tools-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 790;
  line-height: 1.03;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  flex: 0 0 auto;
}

.btn-icon svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.subpage .btn-primary,
body.subpage a.btn-primary {
  color: #fffefa;
  background: linear-gradient(135deg, #0f5147, var(--color-primary));
  box-shadow: 0 13px 30px rgba(15, 81, 71, 0.2);
}

.btn-ghost {
  color: var(--color-green);
  border-color: var(--color-green);
  background: transparent;
}

.btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: transparent;
}

.price-panel,
.info-panel,
.package-card,
.tool-card,
.faq-card,
.compare-wrap {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.price-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(228, 242, 236, 0.24)),
    var(--color-panel);
  box-shadow: var(--shadow-card);
}

.price-panel .label {
  margin: 0 0 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-value {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
  font-size: 52px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.price-value small {
  padding-bottom: 8px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.price-note {
  margin: 16px 0 0;
  min-height: calc(14px * 1.65 * 3);
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

.package-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.package-switcher a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.package-switcher a.active {
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.hero-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: auto;
  padding: 15px 0 0;
  border-top: 1px solid rgba(201, 195, 186, 0.72);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 20px 0 0;
  margin-right: 20px;
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 850;
}

.hero-tags span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  transform: translateY(-50%);
  background: rgba(201, 195, 186, 0.95);
}

.hero-tags span::before {
  content: "";
  width: 16px;
  height: 1px;
  margin-right: 8px;
  background: linear-gradient(90deg, var(--color-green), rgba(217, 119, 47, 0.48));
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(8, 122, 86, 0.24);
  border-radius: var(--radius-pill);
  color: var(--color-green);
  background: rgba(232, 245, 239, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(24px, 2vw, 27px);
  font-weight: 850;
  line-height: 1.18;
}

.section-heading p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

.feature-grid,
.included-grid,
.tools-grid,
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.tool-card,
.next-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 253, 249, 0.82)),
    var(--color-panel);
  box-shadow: var(--shadow-card);
}

.feature-card h3,
.tool-card h3,
.next-card h3,
.faq-card summary {
  margin: 0;
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.feature-card p,
.tool-card p,
.next-card p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-icon {
  position: relative;
  display: inline-flex;
  width: auto;
  height: 22px;
  margin-bottom: 18px;
  align-items: center;
  padding-left: 30px;
  border-radius: 0;
  color: var(--color-primary);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.feature-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--color-primary), rgba(217, 119, 47, 0.52));
}

.feature-icon::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(23, 107, 93, 0.72);
}

.included-grid {
  grid-template-columns: repeat(4, 1fr);
}

.included-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 86px;
  padding: 17px;
  border: 1px solid rgba(216, 210, 201, 0.86);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(232, 245, 239, 0.28)),
    var(--color-panel);
}

.included-item span {
  position: relative;
  display: block;
  width: 20px;
  height: 28px;
  flex: 0 0 auto;
  color: transparent;
  font-size: 0;
}

.included-item span::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(23, 107, 93, 0.72) 18%, rgba(217, 119, 47, 0.48) 82%, transparent);
}

.included-item span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(23, 107, 93, 0.52);
  border-radius: 50%;
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(23, 107, 93, 0.06);
}

.included-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 850;
}

.included-item small {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.45;
}

.compare-wrap {
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(216, 210, 201, 0.78);
  text-align: left;
}

.comparison-table th {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--color-ink);
  font-weight: 650;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-card {
  padding: 0;
  overflow: hidden;
}

.faq-card summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 850;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-card p::before {
  content: none;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(23, 107, 93, 0.22);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 92% 0%, rgba(23, 107, 93, 0.12), transparent 32%),
    rgba(255, 253, 249, 0.9);
}

.cta-card h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 790;
  line-height: 1.12;
}

.cta-card p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

.tools-hero {
  max-width: 900px;
}

.tools-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.tools-sidebar {
  display: grid;
  gap: 10px;
}

.tool-category {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(23, 107, 93, 0.035), rgba(255, 253, 249, 0.76));
}

.tool-category strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 850;
}

.tool-category span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 650;
}

.tools-list {
  display: grid;
  gap: 14px;
}

.tool-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 107, 93, 0.34);
  box-shadow: var(--shadow-card-hover);
}

.tool-type {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tool-meta {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tool-arrow {
  color: var(--color-primary);
}

.notice {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(8, 122, 86, 0.18);
  border-radius: var(--radius-card);
  color: var(--color-muted);
  background: rgba(232, 245, 239, 0.55);
  font-size: 14px;
  line-height: 1.65;
}

body.subpage .site-footer {
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 0;
  background: rgba(255, 253, 249, 0.82);
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

body.subpage .footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 850;
}

body.subpage .footer-brand p,
body.subpage .footer-copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
}

body.subpage .footer-nav {
  flex-wrap: wrap;
  gap: 12px 22px;
}

body.subpage .footer-areas,
body.subpage .footer-legal {
  padding-top: 2px;
  color: var(--color-muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  body.subpage .site-shell {
    width: min(100% - 24px, var(--shell-width));
    margin: 12px auto;
  }

  body.subpage .site-header,
  body.subpage .site-footer,
  .subpage-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.subpage .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 12px;
  }

  body.subpage .nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  body.subpage .nav a {
    padding: 8px 0 12px;
  }

  body.subpage .nav a[aria-current="page"]::after {
    bottom: 4px;
  }

  .subpage-hero,
  .tools-layout,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    gap: 28px;
    min-height: auto;
    padding: 28px;
  }

  .price-panel {
    padding: 22px;
    border: 1px solid var(--color-border);
  }

  .subpage-main > .subpage-section:first-child .price-panel {
    padding: 22px;
  }

  .feature-grid,
  .feature-grid.two,
  .included-grid,
  .tools-grid,
  .next-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .package-switcher {
    grid-template-columns: 1fr;
  }

  .cta-card {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  body.subpage .site-shell {
    width: min(100% - 24px, var(--shell-width));
    margin: 12px auto;
    border-right: 1px solid var(--color-border-strong);
    border-left: 1px solid var(--color-border-strong);
    border-radius: var(--radius-card);
  }

  .subpage-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .subpage-hero {
    min-height: auto;
    padding: 22px;
  }

  .subpage-hero h1,
  .tools-hero h1 {
    font-size: 32px;
  }

  .subpage-main > .subpage-section:first-child {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .subpage-main > .subpage-section:first-child .subpage-hero {
    gap: 16px;
    padding-bottom: 16px;
  }

  .subpage-main > .subpage-section:first-child .subpage-hero h1 {
    font-size: 28px;
  }

  .subpage-main > .subpage-section:first-child .hero-lead {
    font-size: 13px;
    line-height: 1.5;
  }

  .subpage-main > .subpage-section:first-child .hero-actions {
    margin-top: 14px;
  }

  .subpage-main > .subpage-section:first-child .hero-actions .btn {
    width: 100%;
  }

  .subpage-main > .subpage-section:first-child .hero-actions .btn-ghost {
    display: none;
  }

  .subpage-main > .subpage-section:first-child .price-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    align-items: end;
    padding: 18px;
  }

  .subpage-main > .subpage-section:first-child .price-panel .label {
    margin: 0;
  }

  .subpage-main > .subpage-section:first-child .price-value {
    justify-self: end;
    font-size: 36px;
  }

  .subpage-main > .subpage-section:first-child .price-note,
  .subpage-main > .subpage-section:first-child .package-switcher {
    display: none;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-tags span {
    min-height: 24px;
    margin-right: 0;
    padding-right: 0;
  }

  .hero-tags span:not(:last-child)::after {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .price-panel,
  .feature-card,
  .tool-card,
  .next-card,
  .cta-card {
    padding: 20px;
  }

  .tool-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tool-arrow {
    display: none;
  }

  .compare-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 720px;
  }
}
