:root {
  --ink: #161310;
  --ink-soft: #4a433c;
  --paper: #f4efe6;
  --line: rgba(22, 19, 16, 0.12);
  --gold: #9a7b4f;
  --frola: #827397;
  --frola-deep: #363062;
  --frola-wash: #e9d5da;
  --firm: #1b4d72;
  --firm-wash: #e7eef4;
  --max: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 380;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
}

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

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

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

.mark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero,
.products,
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  scroll-margin-top: 5.5rem;
}

.hero {
  padding-top: 5.5rem;
  padding-bottom: 5rem;
}

h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 28rem;
  margin-top: 1.4rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.products {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 5rem;
}

.product {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: color-mix(in srgb, white 55%, var(--paper));
  scroll-margin-top: 5.5rem;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.product-head h2 {
  margin-bottom: 0;
}

.app-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(22, 19, 16, 0.1);
}

.product-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.frola .product-kicker {
  color: var(--frola);
}

.firmdocs .product-kicker {
  color: var(--firm);
}

h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.2rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.product-copy p {
  color: var(--ink-soft);
  max-width: 34rem;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.6rem;
  margin-top: 1.3rem;
}

.text-link {
  display: inline-block;
  font-weight: 450;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.12rem;
}

footer .text-link {
  margin-top: 1.3rem;
}

.frola .text-link {
  color: var(--frola-deep);
}

.firmdocs .text-link {
  color: var(--firm);
}

.product-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
}

.frola-card {
  width: min(100%, 240px);
  padding: 1.4rem 1.5rem 1.6rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, var(--frola-deep), var(--frola));
  color: var(--frola-wash);
  box-shadow: 0 24px 40px rgba(54, 48, 98, 0.22);
}

.frola-card .pill {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(233, 213, 218, 0.4);
  border-radius: 999px;
}

.frola-card strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 560;
  margin: 1rem 0 0.35rem;
}

.frola-card em {
  font-style: normal;
  opacity: 0.8;
  font-size: 0.9rem;
}

.check-list {
  list-style: none;
  width: min(100%, 240px);
  padding: 1.3rem 1.4rem;
  border-radius: 1.1rem;
  background: var(--firm-wash);
  color: var(--firm);
  box-shadow: 0 18px 32px rgba(27, 77, 114, 0.1);
}

.check-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(27, 77, 114, 0.12);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--firm);
  border-radius: 2px;
}

.check-list li.done::before {
  background: var(--firm);
}

footer {
  padding: 3.5rem 1.5rem 4.5rem;
  border-top: 1px solid var(--line);
}

footer .mark {
  font-size: 1.8rem;
}

footer .text-link {
  color: var(--ink);
}

footer .fine {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .nav nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.4rem 1.3rem 1.5rem;
  }

  .product-visual {
    display: none;
  }

  h2 {
    font-size: 1.85rem;
  }
}
