:root {
  --ink: #11131a;
  --muted: #676b78;
  --paper: #f6f7fb;
  --white: #ffffff;
  --blue: #315cff;
  --blue-dark: #1437c8;
  --violet: #a16cff;
  --line: #d9dce7;
  --radius: 1.5rem;
  --shadow: 0 24px 70px rgba(24, 30, 61, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#top { scroll-margin-top: 3rem; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffcc33;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(100% - 2rem, 1360px);
  min-height: 5rem;
  margin: 1rem auto 0;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 220, 231, 0.85);
  border-radius: 1.1rem;
  box-shadow: 0 10px 35px rgba(24, 30, 61, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

nav { display: flex; gap: 2rem; }
nav a, footer a { text-decoration: none; font-weight: 650; }
nav a:hover, footer a:hover { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-small { min-height: 2.95rem; justify-self: end; }
.button-dark { background: var(--ink); color: white; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 14px 30px rgba(49, 92, 255, 0.25); }
.button-primary:hover { background: var(--blue-dark); }
.button-light { background: white; color: var(--ink); }

.hero {
  width: min(100% - 2rem, 1360px);
  min-height: calc(100vh - 7rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(0rem, 3vw, 2.5rem) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}

.eyebrow, .section-number {
  margin: 0 0 1.5rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 0.7rem; }
.eyebrow span { width: 2.5rem; height: 2px; background: var(--blue); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.055em; line-height: 0.99; }

h1 {
  max-width: 13ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.4rem, 7vw, 7.3rem);
  font-weight: 850;
}

h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-text {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }

.text-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}

.hero-note {
  max-width: 33rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-note strong { color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  background: radial-gradient(circle at 25% 18%, #cbd7ff 0, transparent 35%), linear-gradient(145deg, #456dff, #8258ff 62%, #d9bdff);
  border-radius: 2.2rem;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1.6rem;
}

.project-label {
  position: absolute;
  z-index: 3;
  top: 2rem;
  left: 2rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: white;
  font-weight: 800;
}

.project-label span {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
}

.phone {
  position: absolute;
  width: 47%;
  aspect-ratio: 0.55;
  overflow: hidden;
  background: white;
  border: 7px solid var(--ink);
  border-radius: 2.3rem;
  box-shadow: 0 30px 60px rgba(14, 12, 40, 0.32);
}

.phone::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 50%;
  z-index: 2;
  width: 28%;
  height: 0.9rem;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 999px;
}

.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-back { top: 7rem; left: 9%; transform: rotate(-8deg); opacity: 0.9; }
.phone-front { right: 8%; bottom: 3rem; transform: rotate(5deg); }

.floating-card {
  position: absolute;
  z-index: 4;
  right: 1.8rem;
  bottom: 1.8rem;
  min-width: 15.5rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  background: rgba(255,255,255,0.94);
  border-radius: 1.1rem;
  box-shadow: 0 16px 45px rgba(14, 12, 40, 0.22);
}

.floating-card span { grid-column: 1; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.floating-card strong { grid-column: 1; }
.floating-card a { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 1.6rem; text-decoration: none; }

.section { padding: clamp(5rem, 9vw, 9rem) max(1rem, calc((100vw - 1280px) / 2)); }

.statement {
  padding: clamp(5rem, 10vw, 10rem) max(1rem, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
  color: white;
  background: var(--ink);
}

.statement .section-number { color: #8fa7ff; }
.statement h2 { max-width: 18ch; font-size: clamp(2.6rem, 5vw, 5.6rem); }
.statement div > p { max-width: 45rem; color: #b7bbc8; font-size: 1.18rem; }

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
}

.section-heading h2 { max-width: 16ch; font-size: clamp(2.8rem, 5vw, 5.4rem); }

.case-study {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 38rem;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-concept { grid-template-columns: 1.15fr 0.85fr; }

.case-copy { padding: clamp(2rem, 5vw, 5rem); align-self: center; }
.case-copy h3 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4vw, 4.2rem); letter-spacing: -0.05em; line-height: 1; }
.case-copy > p { color: var(--muted); font-size: 1.12rem; }
.case-copy ul { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.case-copy li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }

.case-meta { margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.case-meta span { padding: 0.38rem 0.7rem; background: #eef1ff; border-radius: 999px; color: var(--blue-dark); font-size: 0.77rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }

.case-media { min-height: 32rem; overflow: hidden; background: #e9edff; }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-live .case-media { padding: 3rem; background: linear-gradient(135deg, #d8e0ff, #9bb0ff); }
.case-live .case-media img { border-radius: 1rem; box-shadow: var(--shadow); }
.case-concept .case-media img { object-position: center; }

.services { color: white; background: var(--blue); }
.section-heading-light .section-number { color: white; }
.section-heading-light h2 { color: white; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.price-card { padding: clamp(2rem, 4vw, 4rem); background: rgba(11, 32, 123, 0.32); border: 1px solid rgba(255,255,255,0.32); border-radius: var(--radius); }
.price-card.featured { background: white; color: var(--ink); }
.price-top { min-height: 3rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.price-top p { font-weight: 850; text-transform: uppercase; letter-spacing: 0.07em; }
.price-top span { padding: 0.35rem 0.65rem; color: white; background: var(--blue); border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.price { margin: 2rem 0 1rem; font-size: 1.1rem; }
.price strong { font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -0.06em; line-height: 1; }
.price-description { max-width: 33rem; color: inherit; opacity: 0.9; font-size: 1.08rem; }
.price-card ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.price-card li { padding: 0.65rem 0; border-top: 1px solid currentColor; border-color: rgba(128,128,128,0.25); }
.price-card li::before { content: "✓"; margin-right: 0.75rem; font-weight: 900; }
.payment-note { max-width: 45rem; margin: 2rem 0 0 auto; color: white; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps article { min-height: 18rem; padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line); }
.steps article + article { padding-left: 2rem; }
.steps article:last-child { border-right: 0; }
.steps span { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 4rem; color: white; background: var(--ink); border-radius: 999px; font-weight: 800; }
.steps h3 { font-size: 1.45rem; }
.steps p { max-width: 20rem; color: var(--muted); }

.faq { padding-top: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 1.6rem; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 50rem; padding: 0 3rem 1.5rem 0; color: var(--muted); font-size: 1.05rem; }

.contact { text-align: center; color: white; background: var(--ink); }
.contact .section-number { color: #8fa7ff; }
.contact h2 { max-width: 17ch; margin: 0 auto 1.7rem; font-size: clamp(3.2rem, 7vw, 7.5rem); }
.contact > p:not(.section-number) { max-width: 42rem; margin: 0 auto 2rem; color: #b7bbc8; font-size: 1.15rem; }

footer {
  padding: 2rem max(1rem, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  align-items: center;
  gap: 1rem;
  background: white;
  border-top: 1px solid var(--line);
}

footer p { margin: 0; color: var(--muted); }
.brand-footer img { width: 2.2rem; height: 2.2rem; }

[data-reveal] { opacity: 0; transform: translateY(1.4rem); transition: opacity 650ms ease, transform 650ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-visual { min-height: 38rem; }
  .statement, .section-heading { grid-template-columns: 1fr; gap: 0.5rem; }
  .case-study, .case-concept { grid-template-columns: 1fr; }
  .case-concept .case-media { order: 2; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { min-height: 0; padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps span { margin-bottom: 2rem; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-header { min-height: 4.2rem; margin-top: 0.5rem; width: calc(100% - 1rem); }
  .brand span { font-size: 0.92rem; }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .button-small { min-height: 2.6rem; padding: 0.65rem 0.9rem; font-size: 0.88rem; }
  .hero { width: calc(100% - 1.5rem); min-height: auto; padding: 4rem 0 4.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-note { grid-template-columns: 1fr; gap: 0.2rem; }
  .hero-visual { min-height: 31rem; border-radius: 1.5rem; }
  .project-label { top: 1.4rem; left: 1.4rem; }
  .phone { width: 50%; border-width: 5px; border-radius: 1.5rem; }
  .phone-back { top: 5.5rem; left: 6%; }
  .phone-front { right: 5%; bottom: 3.7rem; }
  .floating-card { right: 1rem; bottom: 1rem; min-width: 13rem; }
  .section, .statement { padding-left: 1.1rem; padding-right: 1.1rem; }
  .case-study { min-height: 0; }
  .case-copy { padding: 2rem 1.35rem; }
  .case-media { min-height: 24rem; }
  .case-live .case-media { padding: 1.2rem; }
  .price-card { padding: 2rem 1.35rem; }
  .price strong { font-size: 3.3rem; }
  footer { grid-template-columns: 1fr; }
}
