@font-face {
  font-family: "AmiriLocal";
  src: url("assets/fonts/Amiri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AmiriLocal";
  src: url("assets/fonts/Amiri-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102421;
  --muted: #5b6764;
  --paper: #fbfbf8;
  --surface: #ffffff;
  --line: #dce4df;
  --green: #0f4a3f;
  --green-deep: #092f29;
  --gold: #b9892a;
  --coral: #c64f43;
  --sky: #2f7d91;
  --shadow: 0 18px 48px rgba(16, 36, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "AmiriLocal", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(251, 251, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  color: var(--green-deep);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
  font-size: 1.25rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 1rem;
}

nav a {
  padding: 6px 8px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
  border-color: var(--gold);
  outline: none;
}

.hero {
  position: relative;
  min-height: min(760px, 84svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
  background: var(--green-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  width: 270px;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.shot-one {
  right: 7%;
  top: 5%;
  transform: rotate(3deg);
}

.shot-two {
  right: 29%;
  top: 18%;
  transform: rotate(-5deg);
}

.shot-three {
  left: 8%;
  top: 8%;
  transform: rotate(-2deg);
}

.shot-four {
  left: 24%;
  bottom: -18%;
  width: 420px;
  border-radius: 24px;
  transform: rotate(2deg);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 47, 41, 0.66);
}

.hero-content {
  width: min(680px, calc(100% - 40px));
  margin-inline: auto;
  padding: 54px 0 78px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero .eyebrow {
  color: #f2c766;
}

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

h1 {
  margin-bottom: 12px;
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 700;
}

h2 {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 2.2rem;
  line-height: 1.25;
}

h3 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1.3;
}

.lead {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 1.28rem;
  line-height: 1.9;
}

.hero-actions,
.support-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-shadow: none;
}

.primary-action {
  color: #ffffff;
  background: var(--coral);
  border: 1px solid var(--coral);
}

.secondary-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -42px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--surface);
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: 2.3rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 1rem;
}

.section-block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 20px 0;
}

.intro-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.feature-grid,
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.detail-list {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-mark {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--coral);
  font-weight: 700;
  font-size: 0.95rem;
}

.gallery-block {
  padding-bottom: 26px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(16, 36, 33, 0.12);
}

figcaption {
  margin-top: 10px;
  color: var(--green-deep);
  text-align: center;
  font-weight: 700;
}

.support-band {
  max-width: 1180px;
  margin: 78px auto 0;
  padding: 34px 28px;
  justify-content: space-between;
  color: #ffffff;
  background: var(--green);
}

.support-band h2,
.support-band p {
  color: #ffffff;
}

.support-band p:last-child {
  margin-bottom: 0;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 700;
}

.support-hero {
  max-width: 1180px;
  margin: 0 auto;
  min-height: min(660px, 82svh);
  padding: 54px 20px 76px;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 48px;
  align-items: center;
}

.support-visual img {
  width: min(360px, 100%);
  margin-inline: auto;
  border: 8px solid var(--surface);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.support-copy h1 {
  color: var(--green-deep);
  font-size: 3.6rem;
  line-height: 1.15;
}

.support-copy p {
  color: var(--muted);
  font-size: 1.16rem;
}

.support-copy .primary-action,
.support-band .primary-action {
  color: #ffffff;
}

.support-details {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .shot-two,
  .shot-three {
    display: none;
  }

  .shot-one {
    right: -5%;
    top: 8%;
    width: 230px;
  }

  .shot-four {
    left: -12%;
    bottom: -16%;
    width: 360px;
  }

  h1 {
    font-size: 4rem;
  }

  .intro-block,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .detail-list,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 32px, 540px);
    padding: 42px 0 70px;
  }

  .hero-icon {
    width: 68px;
    height: 68px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin: -28px 16px 0;
  }

  .metrics div {
    min-height: 94px;
  }

  .section-block {
    padding-top: 62px;
  }

  .feature-grid,
  .detail-list,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .screenshot-grid {
    max-width: 330px;
    margin-inline: auto;
  }

  .support-band {
    margin-top: 58px;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }

  .support-hero {
    min-height: auto;
    padding-top: 38px;
  }

  .support-copy h1 {
    font-size: 2.5rem;
  }
}
