:root {
  color-scheme: light;
  --ink: #111114;
  --muted: #5f6068;
  --hairline: rgba(17, 17, 20, 0.1);
  --surface: #ffffff;
  --wash: #f4f6f9;
  --brand: #178feb;
  --brand-strong: #0b6fc0;
  --brand-wash: #e9f4fe;
  --night: #09090b;
  --page-width: 1200px;
  --copy-width: 600px;
  --radius-large: 28px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header nav .nav-app {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

.site-header nav .nav-app:hover {
  color: #ffffff;
  background: #2a2a30;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button-primary {
  background: var(--brand-strong);
  color: #ffffff;
}

.button-primary:hover {
  background: #095c9e;
}

.button-secondary {
  border: 1px solid var(--hairline);
  background: var(--surface);
}

.button-secondary:hover {
  background: var(--wash);
}

/* Hero */

.hero {
  padding: 96px max(24px, calc((100vw - var(--page-width)) / 2)) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--brand-wash) 0%, var(--surface) 560px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-strong);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-shot {
  max-width: var(--page-width);
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--night);
  box-shadow: 0 32px 80px rgba(17, 17, 20, 0.18);
}

/* Features */

.features {
  display: grid;
  gap: 120px;
  padding: 140px max(24px, calc((100vw - var(--page-width)) / 2));
}

.feature {
  display: grid;
  justify-items: center;
  gap: 48px;
}

.feature-copy {
  max-width: 680px;
  text-align: center;
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.feature-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.feature-shot {
  width: 100%;
  max-width: 1100px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: 0 24px 60px rgba(17, 17, 20, 0.14);
}

.feature-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-trio > div {
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--wash);
}

.feature-trio h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-trio p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

/* Pricing */

.pricing {
  padding: 120px max(24px, calc((100vw - var(--page-width)) / 2));
  background: var(--wash);
}

.section-heading {
  max-width: var(--copy-width);
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.plan-pro {
  border: 2px solid var(--brand);
}

.plan h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.plan-tagline {
  margin: 8px 0 0;
  color: var(--muted);
}

.plan-price {
  margin: 24px 0 0;
  font-size: 44px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.plan-price small {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-alternative {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.plan ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 28px;
}

.plan li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-wash)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230b6fc0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  content: "";
}

.plan .button {
  margin-top: auto;
}

.pricing-note {
  max-width: 880px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Closing call to action */

.closing {
  padding: 140px 24px;
  text-align: center;
}

.closing h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.closing .button {
  margin-top: 36px;
}

/* Legal pages */

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-hero p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.legal-content .legal-updated {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content section {
  margin-top: 40px;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  color: #2c2c32;
  font-size: 16px;
  line-height: 1.65;
}

.legal-content p {
  margin: 0 0 12px;
}

.legal-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-content address {
  margin: 0 0 12px;
  font-style: normal;
  line-height: 1.65;
}

.legal-content a {
  color: var(--brand-strong);
}

.legal-caps {
  text-transform: uppercase;
  font-size: 14px !important;
}

/* Footer */

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 40px max(24px, calc((100vw - var(--page-width)) / 2));
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.footer-brand img {
  width: 24px;
  height: 24px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-meta a {
  text-decoration: none;
}

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

.footer-meta p {
  margin: 0;
}

/* Tablets */

@media (max-width: 839px) {
  .site-header nav a:not(.nav-app) {
    display: none;
  }

  .feature {
    gap: 32px;
  }

  .feature-trio {
    grid-template-columns: minmax(0, 1fr);
  }

  .features {
    gap: 96px;
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* Phones */

@media (max-width: 599px) {
  .site-header {
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
    font-size: 15px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header nav .nav-app {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-shot {
    margin-top: 48px;
    border-radius: var(--radius);
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan {
    padding: 28px 24px;
  }

  .pricing,
  .closing {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .legal-main {
    padding-top: 48px;
  }

  footer,
  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .footer-meta nav {
    justify-content: flex-start;
  }
}
