﻿/* ==========================================================================
   zaboropupsolution — storefront build service
   Design language measured from the reference site: white page, very dark
   green ink, light lime blocks, bright green accents, condensed grotesk
   headings, DM Sans body, pill buttons and 16px panels.
   ========================================================================== */

:root {
  --ink: #001f00;
  --ink-soft: #123312;
  --muted: rgba(0, 31, 0, 0.62);
  --muted-light: rgba(0, 31, 0, 0.58);
  --paper: #ffffff;
  --cream: #f1f5e8;
  --soft: #f1f5e8;
  --line: rgba(0, 31, 0, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --lime: #cde7b1;
  --green: #26c026;
  --sand: #e6c194;
  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px rgba(0, 31, 0, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

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

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

/* ---------------------------------------------------------------- type ---- */

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--green);
  flex: none;
}

.kicker-dark {
  color: rgba(0, 31, 0, 0.72);
}

.display {
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.mark {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 100% 0.34em;
  background-position: 0 86%;
  padding-right: 0.06em;
}

.headline {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 0.94;
  letter-spacing: -0.005em;
  max-width: 18ch;
}

.lead {
  max-width: 62ch;
  margin-top: 26px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.section-note {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.2s var(--ease);
}

.text-link:hover {
  gap: 14px;
}

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 32px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

.btn-primary:hover {
  background: #1fae1f;
  border-color: #1fae1f;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-light {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn-light:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  min-height: 54px;
}

.btn-dark:hover {
  background: #0b360b;
}

.btn-sm {
  min-height: 42px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 32px;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------- header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 31, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(38, 192, 38, 0.2);
  flex: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav-link.is-active {
  color: var(--ink);
  background: var(--lime);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ----------------------------------------------------------------- hero --- */

.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 5vw, 72px);
  overflow: hidden;
}

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

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

.hero-note {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted-light);
}

.hero-visual {
  position: relative;
  margin: clamp(48px, 6vw, 76px) 0 0;
  padding: 0 0 0 clamp(0px, 4vw, 56px);
}

.hero-block {
  position: absolute;
  right: -24px;
  bottom: -26px;
  width: 55%;
  height: 54%;
  background: var(--lime);
  border-radius: var(--radius);
}

.browser-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dcdce2;
}

.browser-url {
  flex: 1;
  max-width: 320px;
  height: 18px;
  margin-left: 12px;
  border-radius: 4px;
  background: #ececf0;
}

.browser-frame img {
  width: 100%;
  aspect-ratio: 1440 / 844;
  object-fit: cover;
  object-position: top center;
}

.phone-frame {
  position: absolute;
  left: 0;
  bottom: -38px;
  width: clamp(150px, 17vw, 226px);
  border: 7px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 31, 0, 0.18);
}

.phone-bar {
  height: 14px;
  background: var(--ink);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 390 / 760;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
}

.visual-caption {
  margin-top: 44px;
  font-size: 12px;
  color: var(--muted-light);
}

/* -------------------------------------------------------------- statbar --- */

.statbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(40px, 5vw, 64px);
}

.statbar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px 32px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* -------------------------------------------------------------- section --- */

section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head .kicker {
  margin-bottom: 14px;
}

/* -------------------------------------------------------------- systems --- */

.systems {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.systems-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
}

.systems-index li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 8px 0;
}

.systems-index li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.systems-index-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.systems-index-name {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.systems-index-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------- values --- */

.values {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 31, 0, 0.07);
}

.card-index {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.value-card h3 {
  font-size: 25px;
}

.value-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------- features --- */

.features {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 34px;
  background: #fff;
}

.feature-num {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--muted-light);
}

.feature-card h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------- showcase --- */

.showcase {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.showcase-copy .headline {
  max-width: 16ch;
}

.showcase-copy .section-note {
  margin-top: 22px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 30px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(0, 31, 0, 0.18);
}

.showcase-media {
  margin: 0;
}

.tablet-frame {
  background: var(--ink);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.tablet-bar {
  height: 8px;
  width: 60px;
  margin: 0 auto 8px;
  border-radius: 4px;
  background: #3a3a44;
}

.tablet-frame img {
  width: 100%;
  aspect-ratio: 1024 / 760;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

/* -------------------------------------------------------------- process --- */

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  border-top: 1px solid var(--ink);
}

.process-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 8px;
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--line);
}

