:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --bg-main: #f6f1e8;
  --bg-alt-1: #eee6d8;
  --bg-alt-2: #f4ecdf;
  --text-main: #1d1f24;
  --text-soft: #4f5664;
  --stroke: rgba(38, 34, 28, 0.14);
  --card: rgba(255, 255, 255, 0.74);
  --whatsapp: #25d366;
  --shadow-soft: 0 24px 52px rgba(38, 33, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: linear-gradient(180deg, #f8f4ec 0%, #f2eadf 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
}

.screen {
  padding: 72px 0;
  background: var(--bg-main);
}

.screen-alt-1 {
  background: var(--bg-alt-1);
}

.screen-alt-2 {
  background: var(--bg-alt-2);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.screen-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 16% 12%, rgba(193, 163, 114, 0.16) 0%, rgba(193, 163, 114, 0) 42%),
    radial-gradient(circle at 88% 88%, rgba(137, 154, 169, 0.22) 0%, rgba(137, 154, 169, 0) 50%),
    linear-gradient(180deg, #f8f3ea 0%, #ede3d4 100%);
}

.hero-wrap {
  display: grid;
  gap: 28px;
}

.project-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.chat-shell {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 44px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.chat-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(72, 70, 65, 0.45);
}

.h1-main {
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

.prompt-box {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  min-height: 120px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
}

.prompt-text {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: #5a6270;
  font-weight: 400;
}

.chip-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.chip {
  appearance: none;
  border: 1px solid rgba(36, 40, 47, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  color: #2a2e37;
}

.hero-caption {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-soft);
  font-weight: 500;
}

.h2-title {
  margin: 0;
  max-width: 22ch;
  font-size: 44px;
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-wrap: balance;
}

.subhead {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: #31363f;
}

.body-lg {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #343945;
}

.point-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  max-width: 56ch;
  display: grid;
  gap: 14px;
}

.point-list li {
  position: relative;
  padding-left: 22px;
  font-size: 20px;
  line-height: 1.58;
  font-weight: 400;
  color: #2d323c;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(44, 47, 53, 0.45);
}

.why-line {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: #48505d;
}

.cards-grid {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(33, 29, 24, 0.12);
  border-radius: 18px;
  padding: 22px;
}

.card p {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.62;
  color: #303641;
}

.h3-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.card-wide {
  grid-column: 1 / -1;
}

.big-list li {
  font-size: 20px;
  line-height: 1.6;
}

.screen-final {
  border-top: 1px solid rgba(28, 31, 38, 0.12);
}

.chat-shell-final {
  max-width: 980px;
}

.final-input {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(35, 39, 46, 0.2);
  border-radius: 14px;
  padding: 18px;
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #232833;
  background: rgba(255, 255, 255, 0.92);
}

.final-input:focus {
  outline: 2px solid rgba(53, 124, 202, 0.25);
  outline-offset: 2px;
}

.final-actions {
  margin-top: 18px;
}

.btn-whatsapp {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: var(--whatsapp);
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.btn-whatsapp:focus-visible {
  outline: 2px solid rgba(18, 116, 54, 0.5);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1023px) {
  .screen {
    padding: 64px 0;
  }

  .container {
    width: min(100%, 92vw);
  }

  .h1-main {
    font-size: 40px;
    line-height: 1.12;
  }

  .prompt-text {
    font-size: 18px;
    line-height: 1.4;
  }

  .chip {
    font-size: 16px;
    line-height: 1.25;
  }

  .hero-caption {
    font-size: 14px;
    line-height: 1.45;
  }

  .h2-title {
    font-size: 30px;
    line-height: 1.22;
  }

  .subhead {
    font-size: 18px;
    line-height: 1.5;
  }

  .body-lg {
    font-size: 17px;
    line-height: 1.55;
  }

  .point-list li {
    font-size: 17px;
    line-height: 1.6;
  }

  .why-line {
    font-size: 16px;
    line-height: 1.58;
  }

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

  .h3-title {
    font-size: 22px;
    line-height: 1.35;
  }

  .card p {
    font-size: 16px;
    line-height: 1.62;
  }

  .big-list li {
    font-size: 17px;
    line-height: 1.6;
  }

  .final-input {
    font-size: 17px;
    line-height: 1.55;
  }

  .btn-whatsapp {
    width: 100%;
    font-size: 18px;
    line-height: 1.2;
  }
}

@media (orientation: landscape) and (max-width: 1023px) {
  .screen {
    padding: 48px 0;
  }

  .h1-main {
    font-size: 34px;
    line-height: 1.12;
  }

  .h2-title {
    font-size: 26px;
    line-height: 1.22;
  }

  .subhead {
    font-size: 17px;
    line-height: 1.5;
  }

  .body-lg,
  .point-list li,
  .big-list li {
    font-size: 16px;
    line-height: 1.6;
  }

  .h3-title {
    font-size: 20px;
    line-height: 1.35;
  }

  .card p,
  .final-input {
    font-size: 15px;
    line-height: 1.62;
  }

  .chip {
    font-size: 15px;
    line-height: 1.25;
  }

  .btn-whatsapp {
    font-size: 17px;
    line-height: 1.2;
  }
}
