/* avstenroadmap.com — one stylesheet for every page. Colors match the app (src/theme.ts). */
:root {
  --navy: #0b2566;
  --navy-deep: #071a4a;
  --navy-tint: #e7ecf7;
  --orange: #ff9100;
  --orange-deep: #e07a00;
  --orange-tint: #fff1de;
  --white: #ffffff;
  --cloud: #f5f7fb;
  --mist: #dce2ee;
  --slate: #5b6785;
  --ink: #0e1630;
  --radius: 18px;
  --gutter: 16px;
}

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

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

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(28px, 6vw, 40px);
}

h2 {
  font-size: 22px;
  margin-top: 32px;
}

h3 {
  font-size: 18px;
  margin-top: 20px;
}

p,
ul,
ol {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--navy);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-deep);
}

strong {
  font-weight: 800;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Top bar on inner pages */
.topbar {
  background: var(--navy);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  min-height: 64px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
}

.topbar img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

/* Hero on the home and sign pages */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 48px 0 56px;
}

.hero .logo {
  width: 180px;
  max-width: 55%;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.hero h1 {
  color: var(--white);
  max-width: 560px;
  margin: 0 auto 16px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin: 0 auto;
}

.hero .accent {
  color: var(--orange);
}

/* Content card */
main {
  padding: 28px 0 40px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(11, 37, 102, 0.07);
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .card {
    padding: 36px 40px;
  }
}

.meta {
  color: var(--slate);
  font-size: 15px;
}

.summary {
  background: var(--orange-tint);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 14px 16px;
}

/* How it works steps */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 2px 12px rgba(11, 37, 102, 0.07);
  margin: 0;
}

.steps .num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 18px;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps li {
    flex-direction: column;
  }
}

.section-title {
  font-size: 22px;
  margin: 0 0 4px;
}

/* Store buttons (kept hidden with the hidden attribute until the apps are live) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.stores[hidden] {
  display: none;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

/* Table (privacy service providers) */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--mist);
}

th {
  background: var(--navy-tint);
  color: var(--navy);
  font-weight: 800;
}

.email {
  font-weight: 800;
  word-break: break-word;
}

.callout {
  background: var(--navy-tint);
  border-radius: 12px;
  padding: 14px 16px;
}

/* Footer */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  padding: 28px 0 36px;
  text-align: center;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 10px;
}

footer a {
  color: var(--white);
  text-decoration: none;
  padding: 6px 0;
}

footer a:hover {
  color: var(--orange);
}

footer .presented {
  font-weight: 700;
}
