:root {
  --ink: #101012;
  --muted: #5d5f66;
  --line: #e5e5e9;
  --paper: #ffffff;
  --soft: #f7f7f6;
  --coral: #ff4b38;
  --coral-dark: #e43d2d;
  --mint: #8ee8c8;
  --mint-strong: #4ab995;
  --shadow: 0 24px 70px rgba(12, 12, 15, 0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 0 clamp(20px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  color: #fff;
  background: linear-gradient(140deg, #070707 0 48%, var(--mint) 49% 57%, #070707 58%);
  clip-path: polygon(50% 0, 100% 100%, 72% 100%, 61% 73%, 38% 73%, 28% 100%, 0 100%);
  font-size: 0;
}

.desktop-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--coral);
}

.header-cta,
.button,
.license-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary,
.license-card button {
  justify-self: end;
  background: var(--coral);
  color: #fff;
}

.header-cta:hover,
.button.primary:hover,
.license-card button:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.button.secondary {
  gap: 12px;
  border-color: var(--ink);
  background: #fff;
}

.button.secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 32px clamp(20px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(62px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy em {
  color: var(--coral);
  font-style: italic;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 34px 0 42px;
}

.play-dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.play-dot::after {
  content: "";
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 22px;
  max-width: 610px;
}

.quick-points div {
  display: grid;
  gap: 7px;
  justify-items: center;
  text-align: center;
}

.quick-points strong {
  font-size: 12px;
}

.quick-points small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.line-icon,
.step-icon,
.category-icon,
.license-icon,
.doc-icon,
.video-icon,
.community-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: currentColor;
  color: var(--ink);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.download-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4v16'/%3E%3Cpath d='m9 14 7 7 7-7'/%3E%3Cpath d='M6 26h20'/%3E%3C/g%3E%3C/svg%3E");
}

.phone-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='3' width='12' height='26' rx='2'/%3E%3Cpath d='M14 6h4M15 25h2'/%3E%3C/g%3E%3C/svg%3E");
}

.palette-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4a12 12 0 0 0 0 24h2.5a2.5 2.5 0 0 0 0-5H17a2 2 0 0 1 0-4h2a9 9 0 0 0 0-18h-3z'/%3E%3Ccircle cx='10' cy='14' r='1'/%3E%3Ccircle cx='13' cy='9' r='1'/%3E%3Ccircle cx='20' cy='10' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.cloud-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 25h14a5 5 0 0 0 0-10 8 8 0 0 0-15-3 6.5 6.5 0 0 0 1 13z'/%3E%3Cpath d='M16 16v8m0-8-4 4m4-4 4 4'/%3E%3C/g%3E%3C/svg%3E");
}

.launch-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m27 5-9 22-5-10-10-5 24-7zM13 17l14-12'/%3E%3C/svg%3E");
}

.catalog-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.panel-head {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2,
.section-head h2 {
  margin: 0;
  font-size: 21px;
}

.panel-head a,
.section-head a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.filters {
  display: grid;
  grid-template-columns: repeat(5, max-content) 1fr;
  gap: 12px;
  padding: 16px 24px 14px;
}

.filter,
.sort-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sort-button {
  justify-self: end;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.template-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: opacity 180ms ease, transform 180ms ease;
}

.featured-template {
  border-color: rgba(255, 75, 56, 0.38);
  box-shadow: 0 16px 34px rgba(255, 75, 56, 0.12);
}

.template-card.selected-product {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px rgba(255, 75, 56, 0.2), 0 16px 34px rgba(255, 75, 56, 0.12);
}

.template-card.is-hidden {
  display: none;
}

.template-card:hover {
  transform: translateY(-3px);
}

.phone {
  position: relative;
  min-height: 294px;
  overflow: hidden;
  border: 8px solid #0a0a0b;
  border-radius: 28px;
  background: #ddd;
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.24);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.2), transparent 38%);
  pointer-events: none;
}

.phone-bar {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 52px;
  height: 8px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.screen-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  min-height: 294px;
  padding: 52px 14px 14px;
  color: #fff;
}

.screen-content span,
.screen-content strong {
  max-width: 120px;
  font-size: 22px;
  line-height: 0.98;
}