.process-num {
  grid-row: span 2;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--muted-light);
  padding-top: 4px;
}

.process-item h3 {
  font-size: 25px;
}

.process-item p {
  max-width: 40ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------ work strip -- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.work-media img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.work-card:hover .work-media img,
.work-tile:hover .work-media img {
  transform: scale(1.02);
}

.work-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-meta h3,
.work-meta h2 {
  font-size: 22px;
}

.work-meta p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ------------------------------------------------------------------ faq --- */

.faq {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 6vw, 88px);
}

.faq-head {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-head .section-note {
  margin-top: 18px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--ink);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 23px;
  letter-spacing: 0;
}

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

.faq-mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq-mark::before,
.faq-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-mark::before {
  width: 10px;
  height: 1.5px;
}

.faq-mark::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] .faq-mark {
  background: var(--lime);
  border-color: var(--lime);
}

.faq-item[open] .faq-mark::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-item p {
  max-width: 62ch;
  padding: 0 40px 26px 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* -------------------------------------------------------------- cta band -- */

.cta-band {
  background: var(--green);
  padding: clamp(56px, 7vw, 96px) 0;
}

.cta-band-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.cta-title {
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 0.94;
  max-width: 16ch;
}

.cta-lead {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 15px;
  color: rgba(0, 31, 0, 0.72);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: none;
}

.cta-mail {
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------- footer --- */

.site-footer {
  background: var(--ink);
  color: #eaf1e4;
  padding: clamp(56px, 6vw, 84px) 0 0;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: clamp(32px, 4vw, 48px);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.footer-claim {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.7;
  color: #b7c7b0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin-top: 4px;
  font-size: 14px;
}

.footer-nav a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.footer-nav a:hover {
  border-color: var(--green);
}

.footer-mail {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--lime);
  border-bottom: 1px solid rgba(205, 231, 177, 0.4);
}

.footer-registry {
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  line-height: 1.8;
  color: #93a58d;
  text-align: center;
}

.footer-registry p:first-child {
  color: #c9d6c2;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  color: #8b9c85;
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a:hover {
  color: var(--lime);
}

/* ------------------------------------------------------------ page hero --- */

.page-hero {
  padding: clamp(56px, 6vw, 88px) 0 clamp(24px, 3vw, 40px);
}

.page-hero .lead {
  margin-top: 22px;
}

.page-hero-tight {
  padding-bottom: 8px;
}

/* ---------------------------------------------------------------- plans --- */

.plans {
  padding-top: clamp(32px, 4vw, 48px);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.plan-card-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.plan-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.plan-card-dark .plan-meta {
  color: var(--lime);
}

.plan-name {
  font-size: 34px;
  letter-spacing: 0;
}

.plan-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.plan-card-dark .plan-text {
  color: #b9b9c3;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 4px 0 10px;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.plan-card-dark .plan-list li {
  color: #d8d8df;
}

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.plan-footnote {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-light);
}

/* ---------------------------------------------------------------- stack --- */

.stack {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack-table {
  border-top: 1px solid var(--ink);
}

.stack-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.stack-row span:first-child {
  font-family: var(--font-head);
  font-size: 17px;
}

.stack-row span:nth-child(2),
.stack-row span:nth-child(3) {
  color: var(--muted);
}

.stack-row-head {
  padding: 12px 0;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.stack-row-head span {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--muted-light);
}

/* ------------------------------------------------------------- delivery --- */

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

.delivery-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--soft);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------- work full ---- */

.work-full {
  padding-top: clamp(32px, 4vw, 48px);
}

.work-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 22px;
}

.work-tile-wide {
  grid-column: span 2;
}

.work-tile {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-tile-wide .work-media img {
  aspect-ratio: 1440 / 720;
}

.work-devices {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.device-pair {
  position: relative;
  margin: 0;
  padding-bottom: 40px;
}

.device-pair .tablet-frame {
  width: 88%;
  margin-left: auto;
}

.phone-frame-static {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  border-width: 6px;
}

.work-note {
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--muted-light);
}

/* ---------------------------------------------------------------- about --- */

.about-body {
  padding-top: clamp(24px, 3vw, 40px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-paragraph {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--ink-soft);
}

.about-media {
  position: relative;
  margin: 0;
}

.about-block {
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 60%;
  height: 62%;
  background: var(--lime);
  border-radius: var(--radius);
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.model {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.model-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.model-num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.model-item h3 {
  font-size: 23px;
}

.model-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.office-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.office-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.office-name {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.office-card a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--green);
  align-self: flex-start;
}

/* -------------------------------------------------------------- contact --- */

.contact {
  padding-top: clamp(24px, 3vw, 40px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.form-title {
  font-size: 36px;
}

.form-sub {
  margin: 8px 0 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.form-error-summary {
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid #e6b3a8;
  background: #fdf3f0;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: #8a2f1d;
}

.form-error-summary strong {
  display: block;
  margin-bottom: 6px;
}

.form-error-summary li {
  list-style: disc;
  margin-left: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.field-row-3 {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(205, 231, 177, 0.7);
}

.field-error {
  font-size: 12.5px;
  color: #a63a25;
}

.form-note {
  font-size: 12px;
  color: var(--muted-light);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.aside-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.aside-mail {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--ink);
  word-break: break-word;
}

.aside-legal {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
}

.aside-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
}

.aside-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--lime);
  font-family: var(--font-head);
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  color: var(--ink);
}

.success-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 20px;
}

.success-panel h2 {
  font-size: 30px;
}

.success-panel p {
  max-width: 50ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.success-panel a:not(.btn) {
  color: var(--ink);
  border-bottom: 1px solid var(--green);
}

/* ---------------------------------------------------------------- legal --- */

.legal {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 7vw, 96px);
}

.legal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 110px;
}

.legal-title {
  font-size: clamp(32px, 3.4vw, 44px);
}

.legal-updated {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted-light);
}

.legal-aside-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-aside-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--green);
}

.legal-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-section {
  padding-top: 30px;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.legal-section p {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}

.legal-section li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.legal-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-light);
}

