:root,
html[data-theme="light"] {
  --ink: #171123;
  --ink-2: #372248;
  --muted: #414770;
  --line: rgba(255, 255, 255, .65);
  --paper: #f5f2f7;
  --surface: rgba(255, 255, 255, .66);
  --header: rgba(255, 255, 255, .58);
  --accent: #F46036;
  --accent-2: #F46036;
  --accent-soft: rgba(244, 96, 54, .12);
  --btn-solid-bg: #F46036;
  --btn-solid-fg: #fff;
  --btn-solid-hover: #d64e2a;
  --btn-line-bg: #414770;
  --btn-line-border: #414770;
  --btn-line-fg: #fff;
  --btn-line-hover: #372248;
  --kicker: #5B85AA;
  --shadow: 0 18px 50px rgba(23, 17, 35, .12);
  --input-bg: rgba(255, 255, 255, .88);
  --card-border: rgba(255, 255, 255, .82);
  --pad: clamp(18px, 4.6vw, 88px);
  --radius: 22px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ink: #f4f4f5;
  --ink-2: #e4e4e7;
  --muted: #9a9aa3;
  --line: #26262c;
  --paper: #08080a;
  --surface: #141418;
  --header: rgba(8, 8, 10, .82);
  --accent: #f5c518;
  --accent-2: #f5c518;
  --accent-soft: rgba(245, 197, 24, .14);
  --btn-solid-bg: #f5c518;
  --btn-solid-fg: #111;
  --btn-solid-hover: #ffd84a;
  --btn-line-bg: #414770;
  --btn-line-border: #414770;
  --btn-line-fg: #fff;
  --btn-line-hover: #5B85AA;
  --kicker: #f5c518;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --input-bg: #101014;
  --card-border: #26262c;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Plus Jakarta Sans", "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  position: relative;
}
html[data-theme="light"] body { background: #f4f1f6; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--paper);
}
html[data-theme="light"] body::before {
  background: url("/img/bg-light.jpg") center / cover no-repeat;
  filter: brightness(1.1);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: none;
  padding-inline: var(--pad);
  margin-inline: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--header);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid transparent;
}
html[data-theme="light"] .site-header { border-bottom-color: rgba(255,255,255,.4); }
html[data-theme="dark"] .site-header { border-bottom-color: #1a1a1e; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.8vw, 1.8rem);
  min-height: clamp(68px, 7.2vw, 86px);
  width: 100%;
}
.brand { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand-logo {
  display: block;
  height: clamp(30px, 3.1vw, 44px);
  width: auto;
}
.logo-on-dark { display: none; }
html[data-theme="dark"] .logo-on-light { display: none; }
html[data-theme="dark"] .logo-on-dark { display: block; }
.nav-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(.7rem, 2vw, 2rem);
  font-size: clamp(.86rem, .95vw, 1rem);
  font-weight: 600;
  color: var(--ink-2);
  min-width: 0;
}
.nav-links .has-dd { position: relative; }
.nav-links button {
  background: none; border: 0; font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: .28rem;
  white-space: nowrap;
}
.nav-links > a { white-space: nowrap; }
.caret { font-size: .7rem; opacity: .55; }
.dropdown {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  min-width: 240px; padding: .55rem;
  background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px;
  box-shadow: var(--shadow); z-index: 20;
  backdrop-filter: blur(18px);
}
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown { display: grid; gap: .15rem; }
.dropdown a {
  padding: .55rem .7rem; border-radius: 10px; font-size: .88rem; color: var(--ink-2);
}
.dropdown a:hover { background: var(--accent-soft); }
.nav-cta { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; font-weight: 700; border: 1.5px solid transparent;
  padding: .7rem 1.2rem; cursor: pointer;
  font-size: clamp(.86rem, .92vw, .98rem);
  white-space: nowrap;
}
.btn-solid { background: var(--btn-solid-bg); color: var(--btn-solid-fg); }
.btn-solid:hover { background: var(--btn-solid-hover); }
.btn-line {
  background: var(--btn-line-bg);
  border-color: var(--btn-line-border);
  color: var(--btn-line-fg);
}
.btn-line:hover {
  background: var(--btn-line-hover);
  border-color: var(--btn-line-hover);
  color: #fff;
}
.theme-toggle {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer; flex: 0 0 auto;
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 0;
  background: var(--surface); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 6px 10px; background: var(--ink); }

