@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Poppins:wght@800&display=swap");

:root {
  --navy: #102a50;
  --blue: #145199;
  --blue-hover: #10437f;
  --cream: #f5f0e6;
  --paper: #fffcf7;
  --ice: #e7f4fa;
  --sky: #aee1f5;
  --muted: #425a72;
  --line: #102a5029;
  font-family: Jost, "Century Gothic", Arial, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1.125rem; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 6.8vw, 7rem); letter-spacing: -.065em; }
h1 span { display: block; color: var(--blue); }
h2 { font-size: clamp(2.35rem, 4.9vw, 4.25rem); letter-spacing: -.05em; }
h3 { font-size: 1.45rem; letter-spacing: -.025em; }
p + p, h2 + p, h3 + p { margin-top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; background: white; color: var(--navy); padding: .65rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { background: var(--paper); color: var(--navy); border-bottom: 1px solid var(--line); }
.bar, .footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 1.15rem; }
.bar { min-height: 5rem; }
.brand { display: block; flex: none; }
.brand img { width: 115px; height: auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem clamp(.9rem, 2.4vw, 2.1rem); }
nav a { color: var(--navy); text-decoration: none; font-size: 1rem; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.1rem; font-size: 1rem; font-weight: 600; text-decoration: none; text-align: center; border: 1px solid transparent; border-radius: .35rem; }
.outline { border-color: var(--blue); color: var(--blue); }
.outline:hover { background: var(--ice); }
.blue { background: var(--blue); color: white; }
.blue:hover { background: var(--blue-hover); }
.actions { display: flex; gap: .85rem; align-items: center; flex-wrap: wrap; margin-top: 1.65rem; }
.text-link { color: var(--blue); font-weight: 600; text-underline-offset: .25em; }
.hero { background: var(--paper); color: var(--navy); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 5rem); }
.eyebrow { margin-bottom: .85rem; color: var(--blue); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lede { max-width: 34rem; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: 1.3rem; }
.machine { display: grid; justify-items: center; width: min(100%, 31rem); justify-self: center; background: var(--ice); border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; }
.machine img { width: 100%; height: clamp(22rem, 42vw, 35rem); object-fit: cover; object-position: center; }
.machine figcaption { display: flex; justify-content: space-between; gap: .5rem; width: 100%; padding: .7rem 1rem; color: var(--muted); font-size: .9rem; }
.machine figcaption strong { color: var(--navy); }
.proof { color: white; background: var(--navy); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid div { display: grid; padding: 1.1rem 1.25rem; border-right: 1px solid #ffffff35; }
.proof-grid div:first-child { padding-left: 0; }
.proof-grid div:last-child { border: 0; }
.proof-grid strong { font-size: clamp(1.3rem, 2.5vw, 2.15rem); line-height: 1.2; }
.proof-grid span { color: var(--sky); font-size: 1rem; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-head { max-width: 52rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.section-head > p:last-child { max-width: 40rem; }
.section p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: .5rem; }
.flow > * { padding: clamp(1.15rem, 2.8vw, 2.4rem); }
.flow > * + * { border-left: 1px solid var(--line); }
.flow .text-link { display: inline-block; margin-top: .5rem; }
.cream { background: var(--cream); }
.columns, .split, .control-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.75rem, 6vw, 6rem); }
.columns { grid-template-columns: .85fr 1.15fr; }
.photo img { width: 100%; height: clamp(16rem, 32vw, 27rem); object-fit: cover; border-radius: .5rem; }
.photo figcaption, .dashboard figcaption { font-size: .9rem; margin-top: .55rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-block: 1.5rem; }
.specs > div { border-top: 1px solid var(--line); padding-top: .65rem; }
.specs dt { color: var(--blue); font-size: clamp(1.3rem, 3vw, 2.15rem); font-weight: 600; line-height: 1.2; }
.specs dd { margin: .25rem 0 0; font-size: .97rem; }
details { border-top: 1px solid var(--line); padding-top: .7rem; }
summary { cursor: pointer; font-weight: 600; color: var(--blue); }
details p { margin-top: .75rem; }
.control { color: var(--navy); background: var(--ice); }
.control-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(1.75rem, 4vw, 4rem); }
.dashboard figcaption { color: var(--muted); }
.dashboard figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; }
.dashboard figcaption a { color: var(--blue); text-underline-offset: .2em; }
.dashboard img { height: auto; border-radius: .5rem; }
.feature-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.feature-list li { padding: .65rem 0; border-top: 1px solid var(--line); }
.requirements { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: .5rem; }
.split .button:not(.actions .button), .investor-hero .button { margin-top: 1.25rem; }
.footer { background: var(--navy); color: var(--ice); padding-block: 2rem; font-size: .95rem; }
.footer-grid > div { display: grid; gap: .35rem; }
.footer .brand { background: var(--paper); border-radius: .35rem; padding: .45rem .65rem; }
.footer a { text-underline-offset: .2em; }
.footer a:focus-visible { outline-color: var(--sky); }
@media (max-width: 880px) {
  .bar { flex-wrap: wrap; padding-block: .8rem; }
  .bar nav { order: 3; flex: 0 0 100%; }
  .investor-bar nav { order: initial; flex: initial; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .columns, .split, .control-grid, .flow { grid-template-columns: 1fr; }
  .columns .photo { order: 2; }
  .flow > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .machine img { height: min(122vw, 31rem); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div, .proof-grid div:last-child { border: 0; padding: .75rem 0; }
  .proof-grid div + div { border-top: 1px solid #ffffff35; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}




.homepage {
  --paper: #faf7f2;
  --cream: #f1ebdf;
  --ice: #e8f3f8;
  background: var(--paper);
}
.homepage .hero h1 span { color: inherit; }
.homepage .machine {
  background: var(--cream);
  padding: clamp(.65rem, 1.5vw, 1.15rem);
}
.homepage .machine img {
  height: auto;
  max-height: 30rem;
  width: auto;
  object-fit: contain;
  border-radius: .25rem;
}
.homepage .machine figcaption { padding: .65rem 0 0; }
.homepage .proof {
  background: var(--ice);
  color: var(--navy);
  border-block: 1px solid var(--line);
}
.homepage .proof-grid div { border-color: var(--line); }
.homepage .proof-grid strong { color: var(--blue); }
.homepage .proof-grid span { color: var(--muted); }
.homepage .flow, .homepage .requirements { background: var(--paper); }

.event { background: var(--ice); }
.event .actions { margin-top: 0; }

/* Casa212 uses a live-text wordmark on its own site. */
.header-brand {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.2vw, 1rem);
}
.header-brand .backer {
  flex: none;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: clamp(.5rem, 1.2vw, 1rem);
}
@media (min-width: 881px) and (max-width: 1010px) {
  .homepage .bar nav { gap: .75rem; }
}
@media (max-width: 400px) {
  .header-brand .brand img { width: 83px; }
  .header-brand .backer-wordmark { font-size: 1.1rem; }
  .homepage .bar { column-gap: .5rem; }
  .homepage .bar > .button { padding-inline: .65rem; }
}
.backer {
  display: grid;
  justify-items: center;
  gap: .2rem;
  text-decoration: none;
}
.backer-label { color: var(--muted); font-size: .875rem; line-height: 1; }
.backer-wordmark {
  color: #201f24;
  font: 800 1.3rem/1 Poppins, Arial, sans-serif;
  letter-spacing: -.02em;
}
.backer-wordmark span { color: oklch(.62 .22 38); }
.backer:hover .backer-label { text-decoration: underline; text-underline-offset: .2em; }


.bar nav .language-switch {
  color: var(--blue);
  font-weight: 600;
  padding-inline-start: .65rem;
  border-inline-start: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .homepage .bar { flex-wrap: wrap; padding-block: .8rem; }
  .homepage .bar nav { order: 3; flex: 0 0 100%; gap: .5rem 1rem; }
}