.screen-content button {
  min-height: 30px;
  margin-top: 18px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.trade {
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=520&q=80") center / cover;
}

.buildcraft {
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.74), rgba(20, 12, 4, 0.18)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=520&q=80") center / cover;
}

.buildcraft .screen-content button {
  background: #8ee8c8;
  color: #07120e;
}

.plumbpro {
  background:
    linear-gradient(110deg, rgba(8, 43, 76, 0.82), rgba(8, 43, 76, 0.18)),
    url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=520&q=80") center / cover;
}

.sparkpro {
  background:
    linear-gradient(110deg, rgba(18, 22, 28, 0.82), rgba(18, 22, 28, 0.18)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=520&q=80") center / cover;
}

.sparkpro .screen-content button {
  background: #f5c64a;
  color: #111;
}

.paintpro {
  background:
    linear-gradient(110deg, rgba(42, 26, 38, 0.76), rgba(42, 26, 38, 0.14)),
    url("https://images.unsplash.com/photo-1562259929-b4e1fd3aef09?auto=format&fit=crop&w=520&q=80") center / cover;
}

.paintpro .screen-content button {
  background: #fff;
  color: #111;
}

.fitness {
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 255, 255, 0.15), transparent 18%),
    linear-gradient(110deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.24)),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=520&q=80") center / cover;
}

.plants {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0 52%, rgba(241, 248, 239, 0.98) 53%),
    url("https://images.unsplash.com/photo-1485955900006-10f4d324d411?auto=format&fit=crop&w=520&q=80") bottom center / cover;
}

.plants .screen-content {
  color: #171717;
}

.plants .screen-content button {
  background: #121212;
}

.travel {
  background:
    linear-gradient(180deg, rgba(0, 94, 160, 0.28), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=520&q=80") center / cover;
}

.dining {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0 40%, rgba(255, 250, 246, 0.92) 41%),
    url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=520&q=80") bottom center / cover;
}

.dining .screen-content {
  color: #111;
}

.template-card h3,
.template-card p,
.template-card .price {
  margin: 0;
}

.template-card h3 {
  font-size: 16px;
}

.template-card p {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.price {
  color: var(--coral);
  font-size: 20px;
}

.template-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

.template-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.buy-link {
  background: var(--coral);
  color: #fff;
}

.demo-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.steps-section,
.categories,
.editing-section,
.buyer-portal,
.support {
  padding: 56px clamp(20px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.steps-section h2,
.categories h2,
.editing-section h2,
.buyer-portal h2,
.support h2,
.pricing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1;
}

.steps-section > h2 {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 36px;
}

.steps article {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
}

.steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -24px;
  color: var(--muted);
  font-size: 32px;
}

.step-number {
  position: absolute;
  top: 6px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-strong);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.step-icon {
  width: 96px;
  height: 96px;
  padding: 28px;
  border-radius: 50%;
  background-color: var(--mint);
  color: var(--ink);
  mask-size: 42px;
}

.steps h3,
.resource-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.steps p,
.editing-section p,
.support p,
.resource-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.editing-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: center;
  background: var(--soft);
}

.editing-section p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 18px;
}

.demo-privacy-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.demo-privacy-list span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(16, 16, 18, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.demo-privacy-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-strong);
}

.editor-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.editor-preview.video-demo {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #08111d;
}

.demo-storyboard {
  position: relative;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 440px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(142, 232, 200, 0.18), transparent 28%),
    #fff;
}

.story-browser {
  display: grid;
  align-content: start;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f6;
}

.story-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.story-topbar .brand-mark {
  width: 24px;
  height: 30px;
}

.story-topbar strong {
  font-size: 18px;
}

.story-topbar small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 800;
}

.story-content {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.story-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.story-step.active {
  border-color: rgba(255, 75, 56, 0.35);
  background: #fff4f1;
}

.story-step > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.story-step.active > span {
  background: var(--coral);
}

.story-step strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
}

.story-step small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.story-phone {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 10px solid #080809;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(12, 12, 15, 0.16);
}

.story-phone-screen {
  display: grid;
  gap: 12px;
  width: min(220px, 100%);
  padding: 20px;
}

.story-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--mint);
  color: #07120e;
  font-weight: 950;
}

.story-phone-screen strong {
  font-size: 24px;
}

