:root {
  --navy: #0d1b2a;
  --green: #16a344;
  --teal: #14bba6;
  --light-green: #e6f4ea;
  --yellow: #facc15;
  --background: #f6fbf8;
  --surface: #ffffff;
  --muted-surface: #eef8f1;
  --text: #163042;
  --muted-text: #5d6d75;
  --border: #dce8de;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: var(--background);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: clip;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.page::before {
  width: 340px;
  height: 340px;
  right: -120px;
  top: 110px;
  background: var(--light-green);
}

.page::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: 60px;
  background: #edf7f3;
}

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--surface);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.15s ease;
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 28px 0 8px;
}

.site-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.05);
}

.hero-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}

.hero-brand span {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-logo {
  display: block;
  max-height: 50px;
  width: auto;
  height: auto;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.hero {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 26px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 540px;
  padding: 22px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--light-green);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.hero p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--muted-text);
  max-width: 34rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.tag.green {
  background: var(--light-green);
  border-color: #d5ebd9;
}

.tag.yellow {
  background: #fff8db;
  border-color: #f3e3a4;
}

.hero-media {
  display: flex;
  justify-content: center;
  justify-self: center;
  width: 100%;
  max-width: 308px;
}

.iphone-marketing-frame {
  position: relative;
  width: min(100%, 352px);
  aspect-ratio: 1284 / 2601;
  filter: drop-shadow(0 26px 40px rgba(13, 27, 42, 0.14));
}

.iphone-marketing-shell,
.iphone-marketing-screen {
  position: absolute;
  display: block;
}

.iphone-marketing-shell {
  inset: 0;
  width: var(--iphone-shell-width, 100%);
  height: var(--iphone-shell-height, 100%);
  z-index: 2;
}

.iphone-marketing-screen {
  left: var(--iphone-screen-left, 5.6%);
  top: var(--iphone-screen-top, 2.2%);
  width: var(--iphone-screen-width, 88.5%);
  height: var(--iphone-screen-height, 94.6%);
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.site-footer {
  padding: 22px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted-text);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-weight: 600;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--surface);
}

.footer-links a:hover {
  text-decoration: none;
  border-color: var(--border);
}

.content-page {
  padding: 32px 0 48px;
}

.content-page a {
    color: var(--green);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.content-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--navy);
}

.content-card p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--muted-text);
  width: 100%;
  max-width: none;
}

.content-card h2 {
  margin: 28px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--navy);
}

.content-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
  width: 100%;
  max-width: none;
  color: var(--muted-text);
}

.content-card li {
  margin: 0 0 10px;
  line-height: 1.7;
}

.content-card .content-meta {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    padding-top: 20px;
  }

  .brand-row {
    align-items: flex-start;
  }

  .brand-logo {
    max-width: 50px;
    max-height: 50px;
  }

  .iphone-marketing-frame {
    width: min(100%, 312px);
  }

  .content-card {
    padding: 22px;
  }

  .page::before {
    width: 220px;
    height: 220px;
    right: -90px;
    top: 90px;
  }

  .page::after {
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: 40px;
  }

  .footer-bar {
    align-items: flex-start;
  }
}
