/* Cresando marketing site. Matches the app emails: blue #2346c9 on green-grey paper. */
:root {
  --paper: #f1f4f2;
  --card: #fcfdfc;
  --ink: #111a16;
  --ink-2: #3f4d47;
  --ink-3: #5d6b65;
  --line: #d3dcd8;
  --accent: #2346c9;
  --accent-deep: #1a3499;
  --accent-ink: #f7f9ff;
  --accent-soft: #e4e9fa;
  --ok: #1f7a4d;
  --ok-soft: #e1f1e7;
  --wait: #a35a06;
  --wait-soft: #fbefdc;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Bitstream Charter", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-hero: clamp(2.5rem, 1.4rem + 5vw, 5rem);
  --text-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(17 26 22 / 0.06), 0 12px 32px -12px rgb(17 26 22 / 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--text-base)/1.6 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; justify-content: center; }
.muted { color: var(--ink-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none;
  border: 1.5px solid var(--accent);
  box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 6px 16px -8px rgb(35 70 201 / .7);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--accent-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: var(--card); border-color: var(--ink); }
.btn-light { background: var(--card); color: var(--accent-deep); border-color: var(--card); box-shadow: none; }
.btn-light:hover { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.link { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(241 244 242 / .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.mark { width: 32px; height: 32px; flex: none; }
.mark .mark-c { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.mark .mark-h { fill: var(--accent); stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.top-links { display: flex; align-items: center; gap: .25rem 1.25rem; }
.top-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.top-links a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.hide-sm { display: none; }

/* Hero */
.hero { padding: clamp(2.5rem, 2rem + 4vw, 6rem) 0 var(--space-section); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgb(35 70 201 / .13), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; gap: 3rem; position: relative; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
h1 { font-family: var(--serif); font-weight: 600; font-size: var(--text-hero); letter-spacing: -.025em; line-height: 1.02; }
h1 em, .final h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 36rem; margin: 1.5rem 0 2rem; }
.fine { margin-top: 1.25rem; font-size: .93rem; color: var(--ink-3); }

.hero-visual { position: relative; min-height: 380px; }
.week {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem;
  box-shadow: var(--shadow); width: min(100%, 460px); transform: rotate(-2deg);
}
.day { border-radius: 10px; padding: .6rem .55rem; background: var(--paper); display: grid; gap: .15rem; font-size: .78rem; }
.day b { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.day .ch { font-weight: 650; color: var(--ink); }
.day .st { font-weight: 650; }
.day.done .st { color: var(--ok); }
.day.sched .st { color: var(--accent); }
.day.wait { background: var(--wait-soft); outline: 1.5px solid var(--wait); }
.day.wait .st { color: var(--wait); }

.post-card {
  position: absolute; right: 0; top: 96px; width: min(92%, 400px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 2px 4px rgb(17 26 22 / .06), 0 30px 60px -20px rgb(17 26 22 / .35); transform: rotate(1.5deg);
}
.post-card header { display: flex; gap: .7rem; align-items: center; margin-bottom: .8rem; }
.post-card header b { display: block; font-size: .95rem; }
.post-card header small { color: var(--ink-3); font-size: .8rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 750; }
.post-card > p { font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.check { margin-top: .85rem !important; font-size: .82rem !important; font-weight: 600; color: var(--ok) !important; display: flex; align-items: center; gap: .4rem; }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); font-size: .7rem; }
.card-actions { display: flex; gap: .5rem; margin-top: 1rem; }
.pill { font-size: .82rem; font-weight: 650; padding: .45rem .85rem; border-radius: 8px; border: 1.5px solid var(--line); color: var(--ink-2); }
.pill-main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Problem */
.problem { padding: var(--space-section) 0; background: var(--ink); color: #dfe6e2; }
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.25rem; }
.problem .eyebrow { color: #93a39b; }
.pull { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.22; color: #fbfcfb; letter-spacing: -.01em; margin-bottom: 1.75rem; }
.pull span { color: #9fb2ff; font-style: italic; }
.problem p:not(.pull) { font-size: 1.1rem; max-width: 40rem; }

/* Section titles */
.section-title { font-family: var(--serif); font-weight: 600; font-size: var(--text-h2); letter-spacing: -.02em; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 18ch; }

/* How */
.how { padding: var(--space-section) 0; }
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: .25rem 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.steps .num { grid-row: span 2; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.steps h3 { font-size: 1.2rem; font-weight: 700; }
.steps p { color: var(--ink-2); max-width: 34rem; }

/* Trust bento */
.trust { padding: 0 0 var(--space-section); }
.bento { display: grid; gap: 1rem; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: .6rem; letter-spacing: -.01em; }
.tile p { color: var(--ink-2); }
.tile-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tile-accent p { color: #d9e0fb; }

/* Ways */
.ways { padding: var(--space-section) 0; background: var(--card); border-block: 1px solid var(--line); }
.ways-grid { display: grid; gap: 1.25rem; }
.way { border-radius: calc(var(--radius) + 4px); padding: clamp(1.6rem, 1.2rem + 2vw, 2.75rem); display: flex; flex-direction: column; gap: 1rem; }
.way h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); letter-spacing: -.02em; }
.way .tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.way-lede { font-size: 1.08rem; }
.way ul { display: grid; gap: .55rem; }
.way li { padding-left: 1.6rem; position: relative; }
.way li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .75; }
.way .btn, .way .cta-row { margin-top: auto; align-self: flex-start; }
.way-dfy { background: var(--accent); color: var(--accent-ink); box-shadow: 0 30px 60px -30px rgb(35 70 201 / .7); }
.way-dfy .tag { color: #c4cffa; }
.way-dfy .way-lede, .way-dfy li { color: #e3e8fc; }
.promises { margin: .5rem 0 .75rem; display: grid; gap: .85rem; padding: 1.1rem 1.2rem; border-radius: 12px; background: rgb(255 255 255 / .09); border: 1px solid rgb(255 255 255 / .18); }
.promises dt { font-weight: 700; }
.promises dd { margin: 0; color: #d2dafa; font-size: .95rem; }
.way-diy { background: var(--paper); border: 1px solid var(--line); }
.way-diy .tag { color: var(--accent); }
.way-diy .way-lede, .way-diy li { color: var(--ink-2); }
.way-diy li b { color: var(--ink); }
.note { font-size: .93rem; color: var(--ink-3); }

/* Channels */
.channels { padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .55rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); font-size: .95rem; }

/* Outreach */
.outreach { padding: 0 0 var(--space-section); }
.outreach-row { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.6rem, 1.2rem + 2vw, 2.5rem); border: 1.5px dashed var(--line); border-radius: calc(var(--radius) + 4px); }
.outreach h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: .6rem; letter-spacing: -.01em; }
.outreach p { color: var(--ink-2); max-width: 44rem; }
.outreach .btn { justify-self: start; }

/* Final */
.final { padding: var(--space-section) 0; border-top: 1px solid var(--line); }
.final h2 { font-family: var(--serif); font-weight: 600; font-size: var(--text-h2); letter-spacing: -.02em; margin-bottom: 2rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .93rem; color: var(--ink-2); }
.foot-row { display: grid; gap: .75rem; }
.brand.small { font-size: 1rem; }
.brand.small .mark { width: 24px; height: 24px; }

/* Larger screens */
@media (min-width: 720px) {
  .hide-sm { display: list-item; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile-wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .outreach-row { grid-template-columns: 1fr auto; }
  .outreach .btn { justify-self: end; }
  .foot-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; }
  .hero-visual { min-height: 440px; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; border-top: 0; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 1.25rem; }
  .steps .num { grid-row: auto; margin-bottom: .75rem; }
  .ways-grid { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
}
.center .lede { margin-inline: auto; }

/* Legal pages (privacy, terms) */
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--space-section); }
.legal h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); }
.legal .updated { color: var(--ink-2); margin: .75rem 0 2.5rem; }
.legal h2 { font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin: 2.75rem 0 .75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; }
.legal p, .legal li { color: var(--ink); line-height: 1.65; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .4rem; }
.legal .callout { background: var(--accent-soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; }
@media (max-width: 560px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td:first-child { font-weight: 600; border-bottom: 0; padding-bottom: 0; } }
.foot-links a + a { margin-left: .75rem; }

/* Google data use (home page) */
.data-use { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); border-top: 1px solid var(--line); }
.data-use h2 { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 1rem; }
.data-use p, .data-use li { line-height: 1.65; }
.data-use ul { padding-left: 1.25rem; }
.data-use li + li { margin-top: .4rem; }
