:root {
  color-scheme: light;
  --bg: #fffaf4;
  --surface: #ffffff;
  --ink: #172026;
  --muted: #64717a;
  --line: #eadfd1;
  --accent: #d94935;
  --accent-dark: #8d281f;
  --green: #147b55;
  --sun: #f6b84b;
  --sky: #2176ae;
  --shadow: 0 18px 48px rgba(50, 35, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(234, 223, 209, 0.84);
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 380px;
  padding: clamp(42px, 8vw, 64px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: #c74432;
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe3a6;
  font-size: calc(0.8rem + 1px);
}

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

h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.about-title {
  font-size: clamp(26px, 3.3vw, 40px);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions,
.contact-links,
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.hero .button.primary {
  background: #ffffff;
  color: var(--accent-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.button.secondary.light {
  border-color: var(--line);
  color: var(--accent-dark);
}

.section {
  padding: clamp(42px, 8vw, 72px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-grid p {
  min-height: 180px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.about {
  padding-bottom: 0;
}

.about-grid a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apps-section {
  background: #f7fbf5;
  padding-bottom: clamp(21px, 4vw, 36px);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-image {
  width: 100%;
  height: 250px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f0ec;
  object-fit: contain;
}

.watermelon-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 250px;
  margin: 0 auto 22px;
  border-radius: 8px;
}

.app-body {
  flex: 1;
}

.genre {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.app-card p:not(.genre) {
  color: var(--muted);
}

.download-links {
  margin-top: 22px;
}

.download-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 850;
}

.download-links a:hover {
  border-color: var(--accent);
}

.contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding-top: clamp(10.5px, 2vw, 18px);
  background: #ffffff;
}

.contact-heading h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-links {
  align-items: center;
  padding-bottom: 4px;
}

.email-image {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.email-image.primary-email {
  border-color: var(--accent);
  background: var(--accent);
}

.email-image img {
  display: block;
  width: 218px;
  max-width: calc(100vw - 40px);
  height: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .about-grid,
  .app-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.55rem, 12vw, 3.2rem);
    white-space: normal;
  }

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

  .app-image,
  .watermelon-image {
    height: 240px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