/* Hero */
.hero { padding: clamp(1.4rem, 3.2vw, 3rem) 0 clamp(.8rem, 1.6vw, 1.4rem); width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4.2rem);
  align-items: center;
  width: 100%;
}
.hero-copy { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--card-border);
  font-size: clamp(.76rem, .82vw, .86rem); font-weight: 650; color: var(--ink-2);
  backdrop-filter: blur(12px);
}
.hero h1 {
  margin: clamp(.8rem, 1.4vw, 1.15rem) 0 .85rem;
  font-size: clamp(2.35rem, 5.4vw, 4.7rem);
  line-height: 1.02; letter-spacing: -.05em; font-weight: 800;
}
.hero h1 .hi { color: var(--accent-2); }
.hero .lead {
  color: var(--muted);
  font-size: clamp(.98rem, 1.15vw, 1.14rem);
  max-width: 42ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin: clamp(1.1rem, 2vw, 1.5rem) 0 1.1rem;
}
.trust {
  display: flex; flex-wrap: wrap;
  gap: .55rem clamp(1rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: clamp(.8rem, .88vw, .9rem);
  font-weight: 600;
}
.trust i { color: var(--kicker); margin-right: .35rem; font-style: normal; }

.mock {
  background: var(--surface);
  border-radius: clamp(16px, 1.6vw, 24px);
  padding: clamp(10px, 1.1vw, 16px) clamp(10px, 1.1vw, 16px) clamp(14px, 1.4vw, 20px);
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  width: 100%; min-width: 0;
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.dots { display: flex; gap: 6px; padding: 4px 8px 10px; }
.dots b { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots b:nth-child(1) { background: #ff5f57; }
.dots b:nth-child(2) { background: #febc2e; }
.dots b:nth-child(3) { background: #28c840; }
.mock-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .35rem .4rem .85rem;
  font-size: clamp(.72rem, .82vw, .86rem); font-weight: 700;
  min-width: 0;
}
.mock-bar strong { flex: 0 0 auto; }
.mock-bar nav {
  margin-left: auto; display: flex; gap: clamp(.4rem, 1.1vw, .9rem);
  color: var(--muted); font-weight: 600; min-width: 0;
}
.mock-bar nav span { white-space: nowrap; }
.mock-bar .mini { padding: .32rem .7rem; font-size: .72rem; border-radius: 999px; flex: 0 0 auto; }
.mock-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(.7rem, 1.6vw, 1.2rem);
  padding: .2rem .3rem 0;
  align-items: start;
}
.mock-copy { min-width: 0; }
.mock-copy .kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--kicker); margin: 0;
}
.mock-copy h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.7rem);
  letter-spacing: -.03em; margin: .25rem 0 .4rem;
}
.mock-copy h3 em { color: var(--accent-2); font-style: normal; }
.mock-copy p { color: var(--muted); font-size: clamp(.75rem, .85vw, .86rem); margin-bottom: .8rem; }
.mock-photo { position: relative; min-width: 0; }
.mock-photo img.scene {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 14px;
}
.float-card {
  position: absolute; left: clamp(-18px, -1.2vw, -8px); bottom: 12%;
  background: var(--surface); border-radius: 12px; padding: .65rem .8rem;
  box-shadow: var(--shadow);
  font-weight: 800; font-size: clamp(.78rem, .9vw, .9rem); line-height: 1.25;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}
.leaf {
  position: absolute; right: clamp(-28px, -2vw, -10px); bottom: -8px;
  width: clamp(56px, 8vw, 92px);
  mix-blend-mode: multiply; pointer-events: none;
}
html[data-theme="dark"] .leaf { mix-blend-mode: screen; opacity: .8; }

