@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,700&display=swap');

@font-face {
  font-family: 'Pausemark Fraunces';
  src: url('/fonts/Fraunces-Display.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #f9f7ef;
  --ink: #171815;
  --terracotta: #e4763d;
  --blush: #f3e4d7;
  --oat: #efeddf;
  --graphite: #6a625b;
  --hairline: rgba(23, 24, 21, 0.12);
  --max: 44rem;
  /* Light paper theme only, on every page, regardless of system appearance. */
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.0625rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.serif {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.brand {
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

nav a {
  color: var(--graphite);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

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

h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.25rem;
  color: var(--graphite);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.cta {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
}

.app-store-badge,
.suite-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}

.app-store-badge:hover,
.suite-store-badge:hover {
  opacity: .88;
  transform: translateY(-2px);
}

.app-store-badge img,
.suite-store-badge img {
  display: block;
  width: 168px;
  height: auto;
}

.designed-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 2rem;
  color: #f6f2e8;
  background: #122f36;
}

.designed-footer::before {
  content: '';
  position: absolute;
  top: -18rem;
  right: -8rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(247, 203, 119, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(247, 203, 119, .04), 0 0 0 8rem rgba(247, 203, 119, .025);
  pointer-events: none;
}

.designed-footer-inner,
.designed-footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
}

.designed-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  align-items: end;
  gap: 4rem;
  padding: clamp(4.75rem, 10vw, 8.5rem) 0 5rem;
}

.designed-footer h2 {
  max-width: 760px;
  margin: 0;
  color: #f6f2e8;
  font-family: 'Pausemark Fraunces', 'Fraunces', Georgia, serif;
  font-size: clamp(3.4rem, 7.7vw, 8.2rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .88;
  text-wrap: balance;
}

.designed-footer-copy p {
  max-width: 27rem;
  margin: 1.5rem 0 0;
  color: rgba(246, 242, 232, .68);
  font-size: .95rem;
  line-height: 1.55;
}

.designed-footer-action {
  justify-self: end;
  max-width: 15rem;
  padding-bottom: .35rem;
}

.designed-footer-action p {
  margin: 0 0 1.2rem;
  color: #f7cb77;
  font-family: 'Pausemark Fraunces', 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.05;
}

.designed-footer-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #f6f2e8;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.designed-footer-link span { transition: transform .2s ease; }
.designed-footer-link:hover span { transform: translate(2px, -2px); }

.designed-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0 1.45rem;
  border-top: 1px solid rgba(246, 242, 232, .18);
  color: rgba(246, 242, 232, .58);
  font-size: .72rem;
}

.designed-footer-brand,
.designed-footer-nav a {
  color: inherit;
  text-decoration: none;
}

.designed-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #f6f2e8;
  font-weight: 850;
}

.designed-footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.designed-footer-nav {
  display: flex;
  gap: 1.1rem;
}

.designed-footer-nav a:hover { color: #f7cb77; }

.designed-footer-bottom > span { justify-self: end; }

@media (max-width: 760px) {
  .designed-footer-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .designed-footer-action { justify-self: start; }
  .designed-footer-bottom { grid-template-columns: 1fr; gap: .85rem; }
  .designed-footer-nav { order: 3; flex-wrap: wrap; }
  .designed-footer-bottom > span { justify-self: start; }
}

/* Landing-page headlines should lead without the small eyebrow labels. */
.os1-kicker,
.os2-kicker,
.os3-eyebrow,
.suite-kicker {
  display: none !important;
}

.cta:hover {
  filter: brightness(1.04);
}

ul.features {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--hairline);
}

ul.features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  gap: 0.75rem;
}

ul.features li::before {
  content: '—';
  color: var(--terracotta);
}

.card {
  background: var(--oat);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

a {
  color: var(--terracotta);
}

code {
  background: var(--oat);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-size: 0.9em;
}

footer.site {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--graphite);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

footer.site a {
  color: var(--graphite);
}

.muted {
  color: var(--graphite);
  font-size: 0.95rem;
}
