/* The app's accent (AccentColor: #0F7C77 light, #2FB3A8 dark) and iOS's system grays. */
:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --secondary: #6e6e73;
  --accent: #0f7c77;
  --rule: #e5e5ea;
  --panel: #f2f2f7;
  --glow: rgba(15, 124, 119, 0.13);
  --bezel: #1c1c1e;
  --bezel-edge: rgba(0, 0, 0, 0.12);
  --card: #ffffff;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #f2f2f7;
    --secondary: #98989d;
    --accent: #2fb3a8;
    --rule: #38383a;
    --panel: #1c1c1e;
    --glow: rgba(47, 179, 168, 0.16);
    --bezel: #2c2c2e;
    --bezel-edge: rgba(255, 255, 255, 0.14);
    --card: #2c2c2e;
  }
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
header.site, main, footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.home header.site, .home main, .home footer { max-width: 1080px; }
a { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 24px 0 8px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
ul { padding-left: 1.25em; }
li { margin: 6px 0; }
main { padding-top: 8px; padding-bottom: 32px; }

/* Header and footer */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
header.site nav { display: flex; align-items: center; gap: 16px; font-size: 0.95rem; }
header.site nav > a { color: var(--text); text-decoration: none; }
/* Padding gives each language link a tap target of at least 24 points (Lighthouse's target-size check) without changing how the row looks. */
.languages a { display: inline-block; padding: 6px 3px; color: var(--secondary); text-decoration: none; }
.languages a + a::before { content: "·"; color: var(--secondary); margin: 0 6px 0 0; }
.languages a[aria-current] { color: var(--text); font-weight: 600; }
header.site .languages { font-size: 0.85rem; letter-spacing: 0.04em; }
.languages abbr { text-decoration: none; }
footer {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--secondary);
  font-size: 0.9rem;
}
footer p { margin: 4px 0; }

/* Support and legal pages */
.lede { color: var(--secondary); font-size: 1.1rem; margin-top: 0; }
.contact {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
}
.contact p { margin: 4px 0; }

/* Screenshots in an iPhone outline */
.phone {
  position: relative;
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 3.2%;
  border-radius: 16% / 7.5%;
  background: var(--bezel);
  box-shadow: 0 0 0 1px var(--bezel-edge), 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13.2% / 6.1%;
}
/* The Dynamic Island, which simulator screenshots leave out (126 × 37 points, 11 from the top of a 402-point-wide screen) */
.phone::after {
  content: "";
  position: absolute;
  top: 2.75%;
  left: 50%;
  width: 29.3%;
  aspect-ratio: 126 / 37;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* Home page */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0 56px;
  background: radial-gradient(ellipse 60% 55% at 72% 45%, var(--glow), transparent 70%);
}
.hero .app-icon { width: 88px; height: 88px; border-radius: 20px; display: block; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 20px 0 8px;
}
.tagline { font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.3; margin: 0 0 16px; font-weight: 600; }
.hero .lede { font-size: 1.15rem; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; }
.soon {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.label-chip:hover { background: var(--rule); }
.hero .phone { max-width: 320px; }

/* A check in a circle (our own drawing, not Apple's artwork) in the accent color */
.check {
  display: inline-block;
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
.feature:nth-of-type(even) .shot { order: -1; }
.feature h2, .section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
}
.feature p { font-size: 1.1rem; color: var(--secondary); margin: 0; max-width: 30em; }

.more { border-top: 1px solid var(--rule); padding: 56px 0 24px; }
.more .section-title { margin-bottom: 24px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.grid div { background: var(--panel); border-radius: 16px; padding: 18px 20px; }
.grid h3 { font-size: 1.05rem; margin: 0 0 4px; }
.grid p { margin: 0; color: var(--secondary); font-size: 0.97rem; }

.privacy {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 40px;
  align-items: center;
  margin: 40px 0 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--panel);
}
.privacy .section-title { margin-bottom: 16px; }
.privacy ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.privacy li { margin: 0; padding-left: 28px; position: relative; }
.privacy li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.privacy p { margin: 0; }

/* The App Store privacy label, in Apple's wording but the site's own style */
.privacy-label { margin: 0; }
.privacy-label .label-heading { font-weight: 700; font-size: 1.1rem; margin: 0 0 10px; }
.label-card {
  padding: 24px 20px 22px;
  border-radius: 16px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 28px -14px rgba(0, 0, 0, 0.25);
}
.label-card .check { width: 40px; height: 40px; margin-bottom: 8px; }
.privacy-label .label-title { font-weight: 700; font-size: 1.2rem; margin: 0 0 4px; }
.label-card p:last-child { color: var(--secondary); font-size: 0.95rem; }
.privacy-label figcaption { color: var(--secondary); font-size: 0.88rem; line-height: 1.5; margin-top: 12px; }
.closing { text-align: center; color: var(--secondary); padding: 24px 0 8px; }

@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-bottom: 40px; background-position: center bottom; }
  .feature { padding: 40px 0; }
  .feature:nth-of-type(even) .shot { order: 0; }
  .phone, .hero .phone { max-width: 260px; }
  .privacy { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; }
}
