:root {
  --ink: #17211d;
  --muted: #66736d;
  --paper: #fbfaf6;
  --line: #d9ded6;
  --green: #0d7a4f;
  --lime: #d6f264;
  --coral: #ef6f5e;
  --blue: #4778d6;
  --yellow: #ffd15c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 70px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 40px 0 0;
}

.metrics div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metrics dt {
  font-weight: 900;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  display: grid;
  place-items: center;
}

.mock-phone {
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
  border: 10px solid var(--ink);
  border-radius: 30px;
  background: var(--white);
  padding: 22px;
  box-shadow: 18px 18px 0 var(--lime);
}

.phone-bar {
  width: 94px;
  height: 8px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--ink);
}

.tag {
  width: max-content;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.phone-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f1e8;
}

.phone-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 13.2;
  object-fit: cover;
}

.phone-visual .tag {
  position: absolute;
  top: 12px;
  left: 12px;
}

.phone-caption {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 64px);
}

.band {
  background: #eef3ec;
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

.card,
.price-card,
.cta-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.card p,
.price-card li,
.cta-box p {
  color: var(--muted);
}

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

.portfolio-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.portfolio-item img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
}

.portfolio-item span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  margin: 14px 14px 0;
  padding: 7px 11px;
  background: #eef3ec;
  font-size: 13px;
  font-weight: 900;
}

.portfolio-item strong {
  display: block;
  padding: 10px 14px 16px;
  font-size: 17px;
  line-height: 1.18;
}

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

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 122, 79, 0.14);
}

.price {
  margin: 4px 0 16px;
  font-size: 30px;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.price-card .button {
  margin-top: auto;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.cta-section .eyebrow,
.cta-section p {
  color: #c8d2cc;
}

.cta-box {
  color: var(--ink);
}

.order-form {
  display: grid;
  gap: 12px;
}

.order-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.order-form textarea {
  resize: vertical;
}

.order-form .button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.form-status.error {
  color: #b42318;
}

.form-status.success {
  color: var(--green);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .grid.three,
  .pricing,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .footer {
    flex-direction: column;
  }
}
