/* anamoapp.com. Black, white and greys only; colour comes only from the poster (standards A8).
   Light and dark follow the visitor's system setting. Sizes are in rem so text follows browser zoom. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #000000;
  --text-2: #5e5e66;
  --body: #1c1c1e;
  --card: #f5f5f7;
  --separator: rgba(60, 60, 67, 0.16);
  --icon-edge: none;
  --phone-shadow: 0 0 0 1.5px #2c2c2e, 0 30px 70px rgba(0, 0, 0, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #ffffff;
    --text-2: #a1a1a8;
    --body: #e5e5ea;
    --card: #1c1c1e;
    --separator: rgba(255, 255, 255, 0.14);
    --icon-edge: 0 0 0 1px rgba(255, 255, 255, 0.16);
    --phone-shadow: 0 0 0 1.5px #3a3a3c, 0 30px 70px rgba(0, 0, 0, 0.6);
  }
}

@media (prefers-contrast: more) {
  :root {
    --text-2: #3a3a3f;
    --body: #000000;
    --separator: rgba(60, 60, 67, 0.4);
  }
}

@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root {
    --text-2: #d1d1d6;
    --body: #ffffff;
    --separator: rgba(255, 255, 255, 0.4);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}

.page {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  box-shadow: var(--icon-edge);
}

.wordmark {
  display: block;
  height: 0.9rem;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* Home: hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3.5rem;
  padding: 3rem 0 4.5rem;
}

.hero-text {
  flex: 1 1 26rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.intro {
  margin: 0;
  max-width: 29.5rem;
  font-size: 1.1875rem;
  color: var(--text-2);
}

.coming-soon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3rem;
  margin: 0.375rem 0 0;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--text);
  border-radius: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.coming-soon svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}

.promise {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.hero-phone {
  flex: 1 1 20rem;
  min-width: 0;
  display: flex;
  justify-content: center;
}

/* A simple iPhone frame around the real screenshot. */
.phone {
  width: 18.75rem;
  max-width: 100%;
  margin: 0;
  padding: 0.6875rem;
  border-radius: 3.25rem;
  background: #0b0b0c;
  box-shadow: var(--phone-shadow);
}

.phone picture {
  display: block;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  border-radius: 2.625rem;
}

/* Home: features */

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0.5rem 0 5rem;
  list-style: none;
}

.feature {
  flex: 1 1 15rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.75rem;
  border-radius: 1.375rem;
  background: var(--card);
}

.feature svg {
  width: 1.875rem;
  height: 1.875rem;
}

.feature h2 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-2);
}

/* Text pages: Privacy, Support, 404 */

.text-page {
  max-width: 42.5rem;
  padding: 2.5rem 0 5rem;
}

.text-page h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-page .updated {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-2);
}

.text-page .summary {
  margin: 2rem 0 0;
  padding: 1.375rem 1.5rem;
  border-radius: 1.125rem;
  background: var(--card);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.text-page h2 {
  margin: 2.5rem 0 0;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.014em;
  scroll-margin-top: 1.5rem;
}

.text-page h3 {
  margin: 1.75rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 600;
}

.text-page p,
.text-page ul {
  margin: 0.75rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
}

.text-page h3 + p {
  margin-top: 0.25rem;
}

.text-page ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.375rem;
}

.text-page .lead {
  margin-top: 1.5rem;
}

/* Footer */

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--separator);
  font-size: 0.8125rem;
  color: var(--text-2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

.site-footer p {
  margin: 0;
  max-width: 40rem;
}

/* Phone width */

@media (max-width: 40rem) {
  .site-nav {
    gap: 1.25rem;
  }

  .hero {
    gap: 3rem;
    padding: 2rem 0 3.5rem;
  }

  .coming-soon {
    align-self: stretch;
  }

  .text-page {
    padding-top: 1.5rem;
  }
}