.story-phone-screen small {
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.story-phone-screen div {
  height: 54px;
  border-radius: 8px;
  background: #f0f2f4;
}

.story-phone-screen button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.video-demo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #08111d;
}

.demo-lock-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  max-width: 340px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 17, 29, 0.84);
  color: #fff;
  backdrop-filter: blur(10px);
}

.demo-lock-overlay strong {
  font-size: 15px;
}

.demo-lock-overlay small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.lock-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: #07120e;
}

.lock-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='14' width='18' height='13' rx='2'/%3E%3Cpath d='M11 14V9a5 5 0 0 1 10 0v5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.mini-phone {
  position: relative;
  height: 390px;
  border: 9px solid #080809;
  border-radius: 32px;
  background: linear-gradient(180deg, #f5f6f5, #dff6ec);
}

.mini-top {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 58px;
  height: 8px;
  border-radius: 999px;
  background: #060606;
  transform: translateX(-50%);
}

.mini-screen {
  display: grid;
  gap: 14px;
  padding: 68px 20px 20px;
}

.edit-line,
.edit-card {
  display: block;
  height: 16px;
  border-radius: 6px;
  background: #151515;
}

.edit-line.wide {
  height: 46px;
  background: var(--coral);
}

.edit-line.short {
  width: 68%;
}

.edit-card {
  height: 150px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent),
    url("https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=620&q=80") center / cover;
}

.editor-controls {
  display: grid;
  gap: 22px;
}

.editor-controls label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.editor-controls input,
.editor-controls select {
  width: 100%;
  min-height: 48px;
  accent-color: var(--coral);
}

.editor-controls select {
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-transform: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.category-grid article {
  display: grid;
  min-height: 130px;
  place-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-grid h3 {
  margin: 0;
  font-size: 17px;
}

.briefcase-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='24' height='16' rx='2'/%3E%3Cpath d='M12 10V7h8v3M4 16h24'/%3E%3C/g%3E%3C/svg%3E");
}

.tools-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 25 9-9'/%3E%3Cpath d='m9 20 3 3'/%3E%3Cpath d='M18 5a6 6 0 0 0 8 8L15 24l-7-7L19 6a6 6 0 0 0-1-1z'/%3E%3C/g%3E%3C/svg%3E");
}

.bag-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11h18l-2 17H9L7 11z'/%3E%3Cpath d='M12 11a4 4 0 0 1 8 0'/%3E%3Cpath d='m12 19 3 3 6-7'/%3E%3C/g%3E%3C/svg%3E");
}

.fitness-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 16h24M8 11v10M24 11v10M12 8v16M20 8v16'/%3E%3C/g%3E%3C/svg%3E");
}

.food-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4v24M5 4v8a4 4 0 0 0 8 0V4M21 4v24M21 4c4 3 5 8 0 12'/%3E%3C/g%3E%3C/svg%3E");
}

.heart-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 27S5 20 5 11a6 6 0 0 1 11-3 6 6 0 0 1 11 3c0 9-11 16-11 16z'/%3E%3C/svg%3E");
}

.plane-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m28 5-9 22-5-10-10-5 24-7zM14 17l14-12'/%3E%3C/svg%3E");
}

.pricing {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  gap: 0;
  padding: 54px clamp(20px, 5vw, 68px);
  background:
    radial-gradient(circle at 18% 20%, rgba(142, 232, 200, 0.08), transparent 32%),
    #08090a;
  color: #fff;
}

.buyer-portal {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: center;
  background: #f3f7f4;
}

.portal-intro p {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secure-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.secure-points article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(16, 16, 18, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 16, 18, 0.06);
}

.secure-points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.secure-points small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.secure-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #101012;
  color: var(--mint);
}

.secure-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.pay-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='24' height='16' rx='3'/%3E%3Cpath d='M4 13h24M9 20h5'/%3E%3C/g%3E%3C/svg%3E");
}

.account-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='11' r='5'/%3E%3Cpath d='M7 27a9 9 0 0 1 18 0'/%3E%3C/g%3E%3C/svg%3E");
}

.edit-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 25h6L25 11a4 4 0 0 0-6-6L5 19v6z'/%3E%3Cpath d='m17 7 8 8'/%3E%3C/g%3E%3C/svg%3E");
}