/* ------------------------------------------------------------ not found --- */

.not-found {
  padding: clamp(72px, 9vw, 140px) 0 clamp(64px, 7vw, 100px);
}

.not-found .hero-actions {
  margin-top: 30px;
}

/* --------------------------------------------------------------- motion --- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .value-card:hover,
  .work-card:hover .work-media img,
  .work-tile:hover .work-media img {
    transform: none;
  }
}

/* ---------------------------------------------------------- breakpoints --- */

@media (max-width: 1080px) {
  .container {
    width: min(var(--container), calc(100% - 56px));
  }

  .main-nav {
    gap: 0;
  }

  .nav-link {
    padding: 8px 10px;
  }

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

  .systems-index {
    grid-template-columns: repeat(3, 1fr);
  }

  .systems-index li:nth-child(4) {
    border-left: none;
    padding-left: 0;
  }

  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-head {
    position: static;
  }

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

  .legal-aside {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 28px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(0, 31, 0, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 10px;
    font-size: 16px;
  }

  .nav-link-mobile {
    display: block;
    margin-top: 6px;
    background: var(--lime);
    color: var(--ink);
    text-align: center;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .headline {
    max-width: none;
  }

  .statbar-inner {
    grid-template-columns: 1fr;
  }

  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .value-grid,
  .model-list,
  .work-grid,
  .plan-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .systems-index li:nth-child(3),
  .systems-index li:nth-child(5) {
    border-left: none;
    padding-left: 0;
  }

  .showcase-inner,
  .about-grid,
  .work-devices,
  .office-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .field-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  .about-block {
    left: -14px;
    bottom: -14px;
  }

  .work-full-grid {
    grid-template-columns: 1fr;
  }

  .work-tile-wide {
    grid-column: auto;
  }

  .process-list,
  .process-list-wide {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-base {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .plan-card-dark {
    order: -1;
  }

  .hero-visual {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 68px;
  }

  .main-nav {
    top: 68px;
    padding: 14px 20px 20px;
  }

  .brand-word {
    font-size: 17px;
  }

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

  .display {
    font-size: clamp(34px, 9vw, 44px);
  }

  .btn {
    min-height: 50px;
    font-size: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row-3 {
    grid-template-columns: 1fr;
  }

  .stack-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .stack-row-head {
    display: none;
  }

  .device-pair .tablet-frame {
    width: 94%;
  }

  .cta-actions {
    width: 100%;
  }

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