:root {
    --ink: #14224E;
    --teal: #17C48D;
    --paper: #FFFFFF;
    --fog: #F4F6FA;
    --slate: #5B6478;
    --line: #E3E7EF;
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
  }

  a { color: var(--ink); }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

  .wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ---------- Nav ---------- */
  nav {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
  }
  nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    text-decoration: none;
  }
  .brand img { height: 64px; display: block; }
  .nav-cta {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 2px solid var(--teal);
    padding-bottom: 2px;
  }
  .nav-cta:hover { color: var(--teal); }

  /* ---------- Hero ---------- */
  .hero {
    padding: 96px 0 88px;
  }
  .hero-mark {
    display: flex;
    align-items: stretch;
    gap: 18px;
  }
  .brace {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 96px;
    line-height: 1;
    color: var(--teal);
    font-weight: 500;
    animation: brace-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .brace.right { animation-delay: 0.08s; }
  @keyframes brace-in {
    from { opacity: 0; transform: translateY(10px) scaleY(0.85); }
    to { opacity: 1; transform: translateY(0) scaleY(1); }
  }
  h1 {
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 11ch;
    padding-top: 6px;
  }
  .hero-sub {
    color: var(--slate);
    font-size: 18px;
    max-width: 46ch;
    margin: 28px 0 0;
  }

  /* ---------- Sections ---------- */
  section { padding: 64px 0; border-top: 1px solid var(--line); }
  .tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    color: var(--teal);
    margin-bottom: 18px;
  }
  .tag::before { content: '{ '; color: var(--slate); }
  .tag::after { content: ' }'; color: var(--slate); }

  section h2 {
    font-size: 28px;
    max-width: 20ch;
    margin-bottom: 16px;
  }
  section p {
    color: var(--slate);
    max-width: 58ch;
    margin: 0 0 8px;
  }

  /* ---------- Product block ---------- */
  .product {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 32px;
    padding: 24px;
    background: var(--fog);
    border-radius: 4px;
  }
  .product-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
  }
  .product h3 { font-size: 19px; margin-bottom: 6px; }
  .product p { margin: 0 0 14px; font-size: 15.5px; }
  .product a {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 2px solid var(--teal);
    padding-bottom: 1px;
  }
  .product a:hover { color: var(--teal); }

  /* ---------- Contact ---------- */
  .contact-link {
    display: inline-block;
    margin-top: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 2px solid var(--teal);
  }
  .contact-link:hover { color: var(--teal); }

  /* ---------- Footer ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 32px 0 48px;
  }
  footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  footer p { margin: 0; color: var(--slate); font-size: 14px; }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { font-size: 14px; color: var(--slate); text-decoration: none; }
  .footer-links a:hover { color: var(--ink); }

  @media (max-width: 560px) {
    .hero-mark { gap: 10px; }
    .brace { font-size: 60px; }
    h1 { font-size: 32px; }
    .product { flex-direction: column; }
  }

  @media (prefers-reduced-motion: reduce) {
    .brace { animation: none; opacity: 1; transform: none; }
  }

  /* ---------- Legal pages ---------- */
  .legal-header {
    padding: 64px 0 40px;
  }
  .legal-header h1 {
    font-size: 32px;
    max-width: none;
    padding-top: 0;
  }
  .legal-header p {
    color: var(--slate);
    font-size: 15px;
    margin-top: 12px;
  }
  .legal {
    padding: 8px 0 64px;
  }
  .legal h2 {
    font-size: 19px;
    margin-top: 40px;
    margin-bottom: 12px;
  }
  .legal h2:first-child { margin-top: 0; }
  .legal p, .legal li {
    color: var(--slate);
    max-width: 62ch;
    font-size: 15.5px;
  }
  .legal ul { padding-left: 20px; margin: 0 0 8px; }
  .legal li { margin-bottom: 6px; }
