/* AromaTrack: the app's own navy and green, on white. System fonts, no external requests. */
:root {
  --navy: #12375f;
  --navy-deep: #0c2744;
  --green: #2f7d4c;
  --green-soft: #e8f3ec;
  --ink: #16202b;
  --muted: #4c5a68;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 14px;
  --wrap: 1080px;
  --gut: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--navy);
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 0.9375rem;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current='page'] {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-deep);
}

.btn--secondary {
  border-color: var(--line);
  color: var(--navy);
}

.btn--secondary:hover {
  border-color: var(--navy);
}

/* Home */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 34rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1875rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.shots {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.shots img {
  width: min(46%, 240px);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 48px -24px rgb(12 39 68 / 0.45);
}

.section {
  padding: 64px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 40rem;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.125rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.features h3 {
  color: var(--navy);
  font-size: 1.0625rem;
}

.features p {
  margin-top: 6px;
  color: var(--muted);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.plan {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.plan--pro {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.plan h3 {
  color: var(--navy);
  font-size: 1.25rem;
}

.plan ul {
  margin-top: 12px;
  padding-left: 1.2em;
  color: var(--muted);
}

.plan li + li {
  margin-top: 4px;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Legal pages and FAQ */
.doc {
  padding: 48px 0 72px;
}

.doc .prose {
  max-width: 44rem;
}

.doc h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.doc .updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prose h2 {
  margin-top: 36px;
  color: var(--navy);
  font-size: 1.3125rem;
  line-height: 1.25;
}

.prose h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.0625rem;
}

.prose p,
.prose ul {
  margin-top: 12px;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 4px;
}

.prose .intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}

.callout {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--green-soft);
}

/* Footer */
.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero .wrap,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 560px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 48px 0;
  }
}

/* Marks a Pro feature. */
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 650;
  vertical-align: 2px;
}