/* Features — glass tiles */
.need {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.8rem) 0 1.2rem;
  text-align: center;
  width: 100%;
  overflow: hidden;
}
.need-waves {
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  width: 100%;
  height: min(58%, 340px);
  pointer-events: none;
  z-index: 0;
}
html[data-theme="dark"] .need-waves { opacity: .22; }
.need .wrap { position: relative; z-index: 1; }
.need h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.03em; }
.need .rule, .how .rule, .rule { width: 42px; height: 3px; background: var(--accent); margin: .55rem auto 1.5rem; border-radius: 4px; }
.later { display: none !important; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.45rem);
  width: 100%;
}
.card {
  text-align: center;
  min-width: 0;
  min-height: clamp(220px, 24vw, 268px);
  padding: clamp(1.5rem, 2vw, 2rem) 1.25rem 1.5rem;
  border-radius: 28px;
  border: 1.4px solid rgba(255, 255, 255, .55);
  background: linear-gradient(165deg, rgba(255,255,255,.38), rgba(255,255,255,.12));
  box-shadow:
    0 18px 40px rgba(65, 71, 112, .08),
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -10px 22px rgba(255,255,255,.12);
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 52px rgba(65, 71, 112, .16),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.card .ico {
  width: clamp(48px, 4.2vw, 58px);
  height: clamp(48px, 4.2vw, 58px);
  margin: 0 auto 1.05rem;
}
.card h3 { font-size: clamp(1rem, 1.1vw, 1.12rem); margin-bottom: .4rem; font-weight: 800; }
.card p { color: var(--muted); font-size: clamp(.82rem, .88vw, .92rem); max-width: 26ch; margin-inline: auto; }
.card.glass-peach { background: linear-gradient(165deg, rgba(255, 236, 214, .38), rgba(255,255,255,.10)); }
.card.glass-violet { background: linear-gradient(165deg, rgba(238, 230, 255, .38), rgba(255,255,255,.10)); }
.card.glass-mint { background: linear-gradient(165deg, rgba(214, 255, 232, .38), rgba(255,255,255,.10)); }
.card.glass-amber { background: linear-gradient(165deg, rgba(255, 232, 214, .38), rgba(255,255,255,.10)); }
.card.glass-cyan { background: linear-gradient(165deg, rgba(214, 240, 255, .38), rgba(255,255,255,.10)); }
html[data-theme="dark"] .card {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.10);
}
html[data-theme="dark"] .card.glass-peach { background: linear-gradient(165deg, rgba(244,96,54,.12), rgba(20,20,24,.38)); }
html[data-theme="dark"] .card.glass-violet { background: linear-gradient(165deg, rgba(124,58,237,.12), rgba(20,20,24,.38)); }
html[data-theme="dark"] .card.glass-mint { background: linear-gradient(165deg, rgba(34,197,94,.10), rgba(20,20,24,.38)); }
html[data-theme="dark"] .card.glass-amber { background: linear-gradient(165deg, rgba(249,115,22,.12), rgba(20,20,24,.38)); }
html[data-theme="dark"] .card.glass-cyan { background: linear-gradient(165deg, rgba(34,211,238,.10), rgba(20,20,24,.38)); }
.card-media {
  position: relative;
  overflow: hidden;
  padding: 10px;
  height: clamp(220px, 24vw, 268px);
  min-height: clamp(220px, 24vw, 268px);
  max-height: clamp(220px, 24vw, 268px);
  text-align: center;
}
.card-shot {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
  transform: scale(1.12);
  transform-origin: center;
}
.shot-on-dark { display: none; }
html[data-theme="dark"] .shot-on-light { display: none; }
html[data-theme="dark"] .shot-on-dark { display: block; }
.card-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: .7rem .85rem .65rem;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(23, 17, 35, .08);
  backdrop-filter: blur(12px);
}
.card-cap h3 { color: var(--ink); margin-bottom: .2rem; }
.card-cap p { color: var(--muted); max-width: none; }
html[data-theme="dark"] .card-cap {
  background: rgba(20, 20, 28, .88);
  box-shadow: 0 10px 22px rgba(0,0,0,.4);
}
html[data-theme="dark"] .card-cap h3 { color: #fff; }
html[data-theme="dark"] .card-cap p { color: rgba(255,255,255,.84); }

.strip {
  margin: 1.25rem 0 3rem;
  background: transparent;
  border: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.15rem);
  padding: 0;
  width: 100%;
}
.strip-item {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  text-align: left;
}
.strip-item h3 { font-size: clamp(.88rem, .98vw, 1.02rem); }
.strip-item p { color: var(--muted); font-size: clamp(.76rem, .82vw, .86rem); }
.strip-item svg { flex: 0 0 auto; }
html[data-theme="light"] .strip-item svg path,
html[data-theme="light"] .strip-item svg circle { stroke: #5B85AA; }
html[data-theme="dark"] .strip-item svg path,
html[data-theme="dark"] .strip-item svg circle { stroke: #f5c518; }

.block { padding: 0 0 3.5rem; width: 100%; }
.block h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: .5rem; }
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
  width: 100%;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 1.6vw, 1.5rem);
  min-width: 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel h3 { margin-bottom: .35rem; }
