:root {
  --ink: #14120f;
  --panel: #1d1a16;
  --line: #2e2a24;
  --text: #efe8dc;
  --muted: #bdb3a4;
  --accent: #d9a441;
  --accent-hover: #f0c46a;
  --cream: #f4eee3;
  --cream-text: #1f1b16;
  --cream-muted: #4a4338;
  --soft: #cfc6b8;
  --mono: #a89f91;
  --edge: #4a443a;
  --font: "Archivo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body.cn-home {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
}

.cn-home a {
  color: var(--accent);
}

.cn-home a:hover {
  color: var(--accent-hover);
}

.cn-home a.cn-btn,
.cn-home a.cn-nav-cta {
  color: var(--ink);
}

.cn-home a.cn-btn:hover,
.cn-home a.cn-nav-cta:hover {
  color: var(--ink);
}

.cn-home a.cn-btn-ghost {
  color: var(--text);
}

.cn-home a.cn-btn-ghost:hover {
  color: #fff;
}

.cn-home a.cn-case-link {
  color: var(--cream-text);
}

.cn-home a.cn-case-link:hover {
  color: #000;
}

.cn-home a.cn-logo {
  color: var(--text);
}

.cn-home a.cn-logo:hover {
  color: var(--text);
}

.cn-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.cn-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.cn-kicker-muted {
  color: #5e5649;
}

.cn-h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  color: #f6f0e6;
}

.cn-h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 900;
  font-stretch: 120%;
  letter-spacing: -0.02em;
}

.cn-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
}

.cn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 16px 26px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.cn-btn:hover {
  background: var(--accent-hover);
  color: var(--ink);
}

.cn-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 16px 26px;
  border-radius: 6px;
  border: 1px solid var(--edge);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.cn-btn-ghost:hover {
  color: #fff;
}

.cn-topo {
  background-color: var(--ink);
  background-image: repeating-radial-gradient(circle at 82% 38%, rgba(217, 164, 65, 0) 0 26px, rgba(217, 164, 65, 0.07) 26px 27px);
}

.cn-cream-topo {
  background-color: var(--cream);
  background-image: repeating-radial-gradient(circle at 8% 90%, rgba(120, 80, 40, 0) 0 30px, rgba(120, 80, 40, 0.06) 30px 31px);
  color: var(--cream-text);
}

.cn-header {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.cn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.cn-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.cn-logo:hover {
  color: var(--text);
}

.cn-logo img {
  width: 48px;
  height: 48px;
  display: block;
}

.cn-logo-name {
  font-size: 22px;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.01em;
}

.cn-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cn-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.cn-nav-links a {
  color: var(--soft);
  text-decoration: none;
}

.cn-nav-links a:hover {
  color: var(--text);
}

.cn-nav-cta {
  background: var(--accent);
  color: var(--ink) !important;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.cn-nav-cta:hover {
  background: var(--accent-hover);
  color: var(--ink) !important;
}

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

.cn-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding: 88px 24px 72px;
}

.cn-hero-copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.cn-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mono);
}

.cn-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cn-flag {
  display: block;
  height: 16px;
  width: auto;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
}

.cn-mock {
  position: relative;
  flex: 0 1 600px;
  width: 600px;
  max-width: 100%;
  height: 480px;
}

.cn-fan {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 480px;
}

.cn-fan img {
  position: absolute;
  width: 200px;
  height: 434px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #3a352d;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.cn-fan img:nth-child(1) {
  left: 24px;
  top: 40px;
  transform: rotate(-7deg);
}

.cn-fan img:nth-child(2) {
  left: 376px;
  top: 40px;
  transform: rotate(7deg);
}

.cn-fan img:nth-child(3) {
  left: 200px;
  top: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65);
}

.cn-section {
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cn-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.cn-section-head .cn-h2 {
  max-width: 640px;
}

.cn-data {
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.cn-kicker-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cn-data-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.cn-data-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cn-loc-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cn-loc-flag {
  width: 72px;
  height: auto;
  display: block;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cn-loc-facts {
  margin: 0;
}

.cn-loc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cn-loc-row:first-child {
  padding-top: 0;
}

.cn-loc-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cn-loc-row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono);
}

.cn-loc-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--cream);
  text-align: right;
}

.cn-loc-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.cn-data-copy p:not(.cn-kicker) {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.cn-data-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.cn-data-point {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cn-data-point svg {
  color: var(--accent);
}

.cn-data-point h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 112%;
}

.cn-data-point p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.cn-data .cn-btn {
  align-self: flex-start;
}

.cn-section-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 420px;
}

.cn-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.cn-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cn-card-art {
  height: 180px;
  background: #24211c;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 28px;
}

.cn-card-art-phones {
  gap: 14px;
  padding-top: 22px;
  overflow: hidden;
}

.cn-card-art-phones img {
  width: 84px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  display: block;
}

.cn-card-art-phones img:first-child {
  height: 182px;
}

.cn-card-art-phones img:last-child {
  height: 160px;
}

.cn-card-art-site {
  padding-top: 0;
  overflow: hidden;
}

.cn-card-browser {
  width: 84%;
  height: 100%;
  background: #24211c;
  border-radius: 8px 8px 0 0;
  border: 1px solid #3a352d;
  border-bottom: 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cn-card-browser-bar {
  height: 20px;
  flex-shrink: 0;
  background: #2e2a24;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
}

.cn-card-browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e5649;
  flex-shrink: 0;
}

