:root {
  --bg-top: #014fa6;
  --bg-deep: #00357d;
  --bg-bottom: #00285f;
  --cream: #fff8ef;
  --mist: rgba(255, 255, 255, 0.16);
  --mist-strong: rgba(255, 255, 255, 0.24);
  --line: rgba(255, 255, 255, 0.2);
  --text-main: #fffaf2;
  --text-soft: rgba(255, 250, 242, 0.8);
  --ink: #172033;
  --ink-soft: rgba(23, 32, 51, 0.68);
  --orange: #ff9f54;
  --orange-strong: #ff8b2c;
  --shadow: 0 30px 80px rgba(0, 14, 44, 0.35);
  --panel-shadow: 0 24px 80px rgba(2, 18, 58, 0.3);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(2, 35, 89, 0.2), rgba(1, 24, 63, 0.46)),
    url("./assets-bg.png") center center / cover no-repeat fixed;
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  padding: clamp(16px, 2.5vw, 32px) clamp(18px, 4vw, 56px) 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 210, 160, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(0, 27, 70, 0.22), rgba(0, 19, 52, 0.42));
  max-width: 1680px;
  margin: 0 auto;
}

.grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.cloud {
  display: none;
}

.cloud::before,
.cloud::after {
  display: none;
}

.cloud-a {
  top: 9%;
  right: 4%;
  width: 230px;
  height: 132px;
}

.cloud-a::before {
  width: 140px;
  height: 110px;
  left: 12px;
  bottom: 18px;
}

.cloud-a::after {
  width: 100px;
  height: 90px;
  right: 10px;
  bottom: 14px;
}

.cloud-b {
  top: 34%;
  left: -6%;
  width: 180px;
  height: 108px;
}

.cloud-b::before {
  width: 92px;
  height: 76px;
  left: 6px;
  bottom: 12px;
}

.cloud-b::after {
  width: 78px;
  height: 68px;
  right: 8px;
  bottom: 10px;
}

.cloud-c {
  top: 52%;
  right: -6%;
  width: 150px;
  height: 90px;
}

.cloud-c::before {
  width: 92px;
  height: 74px;
  left: 8px;
  bottom: 10px;
}

.cloud-c::after {
  width: 80px;
  height: 64px;
  right: 4px;
  bottom: 11px;
}

.back-to-apps {
  position: absolute;
  top: clamp(16px, 2.5vw, 30px);
  left: clamp(18px, 4vw, 56px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 34px rgba(0, 12, 42, 0.18);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

.back-to-apps span {
  opacity: 0.72;
  transition: opacity 180ms ease, filter 180ms ease;
}

.back-to-apps strong {
  font-size: inherit;
}

.back-to-apps:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.24);
  filter: drop-shadow(0 12px 28px rgba(255, 159, 84, 0.18));
}

.back-to-apps:hover span {
  opacity: 1;
  filter: blur(0.2px);
}

.hero-layout,
.feature-strip {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 10px 0;
}

.brand {
  color: var(--cream);
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  letter-spacing: 0.08em;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  letter-spacing: 0.52em;
}

.top-nav {
  display: flex;
  gap: 56px;
  transform: translateX(18px);
}

.top-nav a,
.ghost-link {
  color: rgba(255, 247, 238, 0.88);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease;
}

.top-nav a:hover,
.ghost-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #fff7ef;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.status-star {
  color: #ffb266;
  font-size: 0.95rem;
  line-height: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(620px, 1.16fr);
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
  height: calc(100vh - clamp(34px, 5vw, 58px));
  padding: 0;
}

.hero-copy {
  max-width: 610px;
  padding: 0 0 0 clamp(0px, 2.8vw, 42px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 1rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.2rem, 6.15vw, 6.45rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--cream);
  font-style: italic;
  font-weight: 500;
  text-shadow:
    0 0 12px rgba(255, 237, 220, 0.18),
    0 0 34px rgba(255, 176, 104, 0.24);
}

.lead {
  max-width: 420px;
  margin: 18px 0 28px;
  color: var(--text-main);
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 12px;
}

.hero-points article {
  min-width: 138px;
  max-width: 152px;
}