.install-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='14' height='26' rx='3'/%3E%3Cpath d='M16 9v10M12 15l4 4 4-4M14 25h4'/%3E%3C/g%3E%3C/svg%3E");
}

.customer-portal-link {
  margin-top: 24px;
}

.portal-card {
  overflow: hidden;
  border: 1px solid rgba(16, 16, 18, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(16, 16, 18, 0.12);
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.portal-tab {
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.portal-tab:last-child {
  border-right: 0;
}

.portal-tab.active {
  background: #101012;
  color: #fff;
}

.portal-panel {
  display: none;
  padding: 28px;
}

.portal-panel.active {
  display: grid;
  gap: 18px;
}

.portal-panel h3 {
  margin: 0;
  font-size: 22px;
}

.test-login-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(255, 75, 56, 0.22);
  border-radius: 8px;
  background: #fff4f1;
}

.test-login-card strong {
  color: var(--coral-dark);
}

.test-login-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.portal-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-panel input,
.portal-panel select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-transform: none;
}

.portal-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.access-status {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f6;
}

.access-status strong {
  font-size: 18px;
}

.access-status span {
  color: var(--muted);
  line-height: 1.5;
}

.access-status.unlocked {
  border-color: rgba(74, 185, 149, 0.45);
  background: #eaf8f1;
}

.access-status.unlocked strong {
  color: #19745a;
}

.install-guidance {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(74, 185, 149, 0.45);
  border-radius: 8px;
  background: #eaf8f1;
}

.install-guidance strong {
  color: #19745a;
  font-size: 18px;
}

.install-guidance span {
  color: var(--muted);
  line-height: 1.45;
}

.install-button.disabled,
.download-button.disabled,
.setup-link.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.custom-preview {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  background: #0d4f86;
  color: #fff;
}

.custom-preview span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-preview strong {
  font-size: 24px;
}

.custom-preview small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.pricing-intro,
.license-card {
  padding: 8px clamp(22px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.license-card:last-child {
  border-right: 0;
}

.pricing p {
  max-width: 280px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.license-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
}

.license-card.selected {
  background: rgba(255, 75, 56, 0.11);
  box-shadow: inset 0 0 0 2px var(--coral);
}

.selected-pill {
  display: none;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.license-card.selected .selected-pill {
  display: inline-flex;
}

.license-card.selected button {
  background: #fff;
  color: #101012;
  box-shadow: inset 0 0 0 2px var(--coral);
}

.license-icon {
  width: 48px;
  height: 48px;
  color: var(--coral);
}

.license-card:nth-of-type(3) .license-icon,
.popular {
  color: var(--mint);
}

.tag-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 17 17 3h9v9L12 26 3 17z'/%3E%3Ccircle cx='22' cy='8' r='1'/%3E%3C/svg%3E");
}

.crown-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m5 10 7 6 4-10 4 10 7-6-3 16H8L5 10z'/%3E%3C/svg%3E");
}

.building-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 28V8l10-4 10 4v20'/%3E%3Cpath d='M11 12h2M19 12h2M11 18h2M19 18h2M14 28v-5h4v5'/%3E%3C/g%3E%3C/svg%3E");
}

.license-card h3,
.license-card strong {
  margin: 0;
}

.license-card h3 {
  font-size: 18px;
}

.license-card strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
}

.license-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.license-card:nth-of-type(3) button {
  background: var(--mint);
  color: #07120e;
}

.license-card:nth-of-type(3).selected button {
  background: #fff;
  color: #07120e;
  box-shadow: inset 0 0 0 2px var(--mint);
}

.selected-license-summary {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(255, 75, 56, 0.28);
  border-radius: 8px;
  background: #fff4f1;
}

.selected-license-summary span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selected-license-summary strong {
  color: var(--ink);
  font-size: 18px;
}

.selected-license-summary small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.popular {
  position: absolute;
  top: -22px;
  left: clamp(22px, 3vw, 44px);
  font-size: 13px;
  font-weight: 800;
}

.support {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 42px;
  align-items: center;
}

.contact-main {
  background:
    radial-gradient(circle at 14% 16%, rgba(142, 232, 200, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f7f4 100%);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
  padding: 76px clamp(20px, 5vw, 68px);
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 98px);
  font-weight: 600;
  line-height: 0.94;
}

