/* landing.css - the public landing page's layout. Colors, fonts and shapes
   come from brand/tokens.css (a copy of the repo's brand/tokens.css): semantic
   tokens only, never raw color values, so light and dark follow the phone's
   setting by themselves. Phone first: one column, nothing under the notch or
   the home bar; two columns for the top of the page on wide screens. */

:root {
  --gutter: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--font-body);
  -webkit-text-size-adjust: 100%;
}

/* Titles: the display face, heaviest weight, capitals. */
h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  font-size: 54px;
  line-height: 0.92;
}

h2 {
  font-size: 34px;
  line-height: 1;
}

p {
  margin: 0;
}

.page {
  max-width: 1040px;
  min-height: 100dvh;
  margin: 0 auto;
  padding:
    calc(var(--gutter) + env(safe-area-inset-top))
    calc(var(--gutter) + env(safe-area-inset-right))
    calc(var(--gutter) + 8px + env(safe-area-inset-bottom))
    calc(var(--gutter) + env(safe-area-inset-left));
}

/* The header: the PIKR lockup, 28 pixels tall (the lockup needs 24). */
.site-header {
  display: flex;
  align-items: center;
  min-height: var(--tap);
}

.lockup {
  display: block;
  height: 28px;
  width: auto;
}

main > section {
  margin-top: 48px;
}

/* The top of the page: on a phone the big pick sits above the headline. */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-art {
  order: -1;
  display: flex;
  justify-content: center;
}

/* Tilted, as on the mood board: allowed for marketing (brand/BRAND.md). */
.hero-art img {
  display: block;
  height: 150px;
  width: auto;
  transform: rotate(10deg);
}

.hot {
  color: var(--accent-ink);
}

.lede {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 17px;
}

/* Sign in and Email us: the app's filled orange button and its outlined one,
   each at least 44 pixels tall (CLAUDE.md section 10). Side by side, sharing
   the width, from a phone up. */
.actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  max-width: 400px;
}

.btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 10px 18px;
  border-radius: var(--radius-control);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-secondary {
  border: 1.5px solid var(--accent-ink);
  color: var(--accent-ink);
}

.btn:focus-visible,
.contact a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.first-time {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.soon {
  margin-top: 20px;
  color: var(--muted);
}

.soon strong {
  display: block;
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

/* How a round works: rows on the surface color, the app's own pattern. */
.how,
.about,
.contact {
  max-width: 680px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 58px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius-row);
}

.step-number {
  flex: 0 0 28px;
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.steps h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.steps p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 15px;
}

.about p {
  margin-top: 12px;
}

.about h2 + p,
.contact h2 + p {
  margin-top: 16px;
}

.contact a {
  color: var(--accent-ink);
  font-weight: 700;
}

.site-footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footnote {
  margin-top: 4px;
  font-style: italic;
}

/* Wide screens: words on the left, the big pick on the right. */
@media (min-width: 760px) {
  h1 {
    font-size: 66px;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-top: 32px;
  }

  .hero-art {
    order: 0;
    flex: 0 0 auto;
    padding-right: 24px;
  }

  .hero-art img {
    height: 300px;
  }
}
