:root {
  --cream: #f3eee4;
  --foam: #e7e1d4;
  --ink: #14202c;
  --ink-soft: #4a5560;
  --harbor: #1c3d4a;
  --copper: #b08968;
  --line: rgba(20, 32, 44, 0.12);
  --shadow: 0 24px 60px rgba(20, 32, 44, 0.08);
  --page: 1080px;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--page));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--copper);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--cream);
}

.button-primary:hover {
  background: var(--harbor);
}

.button-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.button-ghost:hover {
  background: rgba(20, 32, 44, 0.04);
}

.horizon {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 12%,
    var(--line) 88%,
    transparent
  );
}

section {
  padding: 4.25rem 0;
}

h2 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.about-copy,
.contact-copy {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
}

.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.45rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
  text-decoration: none;
}

a.app-card:hover {
  border-color: rgba(20, 32, 44, 0.22);
}

.app-kicker {
  margin: 0 0 0.7rem;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.app-card p {
  flex: 1;
  margin: 0.7rem 0 1.15rem;
  color: var(--ink-soft);
}

.app-meta {
  font-size: 0.92rem;
  font-weight: 500;
}

.soon {
  color: var(--ink-soft);
}

.contact a {
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

.legal {
  padding: 3.5rem 0 4.5rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal .updated {
  margin: 0.75rem 0 2.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal h2 {
  margin-top: 2.1rem;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  max-width: 42rem;
  color: var(--ink-soft);
}

.legal a {
  color: var(--ink);
}

.not-found {
  padding: 6rem 0 7rem;
}

.not-found h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

@media (max-width: 740px) {
  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .apps {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.25rem 0;
  }
}
