:root {
  color-scheme: light;
  --ink: #102023;
  --muted: #5c6b70;
  --soft: #eef4f1;
  --paper: #fffaf3;
  --line: rgba(16, 32, 35, 0.14);
  --teal: #0d9488;
  --teal-deep: #073f43;
  --coral: #f46f5f;
  --gold: #d3a34c;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(13, 46, 49, 0.18);
  --max: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 243, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 164px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--teal-deep);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  color: #314347;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 10px 0;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  font-weight: 750;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100svh - 72px));
  align-items: center;
  padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 243, 0.99) 0%, rgba(255, 250, 243, 0.94) 42%, rgba(255, 250, 243, 0.36) 74%),
    url("assets/docked-ai-studio-hero.svg");
  background-position: center;
  background-size: cover;
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 190px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0), var(--paper));
  content: "";
}

.hero-copy {
  width: min(680px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 8.5rem;
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 620px;
  color: #26383b;
  font-size: 1.35rem;
}

.hero-actions,
.request-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.header-cta:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal-deep);
  box-shadow: 0 14px 30px rgba(7, 63, 67, 0.2);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(7, 63, 67, 0.18);
  color: var(--ink);
}

.button.wide {
  width: 100%;
}

.hero-stats {
  display: grid;
  max-width: 560px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(7, 63, 67, 0.14);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--teal-deep);
  font-size: 1.8rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 64px);
}

.section-heading,
.price-copy,
.brief-copy {
  width: min(var(--max), 100%);
  margin: 0 auto 38px;
}

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

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

.intro-grid,
.fit-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.service-card,
.fit-grid div,
.price-panel,
.demo-panel,
.brief-form {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 48, 50, 0.07);
}

.service-card {
  min-height: 250px;
  padding: 28px;
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  background: #e1f5ef;
  border-radius: 8px;
  color: var(--teal-deep);
  font-size: 1.3rem;
  font-weight: 800;
}

.workflow {
  background: var(--soft);
}

.steps {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.steps li {
  min-height: 280px;
  padding: 28px;
  background: #fbfff9;
}

.steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--coral);
  font-weight: 900;
}

.demo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 64px);
  background: #102023;
  color: var(--white);
}

.demo-copy {
  width: min(560px, 100%);
  justify-self: end;
}

.demo-copy .eyebrow,
.demo-copy p {
  color: #9ce4d9;
}

.demo-copy h2 {
  color: var(--white);
}

.demo-panel {
  width: min(560px, 100%);
  padding: 22px;
  background: #fbfff9;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.chat-log {
  display: grid;
  gap: 12px;
  min-height: 154px;
}

.message {
  width: fit-content;
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.45;
}

.message.incoming {
  background: #eaf3ef;
}

.message.outgoing {
  justify-self: end;
  background: #0f766e;
  color: var(--white);
}

.demo-form {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

label,
legend {
  color: #2c4044;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 32, 35, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

input[type="file"] {
  height: auto;
  padding: 12px;
}

input {
  height: 48px;
  padding: 0 14px;
}

select {
  height: 48px;
  padding: 0 38px 0 14px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #314347 50%),
    linear-gradient(135deg, #314347 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 20px,
    calc(100% - 14px) 20px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

textarea {
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.request-row {
  flex-wrap: nowrap;
}

.icon-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 900;
}

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

.task-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #34494d;
}

.task-list span {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--teal);
  border-radius: 999px;
}

.pricing {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  margin: 0 auto;
}

.pricing.section {
  width: auto;
}

.pricing .price-copy {
  margin: 0;
}

.price-panel {
  padding: 30px;
}

.price-label {
  color: var(--teal-deep);
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin-bottom: 24px;
  color: var(--ink);
  font-weight: 800;
}

.price span {
  font-size: 5.8rem;
  letter-spacing: 0;
}

.price-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-panel li {
  position: relative;
  padding-left: 28px;
  color: #314347;
}

.price-panel li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "\2713";
  font-weight: 900;
}

.fine-print {
  margin: 16px 0 0;
  font-size: 0.82rem;
}

.proof {
  background: #fbfff9;
}

.fit-grid div {
  padding: 24px;
}

.brief-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.95fr);
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(244, 111, 95, 0.1), rgba(13, 148, 136, 0.14)),
    #fffaf3;
}

.brief-copy {
  max-width: 560px;
  margin: 0;
  justify-self: end;
}

.brief-form {
  display: grid;
  width: min(620px, 100%);
  gap: 18px;
  padding: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brief-form label {
  display: grid;
  gap: 8px;
}

.domain-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #f7fbf8;
  border: 1px solid rgba(16, 32, 35, 0.12);
  border-radius: 8px;
}

.domain-tools strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.domain-tools p {
  margin: 0;
  font-size: 0.9rem;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.segmented.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.segmented span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid rgba(16, 32, 35, 0.16);
  border-radius: 8px;
  background: #f7fbf8;
  color: #314347;
  cursor: pointer;
  font-weight: 850;
}

.segmented input:checked + span {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.feature-grid label {
  position: relative;
}

.feature-grid input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.feature-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(16, 32, 35, 0.16);
  border-radius: 8px;
  background: #f7fbf8;
  color: #314347;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.feature-grid input:checked + span {
  border-color: var(--teal);
  background: #e1f5ef;
  color: var(--teal-deep);
}

.file-field > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.upload-preview {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.upload-preview:not(:empty) {
  display: grid;
}

.upload-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(16, 32, 35, 0.12);
  border-radius: 8px;
  object-fit: cover;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: #bbccce;
}

.site-footer a {
  color: #9ce4d9;
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(255, 250, 243, 0.96) 0%, rgba(255, 250, 243, 0.82) 48%, rgba(255, 250, 243, 0.18) 100%),
      url("assets/docked-ai-studio-hero.svg");
    background-position: center right;
  }

  .intro-grid,
  .fit-grid,
  .steps,
  .demo-band,
  .pricing,
  .brief-section {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 22px;
  }

  .demo-copy,
  .brief-copy {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    min-height: 66px;
  }

  .brand {
    min-width: auto;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding-top: 58px;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .price span {
    font-size: 4rem;
  }

  .hero-stats,
  .field-row,
  .domain-tools,
  .feature-grid,
  .upload-preview,
  .segmented.four,
  .segmented {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .demo-band,
  .brief-section,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