.panel p { color: var(--muted); }
.contact { display: grid; gap: .7rem; margin-top: 1rem; }
.contact input, .contact textarea {
  width: 100%; border: 1.5px solid var(--card-border); border-radius: 12px;
  padding: .8rem .9rem; font: inherit;
  background: var(--input-bg); color: var(--ink);
}
.contact input::placeholder, .contact textarea::placeholder { color: var(--muted); }
footer {
  border-top: 1px solid var(--line); padding: 1.3rem 0 1.5rem;
  color: var(--muted); font-size: .82rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  width: 100%;
}
footer a { color: var(--ink-2); }

@media (max-width: 1280px) {
  .mock-bar nav span:nth-child(4),
  .mock-bar nav span:nth-child(5) { display: none; }
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .cols { grid-template-columns: 1fr; }
  .nav-links { gap: .85rem; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open, .nav-cta.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); padding: 1rem var(--pad) 1.2rem;
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    justify-content: flex-start; gap: .35rem;
    backdrop-filter: blur(22px);
  }
  .nav-cta.open { padding-top: 0; flex-direction: row; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .strip { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --ink: #f4f4f5;
    --ink-2: #e4e4e7;
    --muted: #9a9aa3;
    --line: #26262c;
    --paper: #08080a;
    --surface: #141418;
    --header: rgba(8, 8, 10, .82);
    --accent: #f5c518;
    --accent-2: #f5c518;
    --accent-soft: rgba(245, 197, 24, .14);
    --btn-solid-bg: #f5c518;
    --btn-solid-fg: #111;
    --btn-solid-hover: #ffd84a;
    --btn-line-bg: #414770;
    --btn-line-border: #414770;
    --btn-line-fg: #fff;
    --btn-line-hover: #5B85AA;
    --kicker: #f5c518;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --input-bg: #101014;
    --card-border: #26262c;
    color-scheme: dark;
  }
}