.hero-points strong,
.feature-strip h2,
.field-label,
.panel-topline p {
  display: block;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-points span,
.small-note,
.feature-strip p {
  color: var(--text-soft);
}

.dog-land {
  display: none;
}

.hill {
  display: none;
}

.dog-illustration {
  display: none;
}

.dog-body,
.dog-head,
.dog-ear,
.dog-paw {
  display: none;
}

.dog-body {
  right: 0;
  bottom: 0;
  width: 270px;
  height: 170px;
  border-radius: 48% 50% 10% 42% / 42% 48% 18% 40%;
  transform: skewX(10deg);
  background:
    linear-gradient(100deg, rgba(255, 178, 48, 0.98) 0 48%, rgba(124, 41, 32, 0.9) 48% 100%);
}

.dog-head {
  left: 100px;
  bottom: 90px;
  width: 118px;
  height: 88px;
  border-radius: 55% 46% 48% 52% / 42% 55% 40% 58%;
  transform: rotate(-28deg);
}

.dog-head::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 20px;
  width: 20px;
  height: 14px;
  border-radius: 50%;
  background: #5d281a;
}

.dog-head::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 30px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e0f0d;
}

.dog-ear {
  left: 154px;
  bottom: 76px;
  width: 62px;
  height: 84px;
  border-radius: 40% 46% 52% 48%;
  transform: rotate(20deg);
  background: linear-gradient(180deg, #ef9822, #d97014);
}

.dog-paw {
  left: 34px;
  bottom: 0;
  width: 170px;
  height: 42px;
  border-radius: 60% 40% 55% 45%;
  transform: rotate(7deg);
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 255, 0.74)),
    rgba(255, 255, 255, 0.74);
  box-shadow:
    0 34px 90px rgba(0, 22, 68, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px) saturate(1.25);
}

.tool-panel {
  position: relative;
  overflow: hidden;
  max-height: calc(100vh - 36px);
  padding: 24px;
  border-radius: 32px;
  margin-right: 0;
  color: var(--ink);
}

.tool-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 5%, rgba(255, 255, 255, 0.74), transparent 18%);
  pointer-events: none;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-topline p {
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 0.96rem;
  color: var(--ink);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 228px;
  gap: 26px;
}

.controls {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 9px;
}

.field-textarea textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
}

textarea,
input[type="range"] {
  width: 100%;
}

textarea {
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

textarea:focus {
  border-color: rgba(23, 32, 51, 0.26);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

textarea::placeholder {
  color: rgba(23, 32, 51, 0.42);
}

.field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.mini-action {
  padding: 8px 14px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.chip-group,
.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-chip-group {
  gap: 8px;
}

.chip,
.swatch,
.secondary-button,
.primary-button,
.mini-action,
.status-pill,
.preview-shell,
.feature-strip article {
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.chip {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 0.92rem;
}

.compact-chip-group .chip {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.chip:hover,
.secondary-button:hover,
.mini-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 28px rgba(5, 22, 58, 0.16);
}

.chip.is-active {
  border-color: rgba(23, 32, 51, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 8px 22px rgba(23, 32, 51, 0.08);
}

.control-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.logo-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
}

.advanced-panel {
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.seo-faq {
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.advanced-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.seo-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.advanced-panel summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.advanced-panel summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 600;
}

.seo-faq summary::after {
  content: "+";
  font-size: 1.05rem;
  font-weight: 600;
}

.advanced-panel[open] summary::after {
  content: "-";
}

.seo-faq[open] summary::after {
  content: "-";
}

.advanced-content {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.seo-faq__content {
  display: grid;
  gap: 10px;
  max-height: min(28vh, 210px);
  overflow: auto;
  padding: 0 16px 16px;
}

.seo-faq article {
  padding: 10px 12px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
}

.seo-faq h2,
.seo-faq p {
  margin: 0;
}

.seo-faq h2 {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.25;
}

.seo-faq p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.advanced-panel[open] .advanced-content {
  max-height: min(30vh, 236px);
  overflow: auto;
  padding-right: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  text-align: left;
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row strong {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toggle-row small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.toggle-knob {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.14);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.toggle-knob::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.toggle-row[aria-pressed="true"] .toggle-knob {
  background: #ff9f54;
}

.toggle-row[aria-pressed="true"] .toggle-knob::after {
  transform: translateX(20px);
  background: #fffaf2;
}

.logo-copy {
  display: grid;
  gap: 4px;
}

.logo-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.logo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.upload-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 28px rgba(5, 22, 58, 0.16);
}

.logo-preview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 32, 51, 0.1);
}

.logo-preview img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 4px;
}

.logo-preview span {
  color: var(--ink);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swatch {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.swatch.is-active {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(255, 189, 132, 0.8);
}

input[type="range"] {
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.14);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd7b5, var(--orange));
  box-shadow: 0 10px 18px rgba(255, 132, 37, 0.32);
}

.primary-button,
.secondary-button {
  min-height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.primary-button {
  background: linear-gradient(180deg, #ffb36a, var(--orange-strong));
  font-weight: 800;
  box-shadow:
    0 0 0 1px rgba(255, 229, 205, 0.28) inset,
    0 18px 28px rgba(255, 128, 28, 0.24),
    0 0 32px rgba(255, 169, 79, 0.32);
}

.primary-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.58);
}

.small-note {
  display: none;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.preview-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 4px;
  justify-items: center;
}

.preview-shell {
  display: grid;
  place-items: center;
  width: min(100%, 184px);
  aspect-ratio: 1 / 1;
  padding: 14px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.92));
  overflow: hidden;
  position: relative;
}

.preview-shell.is-animated::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 159, 84, 0.34), transparent 35%);
  animation: preview-spin 3.8s linear infinite;
}

