/* The website pages: landing page, pricing, free tools, and the shared site
   header and footer. Full width, calm, with generous space (2026 redesign). */

/* ---------- Layout ---------- */

.wrap,
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Site header (sticky, full width) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 max(32px, calc((100% - 1200px) / 2 + 32px));
  border-bottom: 1px solid rgba(227, 230, 233, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.site-header-inner .site-nav {
  margin-right: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.nav-link:hover,
.nav-link[aria-current] {
  background: var(--surface);
  color: var(--ink);
}

.site-nav .btn {
  margin-left: 12px;
}

.header-cta {
  flex: none;
}

.header-signin {
  flex: none;
  margin-right: -20px; /* sits close to "Start free" (the header's gap is 32px) */
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(10, 158, 142, 0.10), transparent 70%),
    linear-gradient(180deg, #fbfcfc 0%, var(--paper) 60%);
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 158, 142, 0.16);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.024em;
}

.hero-soft {
  color: var(--ink-muted);
}

.hero-lede {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-muted);
}

.hero-proof li::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 700;
  color: var(--brand);
}

/* The product window */
.hero-stage {
  max-width: 1120px;
  margin: 64px auto 0;
  padding: 0 32px;
}

.app-window {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--paper);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.6), 0 30px 80px rgba(11, 18, 21, 0.12), 0 8px 24px rgba(11, 18, 21, 0.06);
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--hairline);
  background: #fbfbfc;
}

.app-window-bar > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e2e5e8;
}

.app-window-title {
  flex: 1;
  margin-right: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: center;
}

.app-window-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 420px;
}

.mock-steps {
  display: grid;
  align-content: start;
  gap: 4px;
  margin: 0;
  padding: 20px 14px;
  border-right: 1px solid var(--hairline);
  list-style: none;
  font-size: 14px;
  color: var(--ink-muted);
}

.mock-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
}

.mock-steps li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}

.mock-steps .is-done {
  color: var(--ink);
}

.mock-steps .is-done span {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--paper);
}

.mock-steps .is-current {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

.mock-steps .is-current span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.mock-artboard {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 32px 56px;
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 18, 21, 0.08) 1px, transparent 0) 0 0 / 20px 20px,
    var(--artboard);
}

.mock-meta {
  position: absolute;
  right: 20px;
  bottom: 16px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* One little ad in frames drawn to scale (filled by landing.js) */
.specimen-frames {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: 28px 24px;
}

.spec-frame {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.spec-box {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(150deg, #0e3b40 0%, #0b1215 100%);
  box-shadow: 0 1px 2px rgba(11, 18, 21, 0.2), 0 10px 24px rgba(11, 18, 21, 0.14);
}

.spec-box::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 158, 142, 0.55), transparent 65%);
}

.spec-logo {
  position: absolute;
  top: 9%;
  left: 9%;
  width: calc(var(--u) * 0.22);
  height: calc(var(--u) * 0.06);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.spec-message {
  position: absolute;
  left: 9%;
  right: 16%;
  bottom: 12%;
  z-index: 1;
  display: grid;
  gap: calc(var(--u) * 0.035);
}

.spec-line {
  height: calc(var(--u) * 0.055);
  border-radius: 2px;
  background: #ffffff;
}

.spec-line + .spec-line {
  width: 70%;
  opacity: 0.6;
}

.spec-button {
  width: 42%;
  height: calc(var(--u) * 0.1);
  margin-top: calc(var(--u) * 0.02);
  border-radius: 999px;
  background: var(--pro);
}

.spec-label {
  font-size: 11px;
  color: var(--ink-muted);
}

/* ---------- Platforms strip ---------- */

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  padding: 28px 32px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--ink-muted);
}

.platforms ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: 5px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
}

/* ---------- Bands (full-width sections) ---------- */

.band {
  padding: 112px 0;
}

.band-grey {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.band-head {
  max-width: 620px;
}

.band-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.016em;
}

.band-head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.band-head .btn {
  margin-top: 28px;
}