.contact-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 16, 18, 0.05);
}

.contact-methods strong {
  color: var(--ink);
  font-size: 16px;
}

.contact-methods small {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-method-icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #101012;
  color: var(--mint);
}

.contact-method-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 23px;
}

.email-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='22' height='16' rx='3'/%3E%3Cpath d='m6 10 10 8 10-8'/%3E%3C/g%3E%3C/svg%3E");
}

.assistant-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(16, 16, 18, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.assistant-head {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
}

.assistant-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--mint);
  color: #07120e;
  font-weight: 950;
}

.assistant-head h2 {
  margin: 0;
  font-size: 26px;
}

.assistant-head p {
  margin: 4px 0 0;
  font-size: 14px;
}

.assistant-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-topics button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.assistant-topics button.active {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.assistant-response {
  padding: 16px;
  border: 1px solid rgba(74, 185, 149, 0.4);
  border-radius: 8px;
  background: #eaf8f1;
  color: #19745a;
  font-weight: 800;
  line-height: 1.45;
}

.support .button {
  margin-top: 24px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.support-actions .button {
  margin-top: 0;
}

.social-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
}

.review-panel {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: 230px;
  align-content: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 18px;
}

.review-panel > span {
  color: var(--muted);
  font-weight: 700;
}

.channel-stack {
  display: grid;
  gap: 12px;
  width: 100%;
}

.channel-stack article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.channel-stack strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.channel-stack small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #101012;
  color: var(--mint);
}

.channel-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 22px;
}

.instagram-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='18' height='18' rx='5'/%3E%3Ccircle cx='16' cy='16' r='4'/%3E%3Cpath d='M21 11.5h.01'/%3E%3C/g%3E%3C/svg%3E");
}

.facebook-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M18 28V17h4l1-5h-5V9.5c0-1.4.5-2.5 2.6-2.5H23V2.6C22.5 2.5 21 2 18.9 2 14.5 2 12 4.7 12 9.1V12H8v5h4v11h6z'/%3E%3C/svg%3E");
}

.resource-list {
  display: grid;
  gap: 24px;
}

.resource-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: start;
}

.doc-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8 4h11l5 5v19H8V4zM18 4v6h6M12 16h8M12 21h8'/%3E%3C/svg%3E");
}

.video-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='22' height='16' rx='2'/%3E%3Cpath d='m14 12 7 4-7 4v-8z'/%3E%3C/g%3E%3C/svg%3E");
}

.community-icon {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='10' r='4'/%3E%3Ccircle cx='23' cy='12' r='3'/%3E%3Cpath d='M4 26a8 8 0 0 1 16 0M19 23a6 6 0 0 1 9 3'/%3E%3C/g%3E%3C/svg%3E");
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 68px);
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: 330px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #101012;
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

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

  .pricing-intro,
  .license-card:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .license-card:nth-child(3) {
    border-right: 0;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .contact-hero {
    grid-template-columns: 1fr;
  }

  .demo-storyboard {
    grid-template-columns: 1fr;
  }

  .buyer-portal {
    grid-template-columns: 1fr;
  }

  .review-panel {
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 15vw, 70px);
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .quick-points,
  .filters,
  .template-grid,
  .steps,
  .editing-section,
  .editor-preview,
  .secure-points,
  .pricing,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .filters {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sort-button {
    justify-self: stretch;
  }

  .phone {
    max-width: 240px;
    margin: 0 auto;
  }

  .steps article {
    grid-template-columns: 82px 1fr;
  }

  .steps article::after {
    display: none;
  }

  .step-icon {
    width: 82px;
    height: 82px;
  }

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

  .pricing-intro,
  .license-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 28px 0;
  }

  .license-card:last-child {
    border-bottom: 0;
  }

  .popular {
    position: static;
  }

  .site-footer,
  .site-footer p {
    justify-items: start;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 20px;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .header-cta,
  .license-card button {
    width: 100%;
  }

  .catalog-panel {
    margin-inline: -8px;
  }

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

  .portal-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .story-topbar small {
    margin-left: 0;
  }

  .contact-hero {
    padding-top: 42px;
  }

  .contact-methods a,
  .assistant-head {
    grid-template-columns: 1fr;
  }

  .contact-methods small {
    grid-column: auto;
  }
}
