:root {
  color-scheme: light;
  --paper: #fbf8ee;
  --paper-soft: rgba(255, 253, 246, 0.8);
  --ink: #101116;
  --ink-soft: #42444d;
  --muted: #6d707a;
  --line: rgba(16, 17, 22, 0.16);
  --violet: #8a2cff;
  --pink: #ff4fb6;
  --coral: #ff6f45;
  --orange: #ffa51d;
  --blue: #176cff;
  --gradient: linear-gradient(90deg, var(--violet), var(--pink) 38%, var(--coral) 68%, var(--orange));
  --wide: min(1180px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(251, 248, 238, 0.8), rgba(251, 248, 238, 0.76)), url("assets/notebook-background.svg");
  background-size: auto, min(1800px, 180vw) auto;
  background-position: center top, center top;
  background-repeat: repeat-y, repeat-y;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 28px);
  margin: 14px auto 0;
  padding: 12px clamp(14px, 3vw, 28px);
  background: rgba(255, 253, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(16, 17, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(16, 17, 22, 0.14);
}

.brand-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 9px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name span,
.site-footer strong {
  color: var(--pink);
  font-weight: inherit;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.hero,
.manifesto,
.section,
.awards-strip,
.site-footer {
  width: var(--wide);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 83px);
  padding-block: clamp(44px, 7vw, 86px) clamp(42px, 6vw, 72px);
}

.hero-copy {
  position: relative;
  max-width: 690px;
  padding: clamp(8px, 2vw, 22px) 0;
}

.hero-copy::before {
  content: "nota: no vender horas, vender criterio";
  position: absolute;
  top: -28px;
  right: 10px;
  max-width: 210px;
  color: rgba(16, 17, 22, 0.52);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 15px;
  line-height: 1.2;
  transform: rotate(3deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 22px);
}

.gradient-rule {
  width: 118px;
  height: 4px;
  margin-bottom: 30px;
  background: var(--gradient);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #fffdf6;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(16, 17, 22, 0.18);
}

.button-primary:hover {
  background: var(--gradient);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 253, 246, 0.72);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: rgba(16, 17, 22, 0.34);
}

.hero-system {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #030303;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(16, 17, 22, 0.18);
  transform: rotate(1.5deg);
}

.hero-system::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 44%;
  width: 80px;
  height: 28px;
  background: rgba(255, 236, 143, 0.72);
  border: 1px solid rgba(16, 17, 22, 0.08);
  transform: rotate(-3deg);
  z-index: 1;
}

.hero-system img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.manifesto {
  position: relative;
  padding: clamp(28px, 5vw, 46px) clamp(18px, 4vw, 38px) clamp(56px, 8vw, 96px);
  background: rgba(255, 253, 246, 0.6);
  border: 1px solid rgba(16, 17, 22, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16, 17, 22, 0.07);
}

.manifesto::after {
  content: "subrayar esto";
  position: absolute;
  right: clamp(18px, 6vw, 94px);
  bottom: 22px;
  color: rgba(16, 17, 22, 0.45);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 15px;
  transform: rotate(-4deg);
}

.manifesto p,
.manifesto strong {
  display: block;
  max-width: 950px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 310;
  letter-spacing: 0;
  line-height: 1.03;
}

.identity-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 58px);
  padding: clamp(24px, 5vw, 46px);
  background: rgba(255, 253, 246, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(16, 17, 22, 0.08);
  overflow: hidden;
}

.identity-card::after {
  content: "oficio + criterio";
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  bottom: 18px;
  color: rgba(16, 17, 22, 0.42);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 14px;
  transform: rotate(-2.5deg);
}

.identity-card h2 {
  max-width: 620px;
}

.identity-copy {
  align-self: end;
  max-width: 650px;
}

.identity-copy p {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 19px;
}

.manifesto strong,
.metric-card span,
.capability-list span,
.ai-note span {
  width: fit-content;
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.section {
  padding-block: clamp(62px, 9vw, 112px);
}

.section-heading {
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.72fr));
  gap: 12px;
}

.product-card,
.metric-card,
.capability-list div,
.timeline div,
.contact-panel {
  background: rgba(255, 253, 246, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 17, 22, 0.08);
}