.band-head-center {
  margin: 0 auto;
  text-align: center;
}

.band-foot {
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}

/* How it works */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}

.how li {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
}

.how-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}

.how h3 {
  margin-top: 20px;
  font-size: 1.25rem;
}

.how p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.how-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 120px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface);
}

.how-visual-layers {
  position: relative;
  align-items: center;
}

.how-visual-layers .layer {
  position: absolute;
  width: 110px;
  height: 70px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.layer-bg {
  transform: translate(-26px, 12px) rotate(-6deg);
  background: linear-gradient(150deg, #0e3b40, #0b1215);
}

.layer-logo {
  transform: translate(0, 0) rotate(-1deg);
  border: 1px solid var(--hairline);
  background: var(--paper) radial-gradient(circle at 24px 22px, var(--brand) 8px, transparent 9px);
}

.layer-text {
  transform: translate(26px, -12px) rotate(4deg);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(var(--ink), var(--ink)) 14px 20px / 60px 8px no-repeat,
    linear-gradient(var(--hairline-strong), var(--hairline-strong)) 14px 36px / 72px 6px no-repeat,
    linear-gradient(var(--pro), var(--pro)) 14px 50px / 36px 10px no-repeat,
    var(--paper);
}

.how-visual-sizes span {
  display: block;
  border-radius: 4px;
  background: linear-gradient(150deg, #0e3b40, #0b1215);
}

.how-visual-sizes span:nth-child(1) { width: 44px; height: 78px; }
.how-visual-sizes span:nth-child(2) { width: 56px; height: 70px; }
.how-visual-sizes span:nth-child(3) { width: 60px; height: 60px; }
.how-visual-sizes span:nth-child(4) { width: 84px; height: 44px; }

.how-visual-zip {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.zip-file {
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
}

.zip-check {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-strong);
}

/* Tools: a bento grid of different sizes */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.tile:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.tile-wide {
  grid-column: span 2;
  flex-direction: row;
  gap: 24px;
}

.tile-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.tile h3 {
  font-size: 1.25rem;
}

.tile p {
  color: var(--ink-soft);
}

.tile-link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  color: var(--brand-strong);
}

.tile-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 12px;
  background: var(--surface);
}

.tile-wide .tile-visual {
  flex: 0 0 44%;
  margin-top: 0;
}

.tv-sizes {
  align-items: flex-end;
  gap: 8px;
  padding: 24px 16px;
}

.tv-sizes span {
  border-radius: 4px;
  background: linear-gradient(150deg, #0e3b40, #0b1215);
  box-shadow: var(--shadow-md);
}

.tv-sizes span:nth-child(1) { width: 32px; height: 57px; }
.tv-sizes span:nth-child(2) { width: 42px; height: 52px; }
.tv-sizes span:nth-child(3) { width: 46px; height: 46px; }
.tv-sizes span:nth-child(4) { width: 64px; height: 34px; }
.tv-sizes span:nth-child(5) { width: 28px; height: 24px; }

.tv-concepts {
  gap: 10px;
  padding: 24px 16px;
}

.tv-concepts span {
  width: 30%;
  aspect-ratio: 1;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.tv-concepts span:nth-child(1) { background: linear-gradient(150deg, #ffb020, #e8590c); }
.tv-concepts span:nth-child(2) { background: linear-gradient(150deg, #0a9e8e, #0b1215); outline: 2px solid var(--ink); outline-offset: 3px; }
.tv-concepts span:nth-child(3) { background: linear-gradient(150deg, #e5f5f2, #9fd8cf); }

.tv-copy {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 18px;
}

.tv-line {
  height: 8px;
  border-radius: 4px;
  background: var(--hairline-strong);
}

.tv-line.short {
  width: 60%;
}

.tv-count {
  align-self: flex-end;
  font-size: 12px;
  color: var(--brand-strong);
}

.tv-phone {
  padding: 14px;
}

.tv-screen {
  display: grid;
  place-items: center;
  width: 64px;
  height: 104px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
}

.tv-screen span {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: linear-gradient(150deg, #0e3b40, #0b1215);
}

.tv-ab {
  gap: 12px;
  padding: 22px;
}

.tv-ab span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
}

.tv-ab span + span {
  background: var(--brand);
}

.tile-tools {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.tile-tools p {
  color: #aeb8be;
}

.tile-list {
  display: grid;
  gap: 2px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.tile-list a {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
}

.tile-list a:hover {
  color: #7fe0d3;
}

/* Built for non-marketers */
.features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
}

.features svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--brand-tint);
  fill: none;
  stroke: var(--brand-strong);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features h3 {
  font-size: 1.0625rem;
}

.features p {
  margin-top: 4px;
  color: var(--ink-soft);
}

/* Privacy: a dark band */
.band-dark {
  background: var(--ink);
  color: var(--paper);
}

.band-dark .band-head p {
  color: #aeb8be;
}

.privacy-points {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c7d0d5;
}

.privacy-points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.0625rem;
  color: var(--paper);
}

/* Pricing teaser */
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 48px auto 0;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
}

.price-card.is-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.price-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.price .amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price .per {
  font-size: 14px;
  color: var(--ink-soft);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.price-card li {
  position: relative;
  padding-left: 26px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230a9e8e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}

.price-card .btn {
  margin-top: auto;
}

/* Size tables */
.size-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.platform {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
}

.platform h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 1.125rem;
}

.count {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
}

.table-scroll {
  margin-top: 12px;
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* On the landing page only the essentials show: name, size and plan */
.size-tables .size-table th:nth-child(2),
.size-tables .size-table td:nth-child(2),
.size-tables .size-table th:nth-child(4),
.size-tables .size-table td:nth-child(4),
.size-tables .size-table th:nth-child(5),
.size-tables .size-table td:nth-child(5) {
  display: none;
}

.size-table th {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--hairline-strong);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  color: var(--ink-muted);
}

.size-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.size-table tr:last-child td {
  border-bottom: 0;
}

.size-table td.mono {
  font-size: 13px;
  white-space: nowrap;
}

.load-error {
  margin-top: 24px;
  color: var(--caution);
}

/* Final call to action */
.cta-band {
  padding: 112px 0;
  background:
    radial-gradient(50% 80% at 50% 100%, rgba(10, 158, 142, 0.12), transparent 70%),
    var(--paper);
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.cta-inner h2 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-brand p {
  max-width: 28ch;
  margin-top: 12px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-muted);
}

/* The simpler footer on the tool pages */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 28px;
  padding-bottom: 36px;
}

.site-footer a {
  color: inherit;
}

/* ---------- Older page sections (free tools hub, pricing notes) ---------- */

.lede {
  max-width: 56ch;
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
}

.section h2 {
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}

.section-intro {
  max-width: 60ch;
  margin-top: 10px;
  color: var(--ink-soft);
}

/* The toolkit list (free tools hub): each tool on a ruled line with its status */
.toolkit {
  display: grid;
  gap: 36px;
  margin-top: 32px;
}

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

.tool-list li {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tool-list li + li {
  margin-top: 12px;
}

.tool-list li:has(a.tool-name):hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-hover);
}

.tool-name {
  font-size: 17px;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}

a.tool-name::after {
  content: " →";
  color: var(--brand-strong);
}

.tool-desc {
  color: var(--ink-soft);
}

.tool-status {
  justify-self: end;
}

/* ---------- Plans & pricing page ---------- */

.pricing {
  padding-top: 88px;
  padding-bottom: 72px;
  text-align: center;
}

.pricing h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.024em;
}

.pricing h1 .accent {
  color: var(--ink-muted);
}

.pricing .lede {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* Monthly / Annual switch */
.billing-switch {
  display: inline-flex;
  margin: 32px 0 0;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
}

.billing-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.billing-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.billing-switch label:has(input:checked) {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.billing-switch label:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.save {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 600;
}

/* Plan cards */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 40px auto 0;
  text-align: left;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
}

.plan.is-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.plan h2 {
  font-size: 1.25rem;
}

.plan-for {
  min-height: 3em;
  font-size: 14px;
  color: var(--ink-soft);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-price .per {
  font-size: 14px;
  color: var(--ink-soft);
}

.plan-billing {
  min-height: 2.8em;
  font-size: 13px;
  color: var(--ink-soft);
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.plan-features li {
  padding-left: 26px;
  background: no-repeat 0 4px / 16px 16px;
}

.plan-features strong {
  font-weight: 600;
}

/* Ticks and crosses */
.plan-features .yes,
.compare-table td.yes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230a9e8e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan-features .no,
.compare-table td.no {
  color: var(--ink-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%23aab3b9' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.plan .btn {
  margin-top: auto;
}

.plan-message {
  min-height: 1.5em;
  margin-top: 16px;
  font-size: 15px;
  color: var(--brand-strong);
}

/* Comparison table */
.compare-table {
  width: 100%;
  min-width: 680px;
  margin-top: 24px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  text-align: left;
}

.compare-table th:first-child {
  width: 40%;
}

.compare-table thead th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline-strong);
  font-weight: 600;
  text-align: left;
}

.compare-table tbody th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

/* Yes cells show a tick; any extra words stay visible beside it */
.compare-table td.yes,
.compare-table td.no {
  padding-left: 42px;
  background-repeat: no-repeat;
  background-position: 16px 16px;
  background-size: 16px 16px;
}

.compare-table tr.group th {
  padding-top: 28px;
  border-bottom: 1px solid var(--hairline-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-notes dl {
  display: grid;
  gap: 6px;
  max-width: 64ch;
  margin: 20px 0 0;
}

.pricing-notes dt {
  margin-top: 16px;
  font-weight: 600;
}

.pricing-notes dd {
  margin: 0;
  color: var(--ink-soft);
}

.free-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.swipe-hint {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Two plans: Free and Pro */
.plans.plans-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.compare-table.compare-two {
  min-width: 520px;
}

.compare-table.compare-two th:first-child {
  width: 50%;
}

/* Pro's LinkedIn / Meta / Both picker */
.platform-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
  padding: 0;
  border: 0;
}

.platform-switch legend {
  width: 100%;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.platform-switch label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.platform-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-switch label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.platform-switch label:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .wrap,
  .container,
  .hero-inner,
  .hero-stage {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    padding: 0 16px;
  }

  .site-header-inner {
    gap: 12px;
  }

  .site-header-inner .site-nav {
    display: none;
  }

  .site-header-inner .header-cta {
    margin-left: auto;
  }

  .site-header-inner .header-signin {
    margin-left: auto;
    margin-right: -8px;
    padding: 8px 10px;
  }

  .site-header-inner .header-signin + .header-cta {
    margin-left: 0;
  }

  .site-nav .nav-link {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-stage {
    margin-top: 40px;
  }

  .app-window-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .mock-steps {
    display: none;
  }

  .mock-artboard {
    padding: 24px 12px 40px;
  }

  .specimen-frames {
    flex-wrap: wrap;
    gap: 16px 12px;
  }

  .band,
  .cta-band {
    padding: 72px 0;
  }

  .how,
  .size-tables,
  .price-cards {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .tile-wide {
    grid-column: auto;
    flex-direction: column;
  }

  .tile-wide .tile-visual {
    flex-basis: auto;
    min-height: 120px;
  }

  .tool-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px;
  }

  .tool-desc {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

@media (max-width: 720px) {
  .swipe-hint {
    display: block;
  }
}

@media (max-width: 560px) {
  .plans,
  .plans.plans-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-for,
  .plan-billing {
    min-height: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* The whole tool card is clickable when the tool has a page */
.tool-list li {
  position: relative;
}

a.tool-name::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.tool-list li:has(a.tool-name:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

a.tool-name:focus-visible {
  outline: 0;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero h1 br {
    display: none;
  }

  .mock-meta {
    display: none;
  }
}