.cn-card-browser-url {
  margin-left: 6px;
  flex: 1;
  min-width: 0;
  height: 12px;
  border-radius: 4px;
  background: #14120f;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 12px;
  color: #a89f91;
  display: flex;
  align-items: center;
  padding-left: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.cn-card-browser img {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cn-status-list {
  height: 180px;
  background: #24211c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.cn-status-row {
  display: flex;
  justify-content: space-between;
  color: var(--mono);
}

.cn-status-row b {
  color: var(--accent);
  font-weight: 600;
}

.cn-status-rule {
  height: 1px;
  background: #3a352d;
}

.cn-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cn-card-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.cn-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 112%;
}

.cn-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.cn-card-link {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.cn-work {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.cn-work-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cn-work-intro .cn-h2 {
  max-width: 720px;
}

.cn-case {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.cn-case-flip {
  flex-wrap: wrap-reverse;
}

.cn-case-stage {
  flex: 1 1 520px;
  min-width: 0;
  height: 420px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
}

.cn-case-stage-botd {
  background: #2a1d14;
}

.cn-case-stage-poa {
  background: #0b0a08;
}

.cn-case-stage-web {
  height: 380px;
  background: var(--panel);
}

.cn-case-stage-botd img,
.cn-case-stage-poa img {
  width: 160px;
  height: 347px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.cn-case-stage-botd img:first-child,
.cn-case-stage-botd img:last-child,
.cn-case-stage-poa img:first-child,
.cn-case-stage-poa img:last-child {
  margin-top: 36px;
}

.cn-browser {
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cn-browser-bar {
  height: 28px;
  background: #2e2a24;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.cn-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5e5649;
}

.cn-browser-url {
  margin-left: 10px;
  flex: 1;
  height: 18px;
  border-radius: 4px;
  background: #14120f;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mono);
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.cn-browser img {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
  margin: 0;
}

.cn-case-copy {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cn-case-copy img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  display: block;
}

.cn-case-copy h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 115%;
}

.cn-case-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream-muted);
}

.cn-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #d9cdb8;
  border-bottom: 1px solid #d9cdb8;
}

.cn-stat-value {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  font-stretch: 115%;
}

.cn-stat-label {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5e5649;
}

.cn-case-link {
  color: var(--cream-text);
  font-weight: 700;
  font-size: 15px;
}

.cn-case-link:hover {
  color: #000;
}

.cn-quote {
  margin: 0;
  padding: 48px;
  background: #1f1b16;
  color: var(--cream);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cn-quote blockquote {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  font-weight: 700;
  font-stretch: 108%;
  max-width: 900px;
}

.cn-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cn-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a443a;
}

.cn-quote cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.cn-quote strong {
  font-weight: 700;
}

.cn-quote small {
  font-size: 14px;
  color: var(--muted);
}

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

.cn-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 28px 20px;
}

.cn-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.cn-app:hover {
  color: var(--text);
}

.cn-app img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  display: block;
}

.cn-app span {
  font-weight: 700;
  font-size: 15px;
}

.cn-about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding: 96px 24px;
}

.cn-photo-slot {
  flex: 1 1 380px;
  min-width: 0;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  border-radius: 12px;
  background: #24211c;
  border: 1px solid var(--line);
  overflow: hidden;
}

.cn-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.cn-about-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cn-about-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.cn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.cn-chip {
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--soft);
}

.cn-chip-langs {
  white-space: normal;
  text-align: center;
  line-height: 1.45;
  max-width: 100%;
}

.cn-contact {
  border-top: 1px solid var(--line);
}

.cn-contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding: 96px 24px;
}

.cn-contact-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cn-contact-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.cn-mail {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.cn-form {
  flex: 1 1 480px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cn-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cn-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--soft);
}

.cn-field.grow {
  flex: 1 1 200px;
}

.cn-field input,
.cn-field select,
.cn-field textarea {
  border-radius: 6px;
  border: 1px solid var(--edge);
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.cn-field input,
.cn-field select {
  height: 48px;
  padding: 0 14px;
}

.cn-field textarea {
  padding: 12px 14px;
  resize: vertical;
}

.cn-form button {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ink);
  border: 0;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 6px;
  font-family: inherit;
  cursor: pointer;
  min-height: 48px;
}

.cn-form button:hover {
  background: var(--accent-hover);
}

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

.cn-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
  font-size: 14px;
  color: var(--mono);
}

.cn-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cn-footer-brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.cn-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cn-footer-nav a {
  color: var(--soft);
  text-decoration: none;
}

@media (max-width: 900px) {
  .cn-data-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cn-nav-toggle {
    display: inline-flex;
  }

  .cn-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cn-nav-links.is-open {
    display: flex;
  }

  .cn-hero-inner {
    padding: 48px 24px 40px;
    gap: 32px;
  }

  .cn-mock {
    height: 300px;
  }

  .cn-fan {
    transform: scale(0.58);
    transform-origin: top left;
  }

  .cn-section,
  .cn-about-inner,
  .cn-contact-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cn-case-stage {
    height: 280px;
    gap: 10px;
  }

  .cn-case-stage-botd img,
  .cn-case-stage-poa img {
    width: 96px;
    height: 208px;
  }

  .cn-quote {
    padding: 28px;
  }

  .cn-data-points {
    grid-template-columns: 1fr;
  }
}
