/* Measured from the Framer site, 2026-11-27. Breakpoints: phone <= 809px, tablet 810-1199px, desktop >= 1200px. */

:root {
  --white: #fff;
  --navy: rgb(0, 17, 34);     /* "Stoic Space" headings */
  --ink: rgb(51, 51, 51);     /* blog text */
  --grey: rgb(153, 153, 153); /* home description */
  --muted: rgb(102, 102, 102);/* footer links */
  --soft: rgb(110, 110, 110); /* early access description */
  --button: rgb(34, 34, 34);
  --orange: rgb(255, 97, 41);
  --link-hover: rgb(255, 98, 42);
  --night: rgb(28, 28, 30);   /* blog footer */
  --sans: "DM Sans", "DM Sans Fallback", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --inter: "Inter", "Inter Fallback", sans-serif;
  --blog: "Be Vietnam Pro", "Be Vietnam Pro Fallback", sans-serif;
}

/* Fonts (self-hosted, SIL Open Font License) */
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(/fonts/dm-sans.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(/fonts/dm-sans.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap; src: url(/fonts/dm-mono-500.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(/fonts/inter-700.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url(/fonts/be-vietnam-pro-400.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-display: swap; src: url(/fonts/be-vietnam-pro-500.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url(/fonts/be-vietnam-pro-700.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Footer links (home and early access) */
.site-footer { display: flex; justify-content: space-between; align-items: center; width: 900px; max-width: 100%; padding: 30px 50px; background: var(--white); font: 500 14px/21px var(--sans); color: var(--muted); }
.site-footer nav { display: flex; gap: 15px; }
.site-footer a:hover { color: var(--link-hover); }

/* Home (and the not-found page, which is the same, as on Framer) */
.home { min-height: 100vh; overflow-x: hidden; }
.hero { position: relative; height: 87.25vh; }
.hero-row { position: absolute; top: 49%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 100px; height: 350px; width: max-content; }
.hero-phone { width: 202px; height: 422px; flex: none; }
.hero-phone img { width: 100%; height: 100%; object-fit: cover; rotate: -3deg; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 353px; }
.hero h1 { font: 700 68px/81.6px var(--sans); letter-spacing: -3.8px; color: var(--navy); white-space: nowrap; }
.hero h3 { width: 100%; font: 500 20px/28px var(--sans); letter-spacing: -0.5px; color: var(--grey); }
.download { display: block; padding: 12px 24px; border-radius: 12px; background: var(--button); color: var(--white); font: 500 16px/19.2px var(--mono); }
.home .site-footer { position: fixed; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%); width: 1000px; }

@media (max-width: 1199px) {
  .hero-row { flex-direction: column; height: auto; width: 299px; }
  .hero-text { align-items: center; width: 299px; }
  .hero h3 { font-size: 16px; line-height: 22.4px; text-align: center; }
}
@media (min-width: 810px) and (max-width: 1199px) {
  .home { height: 850px; }
  .hero { height: 78.7963vh; }
  .hero-row { gap: 50px; }
  .hero-phone { width: 163px; height: 340px; }
  .hero h1 { font-size: 56px; line-height: 67.2px; }
}
@media (max-width: 809px) {
  .hero { height: 94.6682vh; }
  .hero-row { gap: 40px; top: 47%; }
  .hero-phone { width: 211px; height: 440px; }
  .hero h1 { font-size: 40px; line-height: 40px; letter-spacing: -2.2px; }
  .home .site-footer { display: none; }
}

/* Early access */
.early { display: flex; flex-direction: column; align-items: center; }
.early header { display: flex; flex-direction: column; align-items: center; gap: 50px; width: 100%; padding: 100px; overflow: hidden; }
.early h1 { font: 700 72px/86.4px var(--inter); letter-spacing: -3.8px; color: var(--navy); text-align: center; }
.shot { display: block; flex: none; width: 800px; height: 450px; border-radius: 20px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.join { display: flex; flex-direction: column; gap: 32px; width: 672px; }
.intro { display: flex; flex-direction: column; gap: 8px; }
.early h2 { font: 500 32px/48px var(--inter); letter-spacing: -0.7px; color: #000; }
.early h2.sub { font-size: 24px; line-height: 36px; color: var(--soft); }
#waitlist { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; max-width: 400px; }
#waitlist label { flex: 1 0 0; width: 1px; }
#waitlist input { display: block; width: 100%; height: 40px; padding: 12px; border: 1px solid rgba(136, 136, 136, 0.1); border-radius: 10px; background: rgba(187, 187, 187, 0.15); font: 400 14px var(--inter); color: #000; outline: none; }
#waitlist input::placeholder { color: var(--grey); }
#waitlist input:focus { border-color: #09f; }
#waitlist button { flex: 0.5 0 0; width: 1px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: var(--orange); color: var(--white); font: 600 14px/16.8px var(--inter); cursor: pointer; }
#waitlist button:hover { background: rgba(255, 97, 41, 0.85); }
#waitlist button:disabled { cursor: default; opacity: 0.6; }
.form-note { flex-basis: 100%; font: 500 14px/21px var(--inter); color: var(--soft); }
@media (min-width: 810px) and (max-width: 1199px) {
  .early header { padding: 100px 50px; }
  .early h1 { font-size: 62px; line-height: 74.4px; }
  .shot { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .early h2 { font-size: 28px; line-height: 42px; }
  .early h2.sub { font-size: 20px; line-height: 30px; }
}
@media (max-width: 809px) {
  .early header { gap: 40px; padding: 50px 30px; }
  .early h1 { font-size: 40px; line-height: 40px; letter-spacing: -2.2px; }
  .shot { width: 100%; height: auto; aspect-ratio: 330 / 185.6; }
  .join { width: 100%; }
  .early h2 { font-size: 28px; line-height: 42px; }
  .early h2.sub { font-size: 18px; line-height: 27px; }
  #waitlist { flex-direction: column; flex-wrap: nowrap; }
  #waitlist label, #waitlist button { flex: none; width: 100%; }
  .early .site-footer { flex-wrap: wrap; padding: 20px; }
}

/* Blog: shared */
.blog { display: flex; flex-direction: column; align-items: center; gap: 80px; font-family: var(--blog); color: var(--ink); overflow-x: clip; }
.blog.post { gap: 70px; }
.blog-header { position: sticky; top: 0; width: 100%; height: 60px; padding: 0 30px; display: flex; justify-content: center; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.blog-index .blog-header { z-index: 1; }
.blog-header > div { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 720px; height: 60px; }
.blog-header .logo { width: 20px; height: 20px; display: flex; align-items: center; }
.blog-header .logo img { width: 122px; height: 44px; max-width: none; object-fit: contain; }
.social { display: flex; gap: 20px; }
.social a { width: 20px; height: 20px; }
.social svg { display: block; width: 100%; height: 100%; fill: rgba(28, 28, 30, 0.5); }
.blog-footer { display: flex; justify-content: center; width: 100%; padding: 60px 50px; background: var(--night); box-shadow: inset 0 1px 0 rgba(34, 34, 34, 0.1); }
.blog-footer > div { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 720px; }
.blog-footer .logo img { width: 112px; height: 41px; object-fit: contain; }
.blog-footer .social svg { fill: var(--white); }

/* Blog: post cards */
.cards { display: flex; flex-direction: column; gap: 80px; width: 100%; max-width: 720px; }
.card { display: flex; align-items: center; gap: 40px; width: 100%; }
.card img { flex: none; width: 300px; height: 200px; object-fit: cover; border-radius: 10px; }
.card > div { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.category { font: 700 14px/16.8px var(--blog); text-transform: uppercase; }
.card h2 { font: 700 28px/39.2px var(--blog); letter-spacing: -1.2px; }
.card .date { font: 500 16px/19.2px var(--blog); letter-spacing: -0.2px; color: #000; opacity: 0.4; }
.blog-index .card .date { position: relative; top: -0.6px; }
.post .card { gap: 50px; }
.post .card img { width: 250px; height: 160px; }
.post .card > div { flex: none; width: 400px; }

/* Blog: one post */
.post main { display: flex; flex-direction: column; align-items: center; gap: 70px; width: 100%; max-width: 720px; }
.post main > header { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; text-align: center; }
.post h1 { width: 100%; max-width: 600px; font: 700 44px/52.8px var(--blog); letter-spacing: -2.4px; }
.post header .date { font: 400 18px/21.6px var(--blog); letter-spacing: -0.2px; color: #000; opacity: 0.5; }
.cover { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; }
article { width: 100%; font: 400 18px/36px var(--blog); letter-spacing: -0.2px; overflow-wrap: break-word; }
article > * + * { margin-top: 20px; }
hr { width: 100%; height: 2px; margin: 0; border: 0; background: rgb(221, 221, 221); }
.more { max-width: 600px; font: 700 28px/39.2px var(--blog); letter-spacing: -1.2px; }

@media (max-width: 809px) {
  .blog { gap: 60px; }
  .blog-index .cards { gap: 40px; padding: 0 30px; }
  .card, .post .card { flex-direction: column; align-items: flex-start; }
  .card { gap: 20px; }
  .card img, .post .card img { width: 100%; height: auto; aspect-ratio: 1.5625; }
  .card > div, .post .card > div { flex: none; width: 100%; }
  .blog-index .card h2 { font-size: 22px; line-height: 30.8px; letter-spacing: -1px; }
  .blog-index .card .date { font-size: 14px; top: 0.4px; }
  .blog.post { gap: 40px; }
  .post main { gap: 40px; padding: 0 20px; }
  .post h1 { font-size: 28px; line-height: 33.6px; }
  .post header .date { font-size: 16px; line-height: 19.2px; }
  .cover { height: 200px; border-radius: 16px; }
  .blog-footer .logo img { width: 72px; height: 26px; }
  .blog-footer .social { gap: 16px; }
}

/* Blog list: soft colour wash behind the header */
.gradient { position: absolute; top: 0; left: 0; width: 100%; max-width: 1200px; aspect-ratio: 3; object-fit: cover; opacity: 0.24; pointer-events: none; animation: fade 0.6s cubic-bezier(0.44, 0, 0.56, 1) backwards; }

/* Privacy */
.privacy main { padding: 96px; font: 400 18px/36px var(--blog); letter-spacing: -0.2px; color: var(--ink); }
.privacy main > * + * { margin-top: 20px; }
.privacy h1 { font: 700 44px/52.8px var(--blog); letter-spacing: -2.4px; }
.privacy h1 { white-space: pre-wrap; }
.privacy h1 strong { font-weight: 900; }
.privacy main > h1 + h3 { margin-top: 0; }
.privacy h3 { font: 700 22px/30.8px var(--blog); letter-spacing: -0.6px; }
.privacy ul, .privacy ol { list-style: none; }
.privacy li { position: relative; padding-left: 2ch; }
.privacy li::before { position: absolute; left: 0; }
.privacy ul li::before { content: "•"; }
.privacy ol li::before { content: counter(list-item, decimal) "."; font-variant-numeric: tabular-nums; }
.privacy strong { font-weight: 700; }
@media (min-width: 810px) and (max-width: 1199px) { .privacy main { padding: 72px; } }
@media (max-width: 809px) {
  .privacy main { padding: 40px; }
  .privacy h1 { font-size: 28px; line-height: 33.6px; }
}

/* Suggestions: the Typeform fills the window */
.suggestions iframe { display: block; width: 100%; height: 100vh; height: 100dvh; border: 0; }

/* Entrance animations */
.rise { animation: rise 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) var(--delay, 0s) backwards; }
.early .rise { --from: 100px; animation-duration: 1.3s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.tilt { animation: tilt 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards; }
.pop { animation: pop 0.6s cubic-bezier(0.34, 1.25, 0.64, 1) var(--delay, 0s) backwards; }
.hero-phone img.pop { animation-name: pop-phone; }
@keyframes rise { from { opacity: 0; transform: translateY(var(--from, 50px)); } }
@keyframes tilt { from { opacity: 0; transform: perspective(1200px) rotateX(40deg); } }
@keyframes pop { from { opacity: 0; scale: 0.9; } }
@keyframes pop-phone { from { opacity: 0; scale: 0.9; rotate: -13deg; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rise, .tilt, .pop, .gradient { animation: none; } }
