:root {
  --glade-primary: #075b58;
  --glade-dark: #053b39;
  --glade-light: #dfeef0;
  --glade-background: #edf5f6;
  --ink: #203c3a;
  --muted: #58706c;
  --cream: #faf9f5;
  --line: #dbe5df;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--glade-primary);
  outline-offset: 5px;
  border-radius: 3px;
}

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

p {
  line-height: 1.75;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 25px;
}

h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.16;
  margin-bottom: 22px;
}

h3 {
  font-weight: 600;
  color: var(--ink);
}

.container {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 10;
  padding: 14px 20px;
  background: var(--glade-primary);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand > span {
  font-size: 19px;
  letter-spacing: -.5px;
  font-weight: 600;
  color: var(--ink);
}

.brand strong {
  color: var(--glade-primary);
  font-weight: 600;
}

.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.1px;
  margin-top: 6px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:not(.nav-contact):hover {
  color: var(--glade-primary);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.main-nav [aria-current] {
  color: var(--glade-primary);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-contact {
  padding: 12px 19px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: background .2s;
}

.nav-contact:hover {
  background: rgba(73, 99, 67, 0.08);
}

.nav-contact span {
  margin-left: 12px;
}

/* Hero Section */
.hero {
  padding: 73px 0 69px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--glade-dark);
  margin-bottom: 22px;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--glade-primary);
  flex-shrink: 0;
}

.hero-description {
  color: var(--muted);
  font-size: 16px;
  max-width: 495px;
  margin-bottom: 30px;
}

.button-row {
  display: flex;
  gap: 23px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 16px 23px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .18s, transform .18s;
}

button.button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

button.button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--glade-primary);
}

.button-primary:hover {
  background: var(--glade-dark);
}

.text-link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(73, 99, 67, 0.4);
  line-height: 1.8;
  color: var(--glade-primary);
}

.text-link span {
  margin-left: 8px;
}

.text-link:hover {
  color: var(--glade-dark);
  text-decoration-color: var(--glade-dark);
}

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

.hero-art {
  position: relative;
  padding: 28px 0;
}

.app-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  position: relative;
}

.app-mockup {
  max-width: 280px;
  height: auto;
  box-shadow: 0 20px 60px rgba(73, 99, 67, 0.15);
  border-radius: 32px;
  overflow: hidden;
}

.art-label {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  transform: rotate(4deg);
}

.art-label span {
  display: inline-block;
  font-family: var(--sans);
  font-size: 25px;
  margin-right: 7px;
  color: var(--glade-primary);
}

.art-caption {
  display: flex;
  gap: 13px;
  align-items: center;
  position: absolute;
  bottom: 19px;
  right: 7px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 14px 19px;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(73, 99, 67, 0.08);
  font-size: 12px;
  line-height: 1.7;
}

.caption-mark {
  background: var(--glade-light);
  color: var(--glade-dark);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
}

.art-caption strong {
  font-weight: 600;
  color: var(--glade-dark);
}

/* Purpose Strip */
.purpose-strip {
  background: var(--glade-background);
  border-block: 1px solid var(--line);
  padding: 24px 0;
}

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

.purpose-inner p {
  font-size: 13px;
  margin: 0;
}

.purpose-inner strong {
  font-weight: 600;
  color: var(--glade-primary);
}

.purpose-tags {
  display: flex;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}

.purpose-tags span::before {
  content: '+';
  margin-right: 9px;
  color: var(--glade-primary);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 86px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 310px;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 3px;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdfa;
  overflow: hidden;
  padding: 28px 26px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(73, 99, 67, 0.09);
}

.feature-icon {
  font-size: 44px;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--glade-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
  line-height: 1.6;
}

/* Screenshots Section */
.screenshots-carousel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.screenshot-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-item {
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glade-light);
  padding: 20px;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(73, 99, 67, 0.12);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  margin-bottom: 12px;
}

