:root {
  --ink: #0f1a24;
  --ink-soft: #3a4a58;
  --slate: #1c2e3d;
  --slate-mid: #2a4458;
  --seal: #0d6e6e;
  --seal-light: #1a8f8f;
  --paper: #eef2f5;
  --paper-deep: #e2e8ee;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "IBM Plex Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 110% 70% at 0% -5%, #d4e0ea 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 5%, #c8d8d4 0%, transparent 42%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  color: #fff;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.header-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.header-links a {
  text-decoration: none;
  opacity: 0.9;
}

.header-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 26, 36, 0.35) 0%, rgba(15, 26, 36, 0.82) 68%),
    url("../images/NotarEase_Image.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero h1 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  line-height: 0.95;
}

.hero-lede {
  margin: 1.25rem 0 0;
  max-width: 30rem;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--slate);
}

.btn-primary:hover {
  background: var(--paper);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
}

.section {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section p.lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  min-width: 0;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.feature p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Advantages comparison table */
.advantages {
  background: color-mix(in oklab, var(--slate) 94%, black);
  color: rgba(255, 255, 255, 0.92);
}

.advantages .section h2 {
  color: #fff;
}

.advantages .section p.lead {
  color: rgba(255, 255, 255, 0.72);
}

.table-scroll {
  margin-top: 2.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}

.advantages-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.4;
}

.advantages-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.advantages-table th,
.advantages-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advantages-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.75);
}

.advantages-table tbody th {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  max-width: 12rem;
}

.advantages-table tbody tr:last-child th,
.advantages-table tbody tr:last-child td {
  border-bottom: none;
}

.advantages-table .col-notarease {
  background: color-mix(in oklab, var(--seal) 28%, transparent);
  color: #fff;
  font-weight: 500;
}

.advantages-table thead .col-notarease {
  background: color-mix(in oklab, var(--seal) 55%, black);
  color: #fff;
}

.advantages-table td {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-rise {
  animation: rise 0.85s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}