.nav-links a.is-active { color: var(--accent); }
.page-hero { padding: clamp(2rem, 4vw, 3.2rem) 0 1.2rem; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  letter-spacing: -.045em; font-weight: 800; line-height: 1.05;
}
.page-hero h1 .hi { color: var(--accent-2); }
.page-hero .lead { color: var(--muted); max-width: 46ch; margin-top: .7rem; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.25rem);
  padding: 1rem 0 2.5rem;
  width: 100%;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: left;
  min-width: 0;
}
.work-thumb {
  height: clamp(140px, 18vw, 190px);
  display: grid; place-items: center;
  font-weight: 800; letter-spacing: .04em;
  color: #fff;
}
.work-thumb.t-web { background: linear-gradient(145deg, #414770, #5B85AA); }
.work-thumb.t-soft { background: linear-gradient(145deg, #372248, #414770); }
.work-thumb.t-plug { background: linear-gradient(145deg, #F46036, #d64e2a); }
.work-card .body { padding: 1.1rem 1.15rem 1.25rem; }
.work-card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--kicker);
  margin-bottom: .35rem;
}
.work-card h3 { margin-bottom: .3rem; }
.work-card p { color: var(--muted); font-size: .88rem; }
@media (max-width: 820px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* Portfolio showcase — 2 across, 2 rows; web + phone on every card */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.2rem;
  padding: 0 0 1.4rem;
  width: 100%;
}
.pf-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(23,17,35,.08);
  padding: 1.15rem 1.15rem 1rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
html[data-theme="dark"] .pf-card {
  background: rgba(20,20,26,.88);
  border-color: #2a2a32;
}
.pf-foot {
  display: flex;
  justify-content: center;
  padding: 0 0 2.6rem;
}
.pf-foot-inner {
  width: 640px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 1.6rem;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(23,17,35,.08);
  padding: 1.05rem 1.35rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
html[data-theme="dark"] .pf-foot-inner {
  background: rgba(20,20,26,.88);
  border-color: #2a2a32;
}
.pf-foot-inner h2 {
  font-size: 1.12rem;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}
.pf-copy .tag { color: var(--kicker); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pf-copy h2 { font-size: 1.35rem; letter-spacing: -.03em; margin: .28rem 0 .4rem; }
.pf-copy p { color: var(--muted); margin-bottom: .7rem; font-size: .92rem; }
.pf-copy .pf-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.pf-copy .chip {
  font-size: .72rem; font-weight: 650;
  padding: .22rem .58rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--card-border);
}
.pf-stage { min-width: 0; margin-top: auto; }
.pf-devices {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 40%);
  gap: .85rem;
  align-items: end;
  perspective: 1200px;
}
.browser, .phone {
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease;
}
.browser {
  background: #1a1a1e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(23,17,35,.22);
  border: 1px solid rgba(255,255,255,.08);
  min-width: 0;
}
.browser-bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .45rem .7rem;
  background: #111114;
  color: #c8c8d0; font-size: .72rem; font-weight: 650;
}
.browser-bar .dots { display: flex; gap: 5px; padding: 0; }
.browser-bar .dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.browser-bar .dots i:nth-child(1) { background: #ff5f57; }
.browser-bar .dots i:nth-child(2) { background: #febc2e; }
.browser-bar .dots i:nth-child(3) { background: #28c840; }
.browser-bar .url {
  flex: 1; min-width: 0;
  background: #2a2a32; border-radius: 999px;
  padding: .22rem .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-screen { display: block; background: #000; }
.browser-screen img { width: 100%; height: auto; display: block; }
.phone {
  width: 100%;
  background: #111;
  border-radius: 28px;
  padding: 10px 8px 8px;
  box-shadow: 0 24px 44px rgba(23,17,35,.28);
  border: 2px solid #2a2a30;
  position: relative;
  z-index: 2;
}
.phone-notch {
  width: 52px; height: 7px; border-radius: 8px;
  background: #000; margin: 0 auto 7px;
}
.phone-screen {
  position: relative;
  aspect-ratio: 390 / 660;
  height: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}
.phone-screen > a {
  display: block;
  width: 100%;
  height: 100%;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  height: 54px;
  padding: 5px 2px 7px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(23,17,35,.08);
  color: #8a8794;
  font-size: .52rem;
  font-weight: 750;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.phone-nav > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
}
.phone-nav svg { width: 15px; height: 15px; }
.phone-nav .on { color: #F46036; }
.phone-nav .phone-fab {
  width: 36px;
  height: 36px;
  margin: -18px auto 1px;
  border-radius: 50%;
  background: #F46036;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(244,96,54,.38);
  text-transform: none;
  font-size: .48rem;
  letter-spacing: 0;
}
.phone-nav .phone-fab svg { width: 16px; height: 16px; }
.phone-nav-crew {
  background: #111;
  color: #8a8070;
  border-top-color: #2a2a24;
}
.phone-nav-crew .on { color: #f5c518; }
.phone-nav-crew .phone-fab {
  background: #f5c518;
  color: #111;
  box-shadow: 0 8px 16px rgba(245,197,24,.35);
}
.phone-nav-snap {
  background: #16081c;
  color: #c9b8d4;
  border-top-color: rgba(255,255,255,.08);
}
.phone-nav-snap .on { color: #fff; }
.phone-nav-snap .phone-fab {
  background: linear-gradient(145deg, #ff8a3d, #F46036);
  color: #fff;
}
.phone-home {
  width: 36px; height: 4px; border-radius: 4px;
  background: #444; margin: 7px auto 2px;
}
.hint { font-size: .75rem; color: var(--muted); margin-top: .55rem; }
@media (max-width: 900px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-devices { grid-template-columns: minmax(0, 1fr) minmax(170px, 36%); }
}
@media (max-width: 640px) {
  .pf-foot-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact select {
  width: 100%; border: 1.5px solid var(--card-border); border-radius: 12px;
  padding: .8rem 2.4rem .8rem .9rem; font: inherit;
  background: var(--input-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23414770' stroke-width='1.6' stroke-linecap='round'/></svg>") no-repeat right .9rem center;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.contact select:invalid { color: var(--muted); }
.contact .flab {
  display: grid; gap: .32rem;
  font-size: .8rem; font-weight: 700; text-align: left; color: var(--ink);
}
.notice {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-weight: 650;
}
.notice.ok { background: rgba(34, 197, 94, .16); color: #166534; }
.notice.err { background: rgba(244, 96, 54, .16); color: #9a3412; }
html[data-theme="dark"] .notice.ok { color: #86efac; }
html[data-theme="dark"] .notice.err { color: #fdba74; }

.closer, .how {
  text-align: center;
  padding: 1.6rem 0 1.4rem;
}
.closer h2, .how h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.endboard {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(23,17,35,.08);
  padding: 1.8rem clamp(1.1rem, 2.2vw, 2rem) 1.5rem;
  backdrop-filter: blur(24px);
  text-align: center;
}
html[data-theme="dark"] .endboard {
  background: rgba(20,20,26,.88);
  border-color: #2a2a32;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  position: relative;
  margin: .3rem 0 0;
  text-align: center;
}
.process::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #F46036, #414770);
  opacity: .55;
}
.proc { position: relative; padding: 0 .4rem .2rem; }
.proc .n {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 999px;
  margin: 0 auto .7rem;
  background: #414770; color: #fff;
  font-weight: 800; font-size: .8rem;
  position: relative; z-index: 1;
}
.proc h3 { margin-bottom: .25rem; font-size: 1rem; }
.proc p { color: var(--muted); font-size: .84rem; }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: 1.5rem 0 0;
  margin: 1.3rem 0 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.quote-copy { padding: .2rem .2rem 0 0; }
.quote-copy .kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: .45rem;
}
.quote-copy p { color: var(--muted); }
.quote-copy ul { color: var(--muted); margin: .85rem 0 0 1.1rem; }
.quote-copy li { margin: .3rem 0; }
.quote-mail { font-weight: 650; color: var(--ink) !important; line-height: 1.5; }
.panel {
  background: #fff;
  height: 100%;
}
html[data-theme="dark"] .panel { background: #16161c; }

/* Inner pages (contact): fixed document width, not the fluid home wrap */
.page-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-inner main {
  flex: 1 0 auto;
  width: 100%;
}
.inner-box {
  width: 920px;
  max-width: 920px;
  margin: 0 auto 2.4rem;
}
.page-inner .page-hero { padding: 2rem 0 1.1rem; }
.page-inner .page-hero h1 {
  font-size: 2.55rem;
  letter-spacing: -.04em;
}
.page-inner .page-hero .lead {
  font-size: 1.02rem;
  max-width: none;
}
.contact-board,
.about-board {
  text-align: left;
  padding: 1.6rem 1.55rem 1.4rem;
}
.about-board { margin-bottom: 1.1rem; }
.about-board .prose { max-width: none; }
.about-board .prose a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-process h2 { font-size: 1.55rem; }
.about-cta { margin-top: 1.6rem; }
.contact-board .quote-grid {
  margin: 0;
  padding: 0;
  border-top: 0;
  max-width: none;
  width: 100%;
}
.page-inner > footer.wrap {
  width: 920px;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: 0;
}
.prose { max-width: 62ch; }
.prose p { color: var(--muted); margin: .7rem 0; }
.prose ul { color: var(--muted); margin: .5rem 0 1rem 1.1rem; }
.plug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2.5rem;
}
@media (max-width: 960px) {
  .inner-box,
  .page-inner > footer.wrap {
    width: calc(100% - 40px);
    max-width: 920px;
  }
}
@media (max-width: 820px) {
  .steps, .plug-grid, .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .quote-grid { grid-template-columns: 1fr; }
  .page-inner .page-hero h1 { font-size: 2.1rem; }
}
@media (max-width: 560px) {
  .inner-box,
  .page-inner > footer.wrap { width: calc(100% - 28px); }
  .page-inner .page-hero h1 { font-size: 1.85rem; }
  .contact-board,
  .about-board { padding: 1.15rem 1rem 1.1rem; }
}
