/* Keero Maps brand colours (day-05-styles-and-brand-kit.md) */
:root {
  --paper: #F4EFE6;
  --paper-2: #EBE4D8;
  --navy: #1F3A5F;
  --charcoal: #16181A;
  --muted: #5B6573;
  --amber: #F2A65A;
  --sky: #6FA8DC;
  --night: #0D1117;
  --display: "Josefin Sans", "Bahnschrift", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font: 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2 { font-family: var(--display); color: var(--navy); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }
.wrap.section { padding-left: 24px; padding-right: 24px; }

.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.fine { font-size: .9rem; color: var(--muted); }

.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  font-size: .95rem; padding: 16px 28px 13px; border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--charcoal); transform: translateY(-1px); }
.btn-small { padding: 10px 18px 8px; font-size: .8rem; }
.link { font-family: var(--display); font-weight: 600; text-decoration: none; letter-spacing: .03em; }
.link:hover { text-decoration: underline; }

/* navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px; background: rgba(244, 239, 230, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--paper-2);
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--navy);
}
.brand img { border-radius: 50%; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a:not(.btn) { text-decoration: none; font-size: 1rem; }
.nav nav a:not(.btn):hover { text-decoration: underline; }

/* hero */
.hero {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
  padding-top: 64px; padding-bottom: 32px;
}
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 2rem 0 1rem; }
.hero-img, .wide { border-radius: 4px; box-shadow: 0 20px 50px -20px rgba(22, 24, 26, .35); }
.wide { width: 100%; }

/* posters: a thin shadow, like paper on a wall */
.styles, .grid img, .split img { --lift: 0 10px 28px -12px rgba(22, 24, 26, .4); }
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.styles figure { margin: 0; }
.styles img { box-shadow: var(--lift); }
.styles figcaption { margin-top: 20px; color: var(--muted); }
.styles b { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 32px; }
.grid-6 { grid-template-columns: repeat(6, 1fr); gap: 24px; margin-bottom: 56px; }
.grid a { text-decoration: none; color: inherit; }
.grid img { box-shadow: var(--lift); transition: transform .3s ease, box-shadow .3s ease; }
.grid a:hover img { transform: translateY(-4px); box-shadow: 0 18px 36px -14px rgba(22, 24, 26, .45); }
.grid span { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: .95rem; color: var(--muted); }
.grid em { font-style: normal; font-weight: 600; color: var(--navy); white-space: nowrap; }
.dark .grid em { color: var(--amber); }

/* currency switch */
.currency { display: flex; border: 1px solid var(--paper-2); border-radius: 2px; overflow: hidden; }
.currency button {
  font: 600 .95rem var(--display); color: var(--muted); background: transparent;
  border: 0; padding: 8px 11px 6px; min-width: 36px; cursor: pointer;
}
.currency button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.currency button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.price-line { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 1.1rem; margin: 0 0 .25rem; }
.checkout-note { margin-top: 32px; max-width: 42em; }

/* country art on a dark band */
.dark { background: var(--night); color: #E8E2D8; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: var(--amber); }
.dark .lead, .dark .grid span { color: #A9B1BC; }
.dark .grid img { box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .8); }

.split { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.split img { border-radius: 4px; box-shadow: var(--lift); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0;
         display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { counter-increment: s; color: var(--muted); border-top: 2px solid var(--navy); padding-top: 20px; }
.steps li::before {
  content: "0" counter(s); display: block; font-family: var(--display); font-weight: 700;
  color: var(--amber); font-size: 1.1rem; margin-bottom: 8px;
}
.steps b { display: block; color: var(--navy); font-family: var(--display); font-size: 1.25rem; margin-bottom: 4px; }

.newsletter { text-align: center; background: var(--paper-2); border-radius: 4px; margin-bottom: 72px; }
.newsletter p { max-width: 34em; margin-left: auto; margin-right: auto; color: var(--muted); }
.newsletter iframe { border: 0; max-width: 100%; background: transparent; margin: 16px auto 0; display: block; }

footer { border-top: 1px solid var(--paper-2); padding-top: 32px; padding-bottom: 48px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-row nav a { text-decoration: none; }
footer .fine { margin-top: 24px; line-height: 1.7; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .styles, .steps { gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap, .nav, .wrap.section { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .nav nav a:not(.btn) { display: none; }
  .nav nav { gap: 12px; }
  .styles, .steps { grid-template-columns: 1fr; }
  .styles { gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
