:root {
  --color-bg: #06101f;
  --color-bg-deep: #040b16;
  --color-surface: rgba(10, 19, 36, 0.84);
  --color-surface-strong: #0c172b;
  --color-surface-soft: rgba(16, 26, 46, 0.74);
  --color-border: rgba(113, 140, 189, 0.16);
  --color-border-strong: rgba(74, 123, 255, 0.34);
  --color-text: #f5f7fb;
  --color-text-soft: #a8b5d3;
  --color-text-muted: #7f8bab;
  --color-accent: #2d6cff;
  --color-accent-strong: #1a5cff;
  --color-accent-soft: rgba(45, 108, 255, 0.16);
  --color-success: #33d0a0;
  --color-bone: #f5f7fb;
  --color-graphite: #a8b5d3;
  --color-iris: #8cb0ff;
  --gradient-hero:
    radial-gradient(circle at 72% 24%, rgba(43, 104, 255, 0.35), transparent 18%),
    radial-gradient(circle at 58% 56%, rgba(29, 89, 225, 0.3), transparent 24%),
    radial-gradient(circle at 16% 72%, rgba(82, 120, 243, 0.12), transparent 28%),
    linear-gradient(180deg, #071225 0%, #050c18 100%);
  --page-max-width: 1240px;
  --radius-button: 14px;
  --radius-card: 20px;
  --radius-card-lg: 28px;
  --radius-pill: 999px;
  --font-sans: Inter, "Segoe UI", Arial, sans-serif;
  --shadow-subtle: 0 0 0 1px rgba(45, 108, 255, 0.22) inset;
}

.site-shell[data-theme="editorial"],
.site-shell[data-theme="showcase-base"] {
  --color-accent: #2d6cff;
  --color-accent-strong: #1654ee;
  --color-accent-soft: rgba(45, 108, 255, 0.16);
}

.site-shell[data-theme="contrast"],
.site-shell[data-theme="showcase-contrast"] {
  --color-accent: #19a0ff;
  --color-accent-strong: #0679d6;
  --color-accent-soft: rgba(25, 160, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(45, 108, 255, 0.1), transparent 20%),
    radial-gradient(circle at bottom left, rgba(27, 62, 137, 0.12), transparent 24%),
    var(--color-bg-deep);
  color: var(--color-text);
  font-family: var(--font-sans);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container,
.hero-inner {
  width: min(calc(100% - 32px), var(--page-max-width));
  margin: 0 auto;
}

.site-shell {
  padding-bottom: 0;
}

.landing-main {
  padding-top: 0;
}

.brand {
  font-size: 1.6rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.promo-bar {
  background: rgba(4, 10, 20, 0.92);
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
}

.promo-pill {
  border: 1px solid rgba(87, 137, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  background: rgba(45, 108, 255, 0.12);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.shell-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 12, 24, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shell-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand-shell {
  font-size: 1rem;
  font-weight: 620;
  color: var(--color-text);
}

.shell-links,
.topbar-actions,
.locale-switch,
.theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shell-links {
  gap: 28px;
  font-size: 15px;
  font-weight: 450;
}

.shell-links a {
  color: var(--color-text-soft);
}

.locale-link,
.theme-chip {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-soft);
  padding: 9px 14px;
}

.locale-link.is-active,
.theme-chip.is-active {
  box-shadow: var(--shadow-subtle);
  color: var(--color-text);
}

.theme-chip {
  display: inline-flex;
  gap: 10px;
  cursor: pointer;
}

.theme-chip-swatch {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  width: 36px;
  height: 18px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(41, 40, 39, 0.08);
  background:
    linear-gradient(
      90deg,
      var(--chip-bg) 0%,
      var(--chip-bg) 25%,
      var(--chip-surface) 25%,
      var(--chip-surface) 50%,
      var(--chip-accent) 50%,
      var(--chip-accent) 75%,
      var(--chip-text) 75%,
      var(--chip-text) 100%
    );
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 82, 255, 0.22);
}

.button-ghost,
.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text);
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: #7fb0ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
}

.hero-shell {
  position: relative;
}

.hero-media {
  position: relative;
  min-height: clamp(760px, calc(100vh - 112px), 880px);
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-copy-shell {
  position: relative;
  min-height: inherit;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 640px;
  margin: 0;
  padding-top: 76px;
  padding-left: 72px;
  text-align: left;
}

.hero-title {
  max-width: 9ch;
  color: #f8fbff;
  font-size: clamp(2.2rem, 3.7vw, 52px);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--color-text-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button-theme-cycle {
  color: var(--color-text);
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.hero-portrait {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 460px;
  height: 510px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 49% 16%, rgba(72, 40, 58, 0.45), transparent 12%),
    radial-gradient(circle at 51% 27%, rgba(28, 19, 18, 0.96), transparent 13%),
    radial-gradient(circle at 50% 45%, rgba(23, 17, 18, 0.95), transparent 18%),
    radial-gradient(circle at 50% 71%, rgba(48, 26, 27, 0.94), transparent 21%),
    radial-gradient(circle at 54% 97%, rgba(58, 30, 29, 0.98), transparent 31%);
  filter: blur(7px);
  opacity: 0.72;
}

.hero-floating {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(10, 19, 36, 0.76);
  backdrop-filter: blur(12px);
  color: var(--color-text);
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.hero-floating strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 540;
  letter-spacing: -0.014em;
}

.hero-floating span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.hero-floating-left {
  left: 53%;
  top: 304px;
  width: 260px;
}

.hero-floating-right {
  right: 10%;
  top: 196px;
  width: 170px;
}

.hero-floating-right strong {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.027em;
}

.hero-floating-label {
  font-size: 14px;
  font-weight: 500;
}

.hero-theme-inline {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.hero-theme-dot {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      var(--chip-bg) 0%,
      var(--chip-bg) 35%,
      var(--chip-surface) 35%,
      var(--chip-surface) 58%,
      var(--chip-accent) 58%,
      var(--chip-accent) 80%,
      var(--chip-text) 80%,
      var(--chip-text) 100%
    );
  cursor: pointer;
}

.hero-theme-dot.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.hero-floating-bottom {
  right: 10%;
  bottom: 42px;
  width: 170px;
}

.trust-strip-wrap {
  background: var(--color-bg-deep);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -18px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: rgba(10, 19, 36, 0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.trust-item {
  display: grid;
  gap: 10px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 560;
  color: var(--color-text);
}

.trust-item span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-soft);
}

.section {
  padding: 64px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading-tight {
  margin-bottom: 36px;
}

.section-title {
  max-width: 14ch;
  font-size: clamp(25px, 2.05vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 540;
}

.section-title-wide {
  max-width: 18ch;
}

.section-text,
.project-meta a,
label span,
textarea::placeholder,
input::placeholder,
.service-copy p:not(.service-tag),
.project-summary,
.footer-text {
  color: var(--color-text-soft);
}

.section-text {
  max-width: 60ch;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.suite-preview {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(10, 19, 36, 0.82);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.suite-header,
.suite-switch,
.suite-pill,
.suite-card {
  display: flex;
}

.suite-header {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.suite-title {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 540;
}

.suite-ghost-button {
  min-height: 44px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.03);
}

.suite-switch {
  gap: 0;
  margin-top: 28px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.suite-pill {
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.suite-pill.is-active {
  background: rgba(45, 108, 255, 0.16);
  color: var(--color-text);
}

.suite-pill-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.suite-card {
  gap: 28px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.suite-card-copy {
  flex: 0 0 46%;
  padding: 6px 0 6px 2px;
}

.suite-card-label {
  margin: 0 0 18px;
  color: #7fb0ff;
  font-size: 13px;
  font-weight: 600;
}

.suite-card-title {
  max-width: 11ch;
  font-size: clamp(23px, 1.95vw, 29px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 540;
}

.suite-card-text {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--color-graphite);
  font-size: 16px;
  line-height: 1.65;
}

.suite-card-link {
  display: inline-flex;
  margin-top: 28px;
  color: #8fbcff;
  font-weight: 600;
}

.suite-card-visual {
  flex: 1 1 auto;
  min-height: 390px;
}

.suite-card-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: 22px;
}

.suite-card-visual-inner::before,
.suite-card-visual-inner::after {
  content: "";
  position: absolute;
  border-radius: 24px;
}

.visual-mail {
  background:
    radial-gradient(circle at 72% 40%, rgba(255, 255, 255, 0.32), transparent 14%),
    linear-gradient(135deg, #78a5eb 0%, #8ab0f0 100%);
}

.visual-mail::before {
  left: 20%;
  right: 9%;
  bottom: 12%;
  top: 38%;
  background: rgba(255, 255, 255, 0.96);
}

.visual-grammarly {
  background:
    radial-gradient(circle at 36% 26%, rgba(213, 255, 194, 0.72), transparent 20%),
    linear-gradient(135deg, #95d77d 0%, #86b9f7 100%);
}

.visual-grammarly::before {
  left: 19%;
  right: 12%;
  bottom: 10%;
  top: 44%;
  background: rgba(255, 255, 255, 0.96);
}

.visual-grammarly::after {
  top: 8%;
  bottom: 8%;
  right: 5%;
  width: 48px;
  background: rgba(255, 255, 255, 0.72);
}

.visual-coda {
  background:
    linear-gradient(135deg, #b59ef7 0%, #86aef3 100%);
}

.visual-coda::before {
  inset: 14% 13%;
  background: rgba(255, 255, 255, 0.96);
}

.visual-coda::after {
  left: 17%;
  right: 17%;
  top: 22%;
  bottom: 24%;
  background: rgba(210, 220, 245, 0.8);
  border-radius: 18px;
}

.visual-go {
  background:
    radial-gradient(circle at 32% 42%, rgba(255, 210, 239, 0.56), transparent 13%),
    linear-gradient(135deg, #84b7ff 0%, #d7e3ff 100%);
}

.visual-go::before {
  right: 8%;
  bottom: 12%;
  width: 190px;
  height: 58px;
  background: rgba(255, 255, 255, 0.96);
}

.visual-go::after {
  content: "Get started";
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 190px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--color-iris);
  font-size: 16px;
  font-weight: 600;
  border-radius: 18px;
}

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

.project-card,
.lead-form,
.admin-auth-card,
.admin-stat-card,
.admin-panel {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(10, 19, 36, 0.8);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.project-shot {
  min-height: 260px;
  background:
    radial-gradient(circle at 22% 18%, rgba(45, 108, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(9, 18, 36, 0.88), rgba(11, 21, 38, 0.6));
}

.project-shot-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.project-shot-fallback {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 20px;
  font-size: 24px;
  font-weight: 520;
  letter-spacing: -0.022em;
}

.project-meta {
  padding: 18px 18px 20px;
}

.project-meta h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(45, 108, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.project-summary {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.project-domain {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: linear-gradient(135deg, #0d172d 0%, #0b1d36 58%, #092247 100%);
  color: #ffffff;
}

.section-story {
  padding-left: 0;
  padding-right: 0;
}

.story-media {
  min-height: 460px;
  background:
    radial-gradient(circle at 58% 20%, rgba(56, 123, 255, 0.4), transparent 16%),
    radial-gradient(circle at 44% 60%, rgba(34, 70, 180, 0.3), transparent 24%),
    linear-gradient(180deg, rgba(7, 17, 32, 0.86), rgba(7, 17, 32, 0.86)),
    linear-gradient(135deg, #0a1426 0%, #0e2143 100%);
}

.story-copy-shell {
  display: flex;
  justify-content: flex-start;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, calc(var(--page-max-width) * 0.54));
  padding: 56px 48px 56px 56px;
}

.story-copy .eyebrow,
.story-copy .section-title,
.story-copy .section-text {
  color: #ffffff;
}

.story-copy .button-secondary {
  color: var(--color-bone);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.story-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.story-step {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
}

.story-points {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
}

.story-point {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.story-point strong {
  font-size: 15px;
  font-weight: 560;
}

.story-point span {
  color: rgba(245, 247, 251, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

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

.pricing-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(10, 19, 36, 0.78);
}

.pricing-card.is-featured {
  border-color: var(--color-border-strong);
  box-shadow: 0 18px 38px rgba(14, 60, 182, 0.18);
}

.pricing-card-name {
  margin: 0;
  color: #86b6ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-card-price {
  display: block;
  margin-top: 14px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 540;
}

.pricing-card-text {
  min-height: 72px;
  margin: 16px 0 22px;
  color: var(--color-graphite);
  line-height: 1.6;
}

.pricing-feature-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.pricing-card-button {
  width: 100%;
}

#lead-form.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 24px;
}

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

.contact-side-card,
.contact-form-shell {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(10, 19, 36, 0.8);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.contact-side-card {
  padding: 20px;
}

.contact-side-title {
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 560;
}

.contact-step-list,
.contact-facts {
  display: grid;
  gap: 14px;
}

.contact-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-step strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(45, 108, 255, 0.14);
  color: #dfe9ff;
  font-size: 12px;
  font-weight: 700;
}

.contact-step span,
.contact-facts span {
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.contact-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 14px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.02);
}

.contact-form-shell {
  padding: 18px;
}

.lead-form {
  padding: 8px;
}

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

label {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

label span {
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 16px;
  color: var(--color-text);
}

textarea {
  min-height: 148px;
  resize: vertical;
}

.closing-band {
  background:
    radial-gradient(circle at 18% 36%, rgba(73, 127, 255, 0.34), transparent 24%),
    radial-gradient(circle at 72% 42%, rgba(18, 76, 218, 0.34), transparent 22%),
    linear-gradient(135deg, #08152a 0%, #0d2241 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.closing-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 64px), var(--page-max-width));
  margin: 0 auto;
  min-height: 286px;
  padding: 42px 0 36px;
}

.closing-band-title {
  max-width: 10ch;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 520;
  color: #ffffff;
}

.closing-band-text {
  max-width: 52ch;
  margin: 16px 0 0;
  color: rgba(245, 247, 251, 0.76);
  font-size: 15px;
  line-height: 1.7;
}

.closing-band-button {
  min-width: 176px;
  min-height: 54px;
  border: 1px solid var(--color-border-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: #ffffff;
}

.site-footer {
  margin-top: 0;
  width: 100%;
  padding: 0;
  background: #050c18;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 0.8fr;
  gap: 26px;
  width: min(calc(100% - 64px), var(--page-max-width));
  margin: 0 auto;
  padding: 28px 0 30px;
}

.footer-brand,
.footer-title,
.footer-grid a {
  color: var(--color-bone);
}

.footer-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  color: var(--color-text-soft);
}

.footer-text {
  max-width: 30ch;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.admin-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-auth-card {
  width: min(100%, 520px);
  padding: 32px;
}

.admin-form {
  margin-top: 24px;
}

.admin-form-grid {
  display: grid;
  gap: 20px;
}

.admin-submit {
  width: 100%;
}

.admin-shell {
  padding: 40px 0 80px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-nav-link {
  border: 1px solid var(--color-fog);
  border-radius: var(--radius-pill);
  background: var(--color-bone);
  color: var(--color-graphite);
  padding: 10px 14px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  padding: 22px;
}

.admin-stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
}

.admin-panel {
  padding: 24px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.6fr 0.4fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-fog);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-table-head {
  color: var(--color-graphite);
  font-weight: 700;
}

.admin-empty,
.flash {
  padding: 14px 16px;
  border: 1px solid var(--color-fog);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.flash-success {
  color: #1d5f42;
  background: rgba(39, 123, 82, 0.08);
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.flash-error {
  color: #8c2d1e;
  background: rgba(195, 80, 49, 0.08);
}

.section-spacing-sm {
  margin-bottom: 16px;
}

.admin-locale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-locale-card {
  border: 1px solid var(--color-fog);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
}

.checkbox-field {
  align-content: center;
}

.checkbox-field span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-actions form {
  margin: 0;
}

.admin-help {
  margin: -8px 0 0;
  color: var(--color-graphite);
  line-height: 1.6;
}

.theme-mini-preview {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.theme-mini-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(25, 22, 18, 0.08);
}

.theme-editor-preview {
  padding: 20px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--preview-accent) 24%, transparent), transparent 35%),
    var(--preview-bg);
  border: 1px solid var(--color-fog);
}

.theme-editor-preview-card {
  max-width: 420px;
  padding: 24px;
  border-radius: 24px;
  background: var(--preview-surface);
  color: var(--preview-text);
}

.theme-editor-preview-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}

.theme-editor-preview-card p {
  margin: 0;
  color: var(--preview-muted);
  line-height: 1.6;
}

.theme-editor-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--preview-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.theme-editor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.theme-editor-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--preview-text) 10%, transparent);
  background: color-mix(in srgb, var(--preview-bg) 28%, white);
  color: var(--preview-text);
}

.theme-editor-pill-primary {
  background: var(--preview-accent);
  border-color: var(--preview-accent);
  color: #fff;
}

.admin-subheader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-image-thumb {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-fog);
}

.admin-image-preview-wrap {
  border: 1px solid var(--color-fog);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 16px;
}

.admin-image-preview {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.admin-break {
  word-break: break-word;
}

@media (max-width: 980px) {
  .shell-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .shell-links,
  .topbar-actions,
  .theme-switch {
    flex-wrap: wrap;
  }

  .hero-media {
    min-height: 800px;
  }

  .hero-copy {
    padding-top: 72px;
    padding-left: 24px;
  }

  .hero-title {
    max-width: 10ch;
  }

  .hero-portrait {
    width: 360px;
    height: 430px;
  }

  .hero-floating-left {
    left: auto;
    right: 160px;
    top: 360px;
  }

  .hero-floating-right,
  .hero-floating-bottom {
    right: 24px;
  }

  .trust-strip,
  .projects-grid,
  .pricing-grid,
  .contact-layout,
  .field-grid,
  .admin-stats,
  .admin-locale-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .suite-card,
  .story-band {
    grid-template-columns: 1fr;
  }

  .suite-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .suite-switch {
    flex-wrap: wrap;
  }

  .suite-pill {
    flex: 1 1 calc(50% - 6px);
  }

  .suite-card-copy,
  .suite-card-visual {
    flex: 1 1 100%;
  }

  .story-copy {
    width: 100%;
    padding: 36px 24px;
  }

  .closing-band-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 0;
  }
}

@media (max-width: 720px) {
  .promo-inner {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  .hero-copy {
    padding-top: 56px;
    padding-left: 0;
    align-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.4rem);
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-portrait {
    width: 280px;
    height: 340px;
    bottom: 0;
  }

  .hero-floating {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .hero-copy-shell {
    padding-bottom: 24px;
  }

  .suite-preview,
  .story-copy {
    padding: 24px 20px;
  }

  .section-title,
  .suite-title,
  .suite-card-title {
    max-width: 100%;
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .suite-card {
    flex-direction: column;
    padding: 20px;
  }

  .suite-card-visual {
    min-height: 280px;
  }

  .suite-pill {
    flex-basis: 100%;
  }

  .footer-grid {
    width: min(calc(100% - 32px), var(--page-max-width));
  }

  .closing-band-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .closing-band-inner {
    width: min(calc(100% - 32px), var(--page-max-width));
  }
}
