:root {
  --plaster: #F4F5F2;
  --concrete: #D9DCD6;
  --line: #C3C8C0;
  --ink: #18201D;
  --ink-2: #4A544F;
  --blue: #2747D6;
  --blue-deep: #1B33A6;
  --green: #1E7A52;
  --amber: #B7791F;
  --rose: #B3404A;
  --paper: #FFFFFF;

  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--f-head);
  font-stretch: 118%;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: 0.98; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-stretch: 112%; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--plaster) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--concrete); }
.top-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 1.3rem/1 var(--f-head); font-stretch: 125%; letter-spacing: -0.03em; }
.brand-mark { width: 26px; height: 26px; fill: var(--blue); }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a, .link-quiet { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .link-quiet:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 20px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--blue); color: #fff; border: 2px solid var(--blue); border-radius: 6px;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; margin-top: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-note { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

.siteday {
  margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 0 var(--concrete), 0 24px 48px -28px rgba(24, 32, 29, 0.35);
  overflow: hidden;
}
.siteday-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 22px 14px; border-bottom: 1px solid var(--concrete); }
.siteday-title { font: 700 1rem/1.2 var(--f-head); font-stretch: 112%; }
.siteday-meta { font-size: 0.85rem; color: var(--green); font-weight: 600; }
.feed { list-style: none; margin: 0; padding: 10px 22px 6px; position: relative; }
.feed li {
  display: grid; grid-template-columns: 48px 14px 1fr; gap: 12px; align-items: start;
  padding: 11px 0; position: relative;
}
.feed li + li { border-top: 1px dashed var(--concrete); }
.feed time { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 2px; }
.feed p { margin: 0; font-size: 0.95rem; line-height: 1.45; color: var(--ink-2); }
.feed b { color: var(--ink); font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; }
.dot-people, .swatch-people { background: var(--green); }
.dot-money, .swatch-money { background: var(--amber); }
.dot-quality, .swatch-quality { background: var(--rose); }
.dot-plan, .swatch-plan { background: var(--blue); }
.siteday-bar { height: 6px; background: var(--concrete); }
.siteday-bar span { display: block; height: 100%; background: var(--green); }

@media (prefers-reduced-motion: no-preference) {
  .js .feed li { opacity: 0; transform: translateY(6px); animation: feed-in .45s ease-out forwards; animation-delay: calc(0.35s + var(--i) * 0.42s); }
  .js .siteday-bar span { transform-origin: left; transform: scaleX(0); animation: bar-in 2.4s cubic-bezier(.3,.7,.2,1) .35s forwards; }
}
@keyframes feed-in { to { opacity: 1; transform: none; } }
@keyframes bar-in { to { transform: scaleX(1); } }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--concrete); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

.teams { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.team { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--line); }
.team:nth-child(odd) { border-right: 1px solid var(--line); }
.team:nth-child(even) { padding-left: 32px; padding-right: 0; }
.team h3 { display: flex; align-items: center; gap: 12px; }
.swatch { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.team > p { color: var(--ink-2); }
.team ul { margin: 0; padding: 0; list-style: none; }
.team li { padding: 7px 0 7px 22px; position: relative; font-size: 0.98rem; }
.team li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 10px; height: 2px; background: var(--ink); }

.section-ink { background: var(--ink); color: var(--plaster); border-top: 0; }
.section-ink .section-head p, .section-ink .app p { color: #B9C2BC; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #3A4541; }
.app { padding: 30px 28px 8px 0; }
.app + .app { padding-left: 28px; border-left: 1px solid #3A4541; }
.app h3 { font-size: 1.6rem; margin-bottom: 0.2em; color: #fff; }
.section-ink .app .app-for { color: #8FA8FF; font-weight: 600; font-size: 0.95rem; margin-bottom: 1em; }
.section-ink .app .app-stores { color: #fff; font-size: 0.9rem; font-weight: 600; border-top: 1px solid #3A4541; padding-top: 12px; margin-top: 18px; }

.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: start; }
.proof-copy p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; }
.proof-copy a { color: var(--blue); }
.figures { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.figures div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.figures dt { color: var(--ink-2); }
.figures dd { margin: 0; font: 800 clamp(1.8rem, 3.5vw, 2.6rem)/1 var(--f-head); font-stretch: 125%; letter-spacing: -0.02em; }
.brands { grid-column: 1 / -1; color: var(--ink-2); margin: 16px 0 0; max-width: 60em; }

.section-contact { background: var(--concrete); border-top: 0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact p { color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.contact-direct a { color: var(--blue); font-weight: 600; }
.form { display: grid; gap: 16px; background: var(--paper); padding: clamp(20px, 3vw, 32px); border-radius: 12px; border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.form input, .form select {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--plaster);
  width: 100%;
}
.form input:focus-visible, .form select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form input[aria-invalid="true"] { border-color: var(--rose); }
.form .btn { justify-self: start; margin-top: 4px; }
.form-msg { margin: 0; font-size: 0.92rem; min-height: 1.4em; color: var(--ink-2); }
.form-msg.error { color: var(--rose); }

/* footer */
.foot { background: var(--ink); color: #B9C2BC; padding: 56px 0 28px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 32px; }
.brand-foot { color: #fff; margin-bottom: 16px; }
.brand-foot .brand-mark { fill: #8FA8FF; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links a { color: #fff; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A4541; }

/* privacy page */
.doc { max-width: 46em; padding-top: 56px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }

@media (max-width: 900px) {
  .nav { display: none; }
  .top-inner { justify-content: space-between; }
  .hero-grid, .proof, .contact { grid-template-columns: 1fr; }
  .teams { grid-template-columns: 1fr; }
  .team, .team:nth-child(odd), .team:nth-child(even) { padding: 26px 0; border-right: 0; }
  .apps { grid-template-columns: 1fr; }
  .app, .app + .app { padding: 26px 0 4px; border-left: 0; }
  .app + .app { border-top: 1px solid #3A4541; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .link-quiet { display: none; }
  .feed li { grid-template-columns: 44px 12px 1fr; gap: 10px; }
}
