:root {
  --bg: #f8fafc;
  --bg-soft: #f7faf8;
  --surface: #ffffff;
  --surface-muted: #edf6f3;
  --surface-raised: #fbfefd;
  --ink: #111827;
  --muted: #475569;
  --muted-strong: #334155;
  --line: #d8e1dd;
  --line-strong: #b7c8c1;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #d9f2ed;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --app-bg: #0b1020;
  --app-panel: #1f2937;
  --app-editor: #050505;
  --app-line: rgba(226, 232, 240, 0.16);
  --app-text: #f8fafc;
  --app-muted: #94a3b8;
  --warn-bg: #fff4d8;
  --warn-ink: #6a4a00;
  --error-bg: #fff0ee;
  --error-ink: #8a1f14;
  --shadow: 0 22px 54px rgba(17, 24, 39, 0.11);
  --shadow-soft: 0 12px 28px rgba(17, 24, 39, 0.07);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 58%, #eef7f4 100%);
  background-size:
    56px 56px,
    56px 56px,
    auto;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem max(1rem, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(216, 225, 221, 0.82);
  background: rgba(248, 250, 252, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 0.78rem;
  height: 0.78rem;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-soft), #ffffff);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.brand:hover::before,
.brand:focus-visible::before,
.brand[aria-current="page"]::before {
  background: linear-gradient(135deg, #2dd4bf 0%, var(--accent) 100%);
  box-shadow:
    0 0 0 4px rgba(15, 118, 110, 0.16),
    0 0 18px rgba(15, 118, 110, 0.38);
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.site-nav a {
  min-height: 2.25rem;
  padding: 0.42rem 0.68rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
  background: rgba(217, 242, 237, 0.8);
}

.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
  background: rgba(217, 242, 237, 0.92);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.16) inset;
}

main {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

section {
  margin: 0;
}

.hero,
.pricing-intro {
  position: relative;
  display: grid;
  align-content: center;
}

.hero {
  min-height: clamp(25rem, 72vh, 43rem);
  padding: clamp(3.25rem, 8vw, 6.4rem) 0 clamp(2.4rem, 6vw, 4.4rem);
}

.pricing-intro {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.35rem, 3vw, 2rem);
}

.hero-with-visual {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-with-visual > * {
  min-width: 0;
}

.hero-with-visual::before {
  position: absolute;
  top: clamp(1.2rem, 5vw, 3.5rem);
  right: 0;
  z-index: -1;
  width: min(100%, 58rem);
  padding: 0.7rem 1rem;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  color: rgba(15, 118, 110, 0.24);
  background: rgba(255, 255, 255, 0.52);
  content: "EN oxygen  /  ES oxigeno  /  PT oxigenio  /  FR oxygene  /  DE Sauerstoff";
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
}

.hero h1,
.pricing-intro h1,
.legal h1,
.checkout h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.8vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.pricing-intro h1,
.legal h1,
.checkout h1 {
  max-width: 15ch;
}

.hero p,
.pricing-intro p {
  max-width: 43rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.cta,
.plan-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--accent-strong);
  border-radius: 6px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.secondary-cta {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.cta:hover,
.cta:focus-visible,
.plan-cta:hover,
.plan-cta:focus-visible {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.23);
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgba(37, 99, 235, 0.32);
}

.product-mockup {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 32%),
    var(--app-bg);
  box-shadow:
    0 28px 70px rgba(17, 24, 39, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.mockup-toolbar {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem;
  border-bottom: 1px solid var(--app-line);
  background: rgba(31, 41, 55, 0.92);
}

.mockup-toolbar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #64748b;
  opacity: 0.9;
}

.mockup-toolbar span:nth-child(1) {
  background: #ef4444;
}

.mockup-toolbar span:nth-child(2) {
  background: #f59e0b;
}

.mockup-toolbar span:nth-child(3) {
  background: #14b8a6;
}

.mockup-editor {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  color: var(--app-text);
}

.mockup-label {
  margin: 0 0 0.8rem;
  color: var(--app-muted);
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
}

.mockup-note-area {
  position: relative;
  min-width: 0;
  max-width: 100%;
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid var(--app-line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    var(--app-editor);
  background-size: 4.5rem 100%;
  box-shadow: 0 0 0 1px rgba(5, 5, 5, 0.7) inset;
}

.mockup-note-area p {
  margin: 1rem 0 0;
}

.mockup-note-area > p:first-child {
  max-width: 22rem;
  margin-top: 0;
  color: #e2e8f0;
}

.typed-token {
  display: inline-block;
  padding-right: 0.15rem;
  border-right: 2px solid var(--blue);
  color: var(--app-text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.suggestion-list {
  display: grid;
  gap: 0.55rem;
  max-width: 100%;
  width: min(100%, 22rem);
  margin: 0.85rem 0 0 1.35rem;
  padding: 0;
  list-style: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.suggestion-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.7rem;
  border: 1px solid #d7dde5;
  border-radius: 6px;
  color: var(--ink);
  background: #ffffff;
}

.suggestion-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-list span {
  color: #64748b;
  font-size: 0.86rem;
}

.definition-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  min-width: 0;
}

.definition-search span {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  color: var(--app-text);
  background: rgba(15, 23, 42, 0.88);
  font-weight: 650;
}

.definition-search span:last-child {
  justify-content: center;
  min-width: 5.5rem;
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.definition-result {
  padding: 1rem;
  border: 1px solid var(--app-line);
  border-radius: var(--radius);
  color: var(--app-text);
  background: rgba(17, 24, 39, 0.92);
}

.definition-result p {
  margin: 0.4rem 0 0;
  color: #dbeafe;
}

.definition-result .mockup-label {
  margin-top: 0;
}

.definition-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.definition-columns p {
  min-width: 0;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.68);
}

.definition-columns span {
  display: block;
  color: #93c5fd;
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
}

.definition-columns strong {
  display: block;
  margin: 0.1rem 0 0.3rem;
  color: #ffffff;
}

.product-sections {
  display: grid;
  gap: clamp(3rem, 8vw, 5.5rem);
  padding: clamp(2.4rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.product-section-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(16rem, 0.72fr);
}

.product-section-reverse .product-copy {
  order: 2;
}

.product-section-reverse .section-mockup {
  order: 1;
}

.product-copy {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  text-transform: none;
}

.product-copy h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.product-copy p:not(.section-kicker) {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-mockup {
  min-width: 0;
}

.section-mockup .mockup-editor {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.section-mockup .mockup-note-area {
  min-height: 15rem;
}

.autocomplete-section .section-kicker {
  color: var(--accent-strong);
}

.autocomplete-mockup {
  width: min(100%, 54rem);
  justify-self: center;
}

.autocomplete-mockup .mockup-note-area {
  min-height: 12.5rem;
}

.autocomplete-mockup .mockup-note-area > p:first-child {
  max-width: none;
}

.autocomplete-mockup .suggestion-list {
  width: min(100%, 19rem);
  margin-top: 0.45rem;
  margin-left: clamp(13.4rem, 31vw, 21rem);
}

.dictionary-mockup .mockup-editor {
  gap: 0.8rem;
}

.dictionary-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.48);
}

.dictionary-table .dictionary-row {
  grid-template-columns: 2.2rem minmax(0, 1fr) 4.5rem 5.5rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
}

.dictionary-table .dictionary-row span:nth-child(1),
.dictionary-table .dictionary-row span:nth-child(3),
.dictionary-table .dictionary-row span:nth-child(4) {
  text-align: center;
}

.dictionary-table .dictionary-row.is-selected {
  margin-right: 0;
  margin-left: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0;
}

.dictionary-head {
  color: #93c5fd;
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.dictionary-detail {
  padding: 1rem;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.92);
}

.dictionary-detail h3 {
  margin: 0 0 0.55rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.dictionary-detail h3 span {
  color: #93c5fd;
}

.dictionary-detail p {
  margin: 0.35rem 0 0;
  color: #dbeafe;
}

.features,
.trust,
.about,
.plans,
.packs,
.download,
.download-panel,
.support-grid {
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.features h2,
.trust h2,
.about h2,
.plans h2,
.packs h2,
.download h2,
.download-panel h2,
.support-card h2,
.legal h2 {
  max-width: 36rem;
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.features > ul,
.plan-grid,
.plan-includes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.features > ul,
.plan-grid {
  display: grid;
  gap: 1rem;
}

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

.features li,
.plan-card,
.support-card {
  position: relative;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.features li {
  display: flex;
  flex-direction: column;
}

.features li::before,
.plan-card::before,
.support-card::before {
  position: absolute;
  top: 0;
  right: 1rem;
  left: 1rem;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  content: "";
}

.feature-visual {
  min-height: 9rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 6px;
  color: var(--app-text);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.15), transparent 38%),
    var(--app-bg);
  font-size: 0.86rem;
}

.feature-visual p,
.feature-visual ul {
  margin: 0;
  color: #dbeafe;
}

.mini-autocomplete p {
  padding: 0.7rem;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.72);
}

.mini-autocomplete ul {
  display: grid;
  gap: 0.4rem;
  width: min(100%, 17rem);
  margin: 0.7rem 0 0 auto;
  padding: 0;
  list-style: none;
}

.mini-autocomplete li {
  padding: 0.45rem 0.55rem;
  border: 1px solid #d7dde5;
  border-radius: 5px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 700;
}

.mini-search {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--app-text);
  font-weight: 750;
}

.mini-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.mini-definition-grid p {
  padding: 0.6rem;
  border: 1px solid var(--app-line);
  border-radius: 5px;
  background: rgba(17, 24, 39, 0.86);
}

.mini-definition-grid strong {
  display: block;
  color: #93c5fd;
  font-size: 0.76rem;
}

.dictionary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.6rem 4.2rem;
  gap: 0.55rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--app-line);
}

.dictionary-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dictionary-row:first-child {
  color: #93c5fd;
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.dictionary-row.is-selected {
  margin-right: -0.35rem;
  margin-left: -0.35rem;
  padding-right: 0.35rem;
  padding-left: 0.35rem;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.45);
}

.mini-dictionary p {
  margin-top: 0.75rem;
  color: #dbeafe;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0;
}

.test-download-panel {
  align-items: flex-start;
}

.download-meta {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.download-meta div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
}

.download-meta dt {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.download-meta dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.download-checksum {
  overflow-wrap: anywhere;
  font-family: "JetBrains Mono", "IBM Plex Mono", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}

.download {
  display: grid;
  justify-items: center;
  text-align: center;
}

.download h2,
.download p {
  margin-right: auto;
  margin-left: auto;
}

.download .secondary-cta {
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-color: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.2);
}

.download .secondary-cta:hover,
.download .secondary-cta:focus-visible {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.24);
}

.support-card h2 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.support-contact {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.support-email {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration-color: rgba(15, 118, 110, 0.35);
}

.support-email:hover,
.support-email:focus-visible {
  color: var(--accent-strong);
}

.copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
}

.copy-email:hover,
.copy-email:focus-visible,
.copy-email.is-copied {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

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

.features h3,
.plan-card h3 {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.features p,
.trust p,
.about p,
.download p,
.download-panel p,
.support-card p,
.packs-note,
.pricing-disclaimer,
.legal p,
.legal li {
  color: var(--muted);
}

.features p,
.trust p,
.about p,
.download p,
.download-panel p,
.support-card p,
.packs-note,
.pricing-disclaimer {
  max-width: 46rem;
  margin: 0.6rem 0 0;
}

.download h2,
.download p {
  margin-right: auto;
  margin-left: auto;
}

.download .download-action {
  margin: 1rem auto 0.9rem;
}

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

.plans,
.packs {
  padding-top: clamp(2.8rem, 6vw, 5rem);
}

.packs-note {
  width: 100%;
  max-width: none;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-color: rgba(20, 184, 166, 0.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.2), transparent 34%),
    linear-gradient(145deg, #101827 0%, #0b2a2a 100%);
  box-shadow:
    0 18px 42px rgba(17, 24, 39, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.52);
  box-shadow:
    0 22px 48px rgba(17, 24, 39, 0.24),
    0 0 0 1px rgba(45, 212, 191, 0.18) inset;
}

.plan-card h3 {
  color: #f8fafc;
}

.plan-price {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.plan-price span {
  display: inline-block;
  color: #a7f3d0;
  font-size: 0.95rem;
  font-weight: 650;
}

.plan-includes {
  display: grid;
  gap: 0.55rem;
}

.plan-includes li {
  position: relative;
  padding-left: 1.05rem;
  color: #dbeafe;
}

.plan-includes li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.6rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.35);
}

.download-soon,
.pricing-disclaimer,
.checkout-status {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(237, 246, 243, 0.8);
}

.download-soon {
  width: fit-content;
  max-width: 100%;
  color: var(--accent-strong);
  font-weight: 750;
}

.pricing-disclaimer {
  max-width: none;
  color: var(--warn-ink);
  background: var(--warn-bg);
  border-color: rgba(245, 158, 11, 0.28);
}

.legal {
  max-width: 820px;
  padding-top: clamp(3rem, 8vw, 6rem);
}

.legal h1 {
  font-size: clamp(2.15rem, 4vw, 4rem);
}

.legal-updated {
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-weight: 650;
}

.legal section {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.legal ul {
  padding-left: 1.2rem;
}

.checkout {
  display: grid;
  place-content: center;
  min-height: 100vh;
  width: min(100%, 680px);
  padding: 2rem 1rem;
  text-align: center;
}

.checkout h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(2.15rem, 6vw, 4rem);
}

.checkout-status,
.checkout-error {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  text-align: left;
}

.checkout-error {
  padding: 1rem;
  border: 1px solid rgba(138, 31, 20, 0.2);
  border-radius: var(--radius);
  color: var(--error-ink);
  background: var(--error-bg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-footer p {
  margin: 0;
  font-weight: 750;
}

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .pricing-intro {
    min-height: auto;
  }

  .features > ul,
  .plan-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-with-visual,
  .product-section,
  .product-section-reverse,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .product-section-reverse .product-copy,
  .product-section-reverse .section-mockup {
    order: initial;
  }

  .hero-with-visual {
    display: grid;
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-meta div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .site-nav a {
    padding-right: 0.45rem;
    padding-left: 0.45rem;
    font-size: 0.9rem;
  }

  main {
    width: 100%;
    max-width: 100%;
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .hero,
  .hero-with-visual,
  .hero-with-visual > div,
  .hero p {
    max-width: 100%;
  }

  .features li,
  .plan-card,
  .support-card,
  .download-soon,
  .pricing-disclaimer,
  .checkout-status,
  .checkout-error {
    padding: 0.9rem;
  }

  .definition-columns,
  .mini-definition-grid {
    grid-template-columns: 1fr;
  }

  .mockup-editor {
    padding: 0.9rem;
  }

  .mockup-note-area {
    padding: 0.85rem;
  }

  .suggestion-list {
    width: 100%;
    margin-left: 0;
  }

  .autocomplete-mockup .suggestion-list {
    width: 100%;
    margin-left: 0;
  }

  .suggestion-list li {
    padding: 0.55rem 0.65rem;
  }

  .definition-search {
    grid-template-columns: 1fr;
  }

  .definition-search span:last-child {
    min-width: 0;
  }

  .dictionary-table .dictionary-row {
    grid-template-columns: 1.6rem minmax(0, 1fr) 2.6rem 3.5rem;
    gap: 0.35rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }
}
