:root {
  color-scheme: light;
  --ink: #152124;
  --muted: #62706c;
  --paper: #f8f4ec;
  --panel: #ffffff;
  --line: #d6ded9;
  --accent: #c83c35;
  --accent-2: #246f5e;
  --accent-3: #e8b438;
  --steel: #263436;
  --dark: #263436;
  --shadow: 0 22px 60px rgba(27, 39, 42, .14);
}

body[data-theme="home"] {
  --ink: #203126;
  --muted: #687464;
  --paper: #fbf6ed;
  --line: #d7c7af;
  --accent: #b85f32;
  --accent-2: #3f7b52;
  --accent-3: #e0ab3c;
  --dark: #2f4234;
}

body[data-theme="tech"] {
  --ink: #13233b;
  --muted: #5d6f84;
  --paper: #eef8fb;
  --line: #c8d9e6;
  --accent: #2c87a6;
  --accent-2: #3760b0;
  --accent-3: #65e5b7;
  --dark: #17243a;
}

body[data-theme="detail"] {
  --ink: #173033;
  --muted: #55716f;
  --paper: #f0fbff;
  --line: #bddbd5;
  --accent: #2aa6b5;
  --accent-2: #257d6e;
  --accent-3: #f2ce4d;
  --dark: #16413f;
}

body[data-theme="errands"] {
  --ink: #2c2834;
  --muted: #6d6577;
  --paper: #fff7ec;
  --line: #d7cddd;
  --accent: #c9493d;
  --accent-2: #69599b;
  --accent-3: #f2c24f;
  --dark: #40374e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--accent-3) 24%, transparent), transparent 28%),
    linear-gradient(135deg, var(--paper), color-mix(in srgb, var(--paper) 78%, var(--accent-2)));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  transition: background-color .25s ease, color .25s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: color-mix(in srgb, var(--paper) 88%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, var(--dark));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .08);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: .95rem;
  font-weight: 800;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(34px, 5vw, 66px) clamp(18px, 5vw, 72px) clamp(24px, 4vw, 38px);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.1rem, 6.7vw, 5.8rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary,
button[type="submit"] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 25%, transparent);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--dark);
}

.theme-console {
  min-width: 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, var(--dark));
  border-radius: 8px;
  background: color-mix(in srgb, white 76%, var(--paper));
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.console-top h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-3) 28%, white);
  color: var(--dark);
  font-size: .78rem;
  font-weight: 900;
}

.theme-preview {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.theme-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 8;
  object-fit: cover;
}

.theme-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.theme-button {
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: none;
}

.theme-button.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(27, 39, 42, .08);
}

.brand-strip article {
  min-height: 146px;
  padding: 24px;
  background: #fff;
}

.brand-strip strong,
.brand-strip span {
  display: block;
}

.brand-strip strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.brand-strip span,
.section-note,
.service-card p,
.contact-section p {
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-note {
  max-width: 360px;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(27, 39, 42, .07);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-2) 12%, white);
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 900;
}

.service-card p,
.contact-section p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--dark);
  color: #fff;
}

.split-section .eyebrow {
  color: var(--accent-3);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent-3);
  color: var(--dark);
  font-weight: 900;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.easter-egg-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: #fff;
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.easter-egg-content {
  max-width: 760px;
  margin: 0 auto;
}

.easter-egg-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.easter-egg-text {
  margin: 16px 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
}

.easter-egg-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.easter-egg-subtext {
  font-size: 0.95rem;
  color: var(--muted);
  opacity: 0.85;
  margin-top: 20px;
}

.easter-egg-signature {
  margin-top: 24px;
  font-size: 0.9rem;
  font-style: normal;
  text-align: right;
  color: var(--muted);
  opacity: 0.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #fff;
}

.contact-section h2 {
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--dark));
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--accent-2) 20%, transparent);
  border-color: var(--accent-2);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--dark);
  color: rgba(255, 255, 255, .76);
  font-size: .92rem;
}

footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1060px) {
  .service-grid,
  .brand-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .easter-egg-signature {
    text-align: left;
  }
}

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

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: .88rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .theme-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-button:last-child {
    grid-column: 1 / -1;
  }

  .theme-preview img {
    aspect-ratio: 16 / 7.5;
  }

  .hero-actions,
  footer,
  .console-top {
    flex-direction: column;
  }

  .button,
  button[type="submit"] {
    width: 100%;
  }

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

  .brand-strip article,
  .service-card {
    min-height: auto;
  }

  .easter-egg-text {
    font-size: 1rem;
  }

  .easter-egg-subtext {
    font-size: 0.9rem;
  }
}
