:root {
  /*
   * SMELISTUDIOS THEME
   * ------------------
   * Change the palette here. Every colour used across the landing page,
   * and privacy pages references one of these variables.
   *
   * Core surfaces and text
   */
  --ink: #172019;
  --ink-soft: #4f5c51;
  --paper: #f4f0e7;
  --paper-deep: #e9e2d5;

  /* Brand and accent colours */
  --forest: #1d3427;
  --forest-light: #34553f;
  --clay: #b47757;
  --sun: #d7aa58;

  /* Borders and overlays */
  --line: rgba(23, 32, 25, 0.16);
  --card-wash: rgba(255, 255, 255, 0.28);

  /* Layout controls */
  --radius: 1.5rem;
  --max-width: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
}

.site-header,
.hero,
.apps-section,
.about-section,
.contact-section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  background: var(--forest);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
}

nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--clay);
}

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  padding-block: 4rem 5rem;
}

.hero-copy {
  width: 100%;
  max-width: 58rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 14vw, 6.8rem);
}

h1 em {
  color: var(--forest-light);
  font-weight: inherit;
}

.hero-intro {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--forest-light);
}

.apps-section {
  padding-block: 6rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 9vw, 4.75rem);
}

.section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.app-grid {
  display: grid;
  gap: 1rem;
}

.app-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-wash);
}

.app-card::after {
  content: "";
  width: 10rem;
  height: 10rem;
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  border-radius: 50%;
  background: var(--card-accent);
  opacity: 0.13;
}

.weather-card {
  --card-accent: var(--forest-light);
}

.stir-up-card {
  --card-accent: var(--clay);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--card-accent);
  color: var(--paper);
}

.app-icon svg {
  width: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.stir-up-icon {
  overflow: hidden;
  background: var(--forest);
}

.stir-up-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.status {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-number {
  margin: 3rem 0 0.5rem;
  color: var(--card-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.app-card h3 {
  margin-bottom: 0.8rem;
  font-size: 2.35rem;
}

.app-summary {
  max-width: 30rem;
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 650;
}

.feature-list li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--card-accent);
}

.about-section {
  padding-block: 6rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.about-copy {
  max-width: 52rem;
  margin-inline: auto;
}

.about-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-text p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}

.values-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.value-card {
  min-height: 7rem;
  display: grid;
  place-items: center;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-wash);
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
}

.contact-section {
  padding-block: 6rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-section h2 {
  max-width: 14ch;
  margin-inline: auto;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--forest-light);
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 800;
  text-underline-offset: 0.3rem;
}

.site-footer {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links p {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.copyright {
  align-self: end;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

@media (min-width: 40rem) {
  nav {
    display: flex;
  }

  .site-header,
  .hero,
  .apps-section,
  .about-section,
  .contact-section,
  .site-footer {
    width: min(calc(100% - 4rem), var(--max-width));
  }

  .app-card {
    padding: 2.25rem;
  }

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

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

  .site-footer {
    grid-template-columns: 1.4fr 1fr auto;
  }
}

@media (min-width: 56rem) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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