.product-card,
.metric-card {
  min-height: 248px;
  padding: 24px;
}

.product-card-main {
  transform: rotate(-0.5deg);
}

.metric-card:nth-child(2) {
  transform: rotate(1deg);
}

.metric-card:nth-child(3) {
  transform: rotate(-1.2deg);
}

.metric-card:nth-child(4) {
  transform: rotate(0.8deg);
}

.product-card-main p {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 18px;
}

.metric-card span {
  display: block;
  margin-bottom: 26px;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 760;
  line-height: 1;
}

.metric-card p {
  margin: 0;
  color: var(--ink-soft);
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list div {
  padding: 22px;
}

.capability-list div:nth-child(even) {
  transform: rotate(-0.7deg);
}

.capability-list div:nth-child(odd) {
  transform: rotate(0.6deg);
}

.capability-list span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 900;
}

.capability-list p,
.ai-copy p,
.ai-note p,
.founder-copy p,
.contact-panel p {
  color: var(--ink-soft);
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.ai-copy p {
  max-width: 670px;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 19px;
}

.ai-question {
  position: relative;
  padding: 18px 20px 20px;
  color: var(--ink);
  background: rgba(255, 253, 246, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 17, 22, 0.08);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  line-height: 1.35;
  transform: rotate(-1.2deg);
}

.ai-question::before {
  content: "pregunta incomoda";
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-notes {
  display: grid;
  gap: 12px;
}

.ai-note {
  padding: 22px;
  background: rgba(255, 253, 246, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 17, 22, 0.08);
}

.ai-note:nth-child(1) {
  transform: rotate(0.7deg);
}

.ai-note:nth-child(2) {
  transform: rotate(-0.8deg);
}

.ai-note:nth-child(3) {
  transform: rotate(0.4deg);
}

.ai-note span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 900;
}

.founder-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.founder-copy p {
  max-width: 640px;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 19px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  padding: 20px;
}

.timeline div:nth-child(2),
.timeline div:nth-child(4) {
  transform: rotate(0.7deg);
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.timeline strong {
  font-size: 18px;
  font-weight: 620;
}

.awards-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.awards-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--ink-soft);
  text-align: center;
  background: rgba(255, 253, 246, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 17, 22, 0.06);
}

.contact-panel {
  padding: 28px;
}

.contact-panel p {
  margin-bottom: 22px;
  font-size: 19px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  color: var(--muted);
  border-top: 1px solid rgba(16, 17, 22, 0.12);
}

.site-footer span:first-child {
  letter-spacing: 8px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .hero,
  .identity-card,
  .capability-section,
  .ai-section,
  .founder-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy::before {
    right: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-main {
    grid-column: 1 / -1;
  }

  .awards-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .awards-strip span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    background-size: auto, 1180px auto;
    background-position: center top, 52% top;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px;
  }

  .brand-mark {
    width: 46px;
    height: 32px;
  }

  .brand-name {
    max-width: 232px;
    font-size: 12px;
    letter-spacing: 5px;
  }

  .main-nav {
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .hero,
  .manifesto,
  .section,
  .awards-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 26px;
    padding-block: 34px 40px;
  }

  .hero-copy::before {
    position: static;
    display: block;
    margin-bottom: 16px;
    max-width: none;
    transform: rotate(-2deg);
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-system {
    transform: rotate(0.6deg);
  }

  .hero-system img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .manifesto {
    padding: 22px 18px 58px;
  }

  .manifesto p,
  .manifesto strong {
    font-size: clamp(30px, 9vw, 40px);
  }

  .manifesto::after {
    right: 18px;
    bottom: 18px;
  }

  .section {
    padding-block: 48px;
  }

  .product-grid,
  .awards-strip {
    grid-template-columns: 1fr;
  }

  .product-card,
  .metric-card {
    min-height: 0;
    padding: 22px;
  }

  .identity-card {
    padding: 24px 20px 54px;
  }

  .product-card-main,
  .metric-card,
  .capability-list div,
  .ai-note,
  .ai-question,
  .timeline div {
    transform: none !important;
  }

  .metric-card span {
    margin-bottom: 12px;
  }

  .awards-strip span:last-child {
    grid-column: auto;
  }

  .contact-panel {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
