:root {
  color-scheme: light;
  --accent: #0075a3;
  --accent-strong: #005f85;
  --accent-soft: #e5f5fa;
  --ink: #111b22;
  --text: #16242c;
  --muted: #5d6c74;
  --bg: #ffffff;
  --bg-soft: #f4f8f9;
  --surface: #ffffff;
  --border: #d7e3e8;
  --success: #24745d;
  --warm: #cf5143;
  --shadow: 0 20px 55px rgba(18, 38, 48, 0.1);
  --radius: 8px;
  --max-width: 1120px;
  --header-height: 72px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --accent: #49b8df;
  --accent-strong: #83d2ec;
  --accent-soft: rgba(73, 184, 223, 0.15);
  --ink: #f0f7f9;
  --text: #ecf4f7;
  --muted: #b4c6cd;
  --bg: #10181d;
  --bg-soft: #151f25;
  --surface: #141f25;
  --border: #2a3a42;
  --success: #78caaa;
  --warm: #f08a7d;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6.6vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.1rem;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--max-width);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .site-header {
  border-bottom-color: #2a3a42;
  background: color-mix(in srgb, #10181d 94%, transparent);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 274px;
  object-fit: contain;
}

.brand-logo .logo-dark,
.about-mark .logo-dark,
.footer-logo-mark .logo-dark {
  display: none;
}

[data-theme="dark"] .brand-logo .logo-light,
[data-theme="dark"] .about-mark .logo-light,
[data-theme="dark"] .footer-logo-mark .logo-light {
  display: none;
}

[data-theme="dark"] .brand-logo .logo-dark,
[data-theme="dark"] .about-mark .logo-dark,
[data-theme="dark"] .footer-logo-mark .logo-dark {
  display: block;
}

[data-theme="dark"] .brand {
  color: #f0f7f9;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-soft);
}

[data-theme="dark"] .site-nav a {
  color: #b4c6cd;
}

[data-theme="dark"] .site-nav a:hover,
[data-theme="dark"] .site-nav a:focus-visible,
[data-theme="dark"] .site-nav a[aria-current="page"] {
  color: #f0f7f9;
  background: #17262e;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

[data-theme="dark"] .icon-button {
  border-color: #2a3a42;
  background: #111d23;
  color: #f0f7f9;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  color: var(--accent-strong);
}

.icon-moon,
[data-theme="dark"] .icon-sun,
.icon-close,
.nav-open .icon-menu {
  display: none;
}

[data-theme="dark"] .icon-moon,
.nav-open .icon-close {
  display: block;
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 117, 163, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  color: var(--accent-strong);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-soft {
  background: var(--bg-soft);
}

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

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p,
.page-hero p,
.chat-panel p,
.contact-panel p {
  color: var(--muted);
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.check-list .icon {
  margin-top: 2px;
  color: var(--success);
}

/* Home page: distinct section treatments, controlled proportions. */
.home-page {
  --hero-bg: #f7fbfc;
  --hero-side: #e3f4f8;
  --showcase-bg: #f2f7f8;
  --process-bg: #ffffff;
  --pricing-bg: #102d38;
  --pricing-ink: #ffffff;
  --pricing-muted: #bad4dd;
  --closing-bg: #e6f4f8;
  --closing-panel: #101b22;
  --closing-ink: #ffffff;
}

[data-theme="dark"] .home-page {
  --hero-bg: #10181d;
  --hero-side: #16262e;
  --showcase-bg: #111a20;
  --process-bg: #10181d;
  --pricing-bg: #142b35;
  --pricing-ink: #eff8fb;
  --pricing-muted: #a8c6d0;
  --closing-bg: #10181d;
  --closing-panel: #13252d;
  --closing-ink: #eff8fb;
}

.home-hero {
  background:
    linear-gradient(90deg, var(--hero-bg) 0 64%, var(--hero-side) 64% 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(68px, 9vw, 116px) 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.home-hero .hero-copy {
  max-width: 790px;
}

.home-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.8vw, 5.55rem);
  line-height: 0.98;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

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

.hero-proof {
  display: grid;
  grid-template-rows: auto auto;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proof-top {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 38px);
}

.proof-top::before {
  content: "";
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.proof-top span {
  width: max-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 850;
}

.proof-top strong {
  max-width: 310px;
  color: var(--text);
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1;
}

.proof-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.proof-list p {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: 16px clamp(20px, 3vw, 30px);
  color: var(--muted);
  font-weight: 750;
}

.proof-list p:last-child {
  border-bottom: 0;
}

.proof-list span {
  color: var(--accent-strong);
  font-weight: 900;
}

.build-showcase {
  background: var(--showcase-bg);
}

.build-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.56fr) minmax(0, 1fr);
  grid-template-areas:
    "label title"
    "copy title";
  column-gap: clamp(24px, 5vw, 58px);
  row-gap: 18px;
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
  padding-bottom: clamp(22px, 4vw, 34px);
}

.build-heading .eyebrow {
  grid-area: label;
}

.build-heading h2 {
  grid-area: title;
  max-width: 560px;
}

.build-heading p:last-child {
  grid-area: copy;
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card,
.showcase-tile {
  --tile-bg: var(--surface);
  --tile-text: var(--text);
  --tile-muted: var(--muted);
  --tile-line: var(--border);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--tile-line);
  border-radius: var(--radius);
  background: var(--tile-bg);
  color: var(--tile-text);
  padding: clamp(22px, 3vw, 30px);
}

.showcase-tile h3 {
  color: inherit;
}

.showcase-tile p {
  margin: 12px 0 0;
  color: var(--tile-muted);
}

.service-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-large {
  --tile-bg: #101b22;
  --tile-text: #ffffff;
  --tile-muted: #c9d8dd;
  --tile-line: #101b22;
  grid-column: span 6;
  min-height: 340px;
  justify-content: flex-end;
}

.tile-large h3 {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.tile-split {
  --tile-bg: var(--accent);
  --tile-text: #ffffff;
  --tile-muted: #dff5fb;
  --tile-line: var(--accent);
  grid-column: span 6;
  min-height: 340px;
  justify-content: space-between;
}

.tile-split h3 {
  max-width: 370px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1;
}

.tile-outline {
  --tile-bg: transparent;
  --tile-line: color-mix(in srgb, var(--accent) 55%, var(--border));
  grid-column: span 4;
  border-width: 2px;
}

.tile-compact {
  --tile-bg: #e6f7ee;
  --tile-line: #b8dfcc;
  grid-column: span 4;
}

.tile-band {
  --tile-bg: #fff0ed;
  --tile-line: #e9c5bd;
  grid-column: span 4;
}

.tile-minimal {
  --tile-bg: var(--surface);
  grid-column: span 12;
  min-height: auto;
  display: grid;
  grid-template-columns: 80px minmax(0, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border-style: dashed;
}

.tile-minimal .service-icon,
.tile-minimal p {
  margin: 0;
}

[data-theme="dark"] .tile-large {
  --tile-bg: #dff4fa;
  --tile-text: #10222a;
  --tile-muted: #405861;
  --tile-line: #dff4fa;
}

[data-theme="dark"] .tile-split {
  --tile-bg: #86d0e7;
  --tile-text: #0e252d;
  --tile-muted: #24434d;
  --tile-line: #86d0e7;
}

[data-theme="dark"] .tile-compact {
  --tile-bg: #18362d;
  --tile-line: #2c715b;
}

[data-theme="dark"] .tile-band {
  --tile-bg: #3a211f;
  --tile-line: #7b443c;
}

.process-strip {
  background: var(--process-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.process-copy {
  border-left: 8px solid var(--accent);
  padding-left: clamp(22px, 4vw, 34px);
}

.process-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.steps,
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.step {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
}

.step-number {
  color: color-mix(in srgb, var(--accent) 78%, var(--text));
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 0.82;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pricing-show {
  background: var(--pricing-bg);
  color: var(--pricing-ink);
  padding: clamp(70px, 9vw, 112px) 0;
}

.pricing-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.pricing-show .eyebrow,
.pricing-show h2 {
  color: var(--pricing-ink);
}

.pricing-copy p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--pricing-muted);
  font-size: 1.12rem;
}

.pricing-card,
.pricing-ticket,
.contact-panel,
.chat-panel,
.chat-entry-card,
.chat-start-card,
.chat-window,
.thread-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-ticket {
  position: relative;
  border: 0;
  color: var(--text);
  box-shadow: none;
  padding: clamp(28px, 4vw, 42px);
}

.pricing-ticket::before,
.pricing-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--pricing-bg);
  transform: translateY(-50%);
}

.pricing-ticket::before {
  left: -12px;
}

.pricing-ticket::after {
  right: -12px;
}

.price-line {
  display: grid;
  gap: 6px;
}

.price-line span {
  color: var(--muted);
  font-weight: 780;
}

.price-line strong {
  color: var(--text);
  font-size: clamp(4rem, 9vw, 6.5rem);
  line-height: 0.95;
}

.price-values {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.price-values strong {
  display: block;
}

.old-price {
  position: relative;
  display: inline-block;
  margin-right: 8px;
  color: var(--muted);
  font-weight: 900;
}

.price-old {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1;
}

.old-price::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.old-price::after {
  transform: rotate(-17deg);
}

.about-studio {
  background: var(--bg);
}

.about-studio-layout {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(190px, 250px);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
}

.about-mark {
  width: min(100%, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 54%),
    var(--surface);
}

.about-mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.work-examples {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.examples-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.examples-layout .section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.examples-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.examples-grid a {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "number title icon"
    "number type icon";
  column-gap: 18px;
  row-gap: 3px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 18px 0;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.examples-grid a:last-child {
  border-bottom: 0;
}

.examples-grid a:hover,
.examples-grid a:focus-visible {
  color: var(--accent-strong);
}

.examples-grid .work-number {
  grid-area: number;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.examples-grid .work-title {
  grid-area: title;
  color: var(--text);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  font-weight: 900;
}

.examples-grid .work-type {
  grid-area: type;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.examples-grid .icon {
  grid-area: icon;
  color: var(--accent-strong);
}

.about-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-facts {
  display: grid;
  border-left: 1px solid var(--border);
  align-self: center;
}

.about-facts p {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: 10px 0 24px 24px;
}

.about-facts p:last-child {
  border-bottom: 0;
}

.about-facts strong {
  display: block;
  color: var(--accent-strong);
  font-size: clamp(2.85rem, 6vw, 4.3rem);
  line-height: 0.9;
}

.about-facts span {
  display: block;
  max-width: 220px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 750;
}

.closing-cta {
  background: var(--closing-bg);
  padding: clamp(54px, 8vw, 92px) 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 10px solid var(--accent);
  border-radius: var(--radius);
  background: var(--closing-panel);
  color: var(--closing-ink);
  padding: clamp(30px, 5vw, 50px);
}

.cta-band h2,
.cta-band .eyebrow,
.cta-band p {
  color: inherit;
}

.cta-band p {
  margin: 14px 0 0;
  opacity: 0.76;
}

/* Contact page: one calm, consistent style. */
.page-hero {
  padding: clamp(68px, 9vw, 116px) 0 clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.contact-page .page-hero {
  padding-top: clamp(38px, 5vw, 68px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.page-hero .narrow {
  max-width: var(--max-width);
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.8vw, 5.55rem);
  line-height: 0.98;
}

.contact-page .page-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.8vw, 5.55rem);
  line-height: 0.98;
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.contact-section {
  padding-top: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(44px, 6vw, 78px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.contact-panel,
.chat-panel {
  padding: clamp(28px, 4vw, 42px);
}

.contact-panel h2,
.chat-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-method {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 56%, var(--border));
}

.contact-method strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.contact-method span:last-child {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.method-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.detail-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.detail-block p {
  margin: 8px 0 0;
}

.chat-panel {
  display: grid;
  gap: 24px;
}

.chat-entry-card {
  display: grid;
  gap: 16px;
  overflow: hidden;
  box-shadow: none;
  padding: 20px;
}

.chat-entry-card {
  border-color: color-mix(in srgb, var(--success) 56%, var(--border));
}

.chat-entry-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--warm);
}

.chat-entry-card .chat-dot {
  background: var(--success);
}

.chat-entry-card p {
  margin: 0;
}

.chat-entry-card .button {
  width: fit-content;
}

.chat-section {
  background: var(--bg);
  padding-top: clamp(34px, 5vw, 58px);
}

.chat-shell {
  max-width: 920px;
}

.chat-start-card,
.chat-window {
  padding: clamp(24px, 4vw, 38px);
}

.chat-start-card {
  max-width: 640px;
  margin-inline: auto;
}

.chat-start-card h2,
.chat-window h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.chat-start-form,
.chat-composer {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.chat-start-form label,
.composer-input {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.chat-start-form small {
  color: var(--muted);
  font-weight: 700;
}

.chat-start-form input,
.chat-composer textarea,
.admin-login input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
}

.chat-start-form input:focus,
.chat-composer textarea:focus,
.admin-login input:focus {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
}

.chat-window {
  display: grid;
  gap: 18px;
}

.chat-window-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.chat-window-head p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.conversation {
  min-height: 420px;
  max-height: min(66vh, 660px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 16px;
}

.conversation-empty {
  margin: auto;
  max-width: 420px;
  color: var(--muted);
  text-align: center;
}

.chat-message {
  width: min(82%, 560px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px;
}

.chat-message.from-client {
  align-self: flex-end;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.chat-message.from-eden {
  align-self: flex-start;
  background: color-mix(in srgb, var(--accent-soft) 52%, var(--surface));
}

.chat-message-meta {
  margin-bottom: 7px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chat-message p {
  margin: 0;
  color: var(--text);
}

.chat-message img {
  display: block;
  width: 100%;
  max-height: 320px;
  margin-top: 10px;
  border-radius: 6px;
  object-fit: cover;
}

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

.file-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}

.file-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-name,
.form-status,
.form-error {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-error,
.form-status.is-error {
  color: var(--warm);
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.thread-list {
  box-shadow: none;
  padding: 18px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.thread-button {
  width: 100%;
  display: grid;
  gap: 5px;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
}

.thread-button.is-active strong,
.thread-button:hover strong,
.thread-button:focus-visible strong {
  color: var(--accent-strong);
}

.thread-button span,
.admin-empty {
  color: var(--muted);
  font-size: 0.88rem;
}

.first-message {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.message-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.message-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.message-list span {
  color: var(--accent-strong);
  font-weight: 900;
}

.legal-section {
  background: var(--bg);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  border-left: 8px solid var(--accent);
  padding-left: clamp(20px, 3vw, 30px);
}

.legal-summary p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
}

.legal-card h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  color: var(--muted);
}

.legal-list strong {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 66px) 0;
  background: var(--bg);
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-logo-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-logo-mark .brand-name {
  white-space: normal;
}

.footer-intro p {
  max-width: 520px;
}

.footer-small-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-small-links a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.footer-small-links a:hover,
.footer-small-links a:focus-visible {
  color: var(--accent-strong);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-line,
.footer-cta {
  min-height: 62px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: var(--text);
  padding: 14px 0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
}

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

.footer-line a,
.footer-cta {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.footer-cta::after {
  content: "->";
  color: var(--accent-strong);
  font-weight: 900;
}

.footer-line a:hover,
.footer-line a:focus-visible,
.footer-cta:hover,
.footer-cta:focus-visible {
  color: var(--accent-strong);
}

.footer-line span {
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .hero-layout,
  .process-layout,
  .pricing-stage,
  .about-studio-layout,
  .contact-grid,
  .first-message,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    background: var(--hero-bg);
  }

  .hero-proof {
    max-width: 560px;
  }

  .showcase-grid,
  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tile-large,
  .tile-split,
  .tile-minimal {
    grid-column: span 6;
  }

  .tile-outline,
  .tile-compact,
  .tile-band {
    grid-column: span 3;
  }

  .about-studio-layout {
    align-items: start;
  }

  .about-mark {
    width: 180px;
  }

  .legal-summary {
    position: static;
  }

  .examples-layout {
    grid-template-columns: 1fr;
  }

  .examples-grid {
    max-width: 680px;
  }

  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .about-facts p {
    border-bottom: 0;
    padding: 22px 24px 0 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    border-radius: 6px;
    padding-inline: 12px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .home-hero {
    padding: 48px 0 64px;
  }

  .contact-page .page-hero {
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .home-hero h1,
  .contact-page .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
    line-height: 1;
  }

  .hero-actions,
  .hero-actions .button,
  .chat-entry-card .button,
  .cta-band .button {
    width: 100%;
  }

  .chat-window-head,
  .composer-actions,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .conversation {
    min-height: 360px;
  }

  .chat-message {
    width: 100%;
  }

  .proof-top strong {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .build-heading {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "copy";
    row-gap: 14px;
    align-items: start;
  }

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

  .showcase-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .tile-large,
  .tile-split,
  .tile-outline,
  .tile-compact,
  .tile-band,
  .tile-minimal {
    grid-column: auto;
  }

  .service-card,
  .showcase-tile,
  .tile-large,
  .tile-split {
    min-height: 235px;
  }

  .tile-minimal {
    display: flex;
    align-items: flex-start;
  }

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

  .step {
    min-height: 190px;
  }

  .pricing-ticket::before,
  .pricing-ticket::after {
    display: none;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts p {
    border-bottom: 1px solid var(--border);
  }

  .cta-band,
  .footer-panel {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    gap: 22px;
    padding: 28px;
  }

  .cta-band > div {
    width: 100%;
  }

  .cta-band h2 {
    max-width: 100%;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-line,
  .footer-cta {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    min-height: 0;
    padding: 16px 0;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-logo img {
    height: 32px;
    max-width: 150px;
  }

  .footer-logo-mark .brand-name {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.2;
  }

  .brand-name {
    max-width: 142px;
  }

  .site-header .brand-name[data-short-name] {
    font-size: 0;
  }

  .site-header .brand-name[data-short-name]::after {
    content: attr(data-short-name);
    font-size: 1rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .proof-list p {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .contact-method {
    grid-template-columns: 1fr;
  }

  .contact-method span:last-child,
  .footer-line a {
    font-size: 0.92rem;
  }

  .cta-band {
    border-left-width: 8px;
  }
}