.screenshot-caption {
  font-size: 12px;
  font-weight: 600;
  color: var(--glade-primary);
  letter-spacing: 0.5px;
  margin: 0;
}

/* Download Section */
.download-section {
  background: var(--glade-background);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.app-store-link,
.google-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, opacity .2s;
}

.app-store-link:hover,
.google-play-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-link img,
.google-play-link img {
  height: 60px;
  width: auto;
  display: block;
}

.download-description {
  color: var(--muted);
  font-size: 15px;
  max-width: 400px;
  margin-bottom: 20px;
}

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

/* Release Notes */
.release-notes {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.release-note {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdfa;
  padding: 28px 26px;
  border-left: 4px solid var(--glade-primary);
}

.release-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.release-note h3 {
  font-size: 18px;
  margin: 0 0 6px 0;
  color: var(--glade-primary);
}

.release-date {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

.release-note ul {
  margin: 0;
  padding-left: 24px;
  list-style: none;
}

.release-note li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.release-note li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glade-primary);
  font-weight: 600;
}

.release-note-link {
  text-align: center;
  margin-top: 20px;
}

.release-note-link a {
  color: var(--glade-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* About Glade */
.about-glade-section {
  border-top: 1px solid var(--line);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.studio-description {
  color: var(--muted);
  font-size: 14px;
  max-width: 410px;
  margin-bottom: 23px;
  line-height: 1.8;
}

.value {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.value:first-child {
  padding-top: 0;
}

.value:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.value-number {
  color: var(--glade-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding-top: 4px;
  flex-shrink: 0;
}

.value h3 {
  font-size: 16px;
  margin: 0 0 6px 0;
  color: var(--ink);
}

.value p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background: var(--glade-dark);
  color: white;
  padding: 54px 0;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.contact-section h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  margin-bottom: 12px;
  color: white;
}

.contact-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin: 0;
}

.button-light {
  background: #f8f8ed;
  color: var(--glade-dark);
  flex-shrink: 0;
  transition: background .18s;
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.95);
}

.button-light:focus-visible {
  outline-color: white;
}

/* Footer */
.site-footer {
  padding: 40px 0 22px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-brand {
  font-size: 19px;
  letter-spacing: -.4px;
  font-weight: 600;
  color: var(--ink);
}

.footer-brand span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 10px;
  font-weight: 400;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  font-size: 11px;
  color: var(--muted);
}

.site-footer nav a {
  transition: color .2s;
}

.site-footer nav a:hover {
  color: var(--glade-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.noscript-note {
  padding: 24px 0;
  color: var(--muted);
}

/* Responsive */
@media (min-width: 1450px) {
  .hero {
    padding-block: 90px;
  }
}

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero-grid {
    gap: 20px;
  }

  .main-nav {
    gap: 20px;
  }

  .purpose-tags {
    gap: 15px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .screenshot-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .studio-grid {
    gap: 50px;
  }

  .download-inner {
    gap: 35px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 95px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
  }

  .brand > span {
    font-size: 18px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 24px;
    font-size: 12px;
  }

  .nav-contact {
    padding: 9px 13px;
  }

  .hero {
    padding: 44px 0 38px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    max-width: 540px;
  }

  h1 {
    font-size: clamp(2.75rem, 8vw, 3.8rem);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-art {
    width: min(380px, 100%);
    margin: 0 auto;
    padding-block: 15px;
  }

  .art-label {
    top: 0;
    font-size: 12px;
  }

  .art-caption {
    bottom: 10px;
    font-size: 11px;
    padding: 10px 13px;
  }

  .purpose-inner {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .purpose-tags {
    gap: 17px;
    flex-wrap: wrap;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-heading > p {
    max-width: 440px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .screenshot-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .screenshot-item img {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .download-inner {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }

  .download-links {
    width: 100%;
  }

  .download-links .button {
    width: 100%;
  }

  .studio-grid, .about-glade-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-inner {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: start;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }
}