.preview-shell.is-animated #qr-canvas {
  position: relative;
  z-index: 1;
}

@keyframes preview-spin {
  to {
    transform: rotate(1turn);
  }
}

.preview-shell:hover,
.feature-strip article:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 196, 139, 0.48);
  box-shadow: 0 24px 48px rgba(2, 20, 53, 0.16);
}

#qr-canvas {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 18px 48px rgba(8, 17, 38, 0.14);
}

.scan-chip {
  justify-self: center;
  padding: 9px 17px;
  border-radius: 14px;
  background: var(--cream);
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  box-shadow: 0 12px 24px rgba(255, 245, 233, 0.18);
}

.download-stack {
  display: grid;
  gap: 8px;
}

.action-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.action-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 32%),
    rgba(3, 14, 36, 0.52);
  backdrop-filter: blur(14px);
}

.action-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.9)),
    rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow:
    0 34px 90px rgba(0, 10, 32, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  animation: sheet-in 220ms ease-out both;
}

.action-sheet h2 {
  margin: 8px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.action-sheet p:not(.field-label) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.modal-actions .primary-button,
.modal-actions .secondary-button {
  min-width: 0;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-strip {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 42px 0 42px;
  padding: 18px;
  border-radius: 28px;
}

.feature-strip article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-index {
  margin: 0 0 14px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.feature-strip h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-strip p {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 1120px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page-shell {
    height: auto;
    min-height: 100vh;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    height: auto;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: none;
    padding: 0;
  }

  .tool-panel {
    max-width: 920px;
    max-height: none;
    margin-right: 0;
  }

  .top-nav {
    transform: none;
  }

  .feature-strip {
    margin: 32px 0 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    gap: 22px;
    justify-content: space-between;
    transform: none;
  }

  .tool-grid,
  .control-split,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .preview-card {
    grid-template-columns: 1fr;
  }

  .dog-land {
    height: 240px;
  }

  .dog-illustration {
    left: 0;
    transform: scale(0.82);
    transform-origin: left bottom;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 14px 28px;
  }

  .back-to-apps {
    top: 14px;
    left: 14px;
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.64rem;
  }

  .top-nav {
    font-size: 0.8rem;
  }

  .hero-layout {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 4.3rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-points article {
    max-width: none;
  }

  .tool-panel {
    padding: 20px;
  }

  .action-sheet {
    padding: 24px 18px 18px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: 24px;
  }

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

  .cloud-a {
    top: 22%;
    right: -12px;
    width: 168px;
    height: 100px;
  }

  .cloud-b,
  .cloud-c {
    display: none;
  }
}
