/* Kiekie marketing site. Sunset orange #F28C28, Roboto (Apache 2.0, fonts/LICENSE).
   Self-hosted only: do not add a Google Fonts or other remote request. */

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Roboto-Regular.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013, U+2014, U+2018, U+2019, U+201C, U+201D, U+2026;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Roboto-Medium.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013, U+2014, U+2018, U+2019, U+201C, U+201D, U+2026;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Roboto-Bold.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013, U+2014, U+2018, U+2019, U+201C, U+201D, U+2026;
}

:root {
  --orange: #f28c28;
  --orange-deep: #c45e0a;
  --ink: #241910;
  --muted: #5c4a3a;
  --cream: #fff7ee;
  --paper: #ffffff;
  --sand: #fbf3ea;
  --line: rgba(36, 25, 16, 0.12);
  --deep: #3a2416;
  --focus: #6b2e00;
  --max: 68rem;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.15rem, 7vw, 3.6rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 0.85rem;
}

a {
  color: var(--focus);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.lede,
.narrow {
  max-width: 38rem;
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 247, 238, 0.94);
  border-top: 6px solid var(--orange);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  min-height: 4.25rem;
  padding: 0.35rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.85rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.nav a.nav-app {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.nav a.nav-app:hover {
  background: #e07e1c;
  text-decoration: none;
}

.hero {
  padding: 2.4rem 0 3.2rem;
  background:
    radial-gradient(70rem 28rem at 100% -10%, rgba(242, 140, 40, 0.38), transparent 60%),
    radial-gradient(40rem 22rem at -10% 10%, rgba(242, 140, 40, 0.16), transparent 55%),
    var(--cream);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: #e07e1c;
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  border-color: var(--ink);
}

.button-secondary:hover {
  background: rgba(36, 25, 16, 0.05);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 11.5rem;
  min-height: 3.35rem;
  margin: 0;
  padding: 0.4rem 0.95rem 0.45rem;
  border-radius: 0.65rem;
  background: var(--ink);
  color: #fff;
  line-height: 1.1;
  text-decoration: none;
}

a.store:hover {
  background: #3a2a1e;
  text-decoration: none;
}

.store-kicker {
  font-size: 0.72rem;
  font-weight: 400;
  color: #f3e6d8;
}

.store-name {
  font-size: 1.12rem;
  font-weight: 700;
}

.store-soon {
  margin-top: 0.15rem;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Phone mockups. Photos live in /img/mockups/; see docs/landing-page.md. */

.phones {
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  min-width: 0;
}

.phone {
  position: relative;
  width: min(22rem, 100%);
  min-width: 0;
  margin: 0;
}

.phone-frame {
  background: #1c140f;
  border-radius: 2.05rem;
  padding: 0.48rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 247, 238, 0.28),
    0 18px 40px rgba(36, 25, 16, 0.16);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.35;
  overflow: hidden;
  border-radius: 1.62rem;
  background: #fff;
  color: var(--ink);
  container-type: inline-size;
}

.visually-hidden {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 0.42rem 0.75rem 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.status-icons svg {
  display: block;
}

.mock-appbar {
  flex: none;
  margin: 0;
  padding: 0.28rem 0.6rem 0.45rem;
  border-bottom: 1px solid rgba(36, 25, 16, 0.08);
  font-size: clamp(0.92rem, 5.4cqi, 1.05rem);
  font-weight: 500;
  text-align: center;
}

.mock-date {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.1rem;
  padding: 0.28rem 0.2rem 0.15rem;
}

.mock-date-label {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.68rem, 4.15cqi, 0.92rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
}

.chev {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
}

.chev.is-off {
  opacity: 0.38;
}

.week {
  display: grid;
  flex: none;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.16rem;
  padding: 0.15rem 0.38rem 0.2rem;
}

.wday {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 2.45rem;
  border-radius: 0.42rem;
  background: #f3eee8;
  color: var(--muted);
  line-height: 1.05;
  overflow: hidden;
}

.wday-letter {
  font-size: 0.56rem;
  font-weight: 500;
}

.wday-num {
  font-size: 0.72rem;
  font-weight: 500;
}

.wday.is-today .wday-num {
  font-weight: 700;
}

.wday.is-today {
  box-shadow: inset 0 0 0 2px var(--orange);
}

.wday.is-dim {
  opacity: 0.38;
}

.wday-tint {
  background: rgba(242, 140, 40, 0.22);
  color: var(--ink);
}

.wday-photo {
  position: relative;
  background-color: #c4b8aa;
  color: #fff;
}

.wday-photo picture {
  position: absolute;
  inset: 0;
  display: block;
}

.wday-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.wday-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.wday-mon img {
  object-position: center 30%;
}

.wday-fri img {
  object-position: center 42%;
}

.wday-sat img {
  object-position: center 20%;
}

.wday-photo .wday-letter,
.wday-photo .wday-num {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.mock-switch {
  display: flex;
  flex: none;
  width: calc(100% - 1.1rem);
  margin: 0.28rem auto 0.32rem;
  padding: 0.12rem;
  border: 1px solid rgba(36, 25, 16, 0.16);
  border-radius: 999px;
}

.mock-switch span {
  flex: 1;
  padding: 0.26rem 0.35rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: clamp(0.62rem, 3.7cqi, 0.75rem);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.mock-switch .is-on {
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

.mock-collage {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.22rem;
  min-height: 0;
  padding: 0 0.32rem;
}

.shot {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #f3ece4;
}

.shot picture {
  position: absolute;
  inset: 0;
  display: block;
}

.shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.shot-ouma img {
  object-position: center 28%;
}

.shot-london img {
  object-position: center 16%;
}

.shot-perth img {
  object-position: center 46%;
}

.shot-dog img {
  object-position: center 40%;
}

.shot::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(20, 12, 6, 0.58));
  pointer-events: none;
}

.shot-name,
.shot-pill {
  position: absolute;
  z-index: 1;
}

.shot-name {
  right: 0.4rem;
  bottom: 0.22rem;
  left: 0.4rem;
  color: #fff;
  font-size: clamp(0.7rem, 4.7cqi, 0.84rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.shot-pill {
  top: 0.28rem;
  right: 0.28rem;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: #fff;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Roboto, sans-serif;
  font-size: clamp(0.6rem, 3.6cqi, 0.72rem);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.mock-nav {
  display: grid;
  flex: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding: 0.28rem 0.15rem 0.48rem;
  border-top: 1px solid rgba(36, 25, 16, 0.08);
  background: #fff;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  min-width: 0;
  color: var(--muted);
  font-size: clamp(0.58rem, 3.3cqi, 0.7rem);
  font-weight: 500;
}

.tab-ico {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 1.35rem;
  border-radius: 999px;
}

.tab.is-on {
  color: var(--ink);
  font-weight: 700;
}

.tab.is-on .tab-ico {
  background: var(--orange);
  color: var(--ink);
}

.tab svg {
  display: block;
}

.phone-lock {
  background:
    radial-gradient(80% 42% at 50% 0%, rgba(255, 236, 210, 0.95), transparent 70%),
    linear-gradient(180deg, #ffb25a 0%, var(--orange) 46%, #e07e1c 100%);
  color: var(--ink);
}

.lock-clock {
  flex: none;
  padding: 1.55rem 0.8rem 0.35rem;
  text-align: center;
}

.lock-date {
  margin: 0;
  font-size: clamp(0.85rem, 4.6cqi, 1rem);
  font-weight: 700;
}

.lock-time {
  margin: 0.1rem 0 0;
  font-size: clamp(2.5rem, 16cqi, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.prompt {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  margin: 0.85rem 0.65rem 0;
  padding: 0.7rem 0.7rem 0.75rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(36, 25, 16, 0.14);
}

.prompt-icon {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
}

.prompt-copy {
  flex: 1;
  min-width: 0;
}

.prompt-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
}

.prompt-meta span:first-child {
  font-weight: 700;
}

.prompt-meta span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.prompt-text {
  margin: 0;
  font-size: clamp(0.86rem, 4.5cqi, 1rem);
  font-weight: 700;
  line-height: 1.3;
}

.section {
  padding: 3.25rem 0;
}

.band {
  background: var(--paper);
}

.band-sand {
  background: var(--sand);
}

.section-intro {
  margin-bottom: 1.4rem;
}

.cards,
.feature-list {
  display: grid;
  gap: 0.75rem;
}

.plans {
  display: grid;
  gap: 0.75rem;
  max-width: 38rem;
}

.card,
.plan {
  margin: 0;
  padding: 1.15rem 1.2rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--paper);
}

.band .card {
  background: var(--cream);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 0.85rem;
  align-items: start;
}

.steps li::before {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  content: counter(step);
  counter-increment: step;
}

.steps {
  counter-reset: step;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 2.3rem;
  border-radius: 0.9rem;
  background: var(--sand);
}

.band-sand .feature-list li {
  background: var(--paper);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

.plan-free {
  border: 2px solid var(--orange);
  background: var(--cream);
}

.price {
  margin: 0.2rem 0 0.55rem;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.yearbook {
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(242, 140, 40, 0.28), transparent 60%),
    var(--deep);
  color: var(--cream);
}

.yearbook h2,
.yearbook p {
  color: var(--cream);
}

.yearbook a:not(.button) {
  color: #ffd7a8;
}

.yearbook-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.book {
  width: 9.25rem;
  justify-self: start;
}

.book-cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  aspect-ratio: 3 / 4;
  padding: 1rem;
  border-radius: 0.25rem 0.7rem 0.7rem 0.25rem;
  background:
    linear-gradient(90deg, rgba(36, 25, 16, 0.18), transparent 12%),
    linear-gradient(165deg, #ffb25a, var(--orange) 45%, var(--orange-deep));
  box-shadow: 0.7rem 0.85rem 0 #2a1810;
  color: var(--ink);
}

.book-kicker {
  font-size: 0.85rem;
  font-weight: 500;
}

.book-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.yearbook .fine {
  color: #f3e6d8;
}

.site-footer {
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.site-footer address {
  font-style: normal;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.4rem 0 0.8rem;
  padding: 0;
  list-style: none;
}

.draft {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--orange);
  background: #fff4e5;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose li {
  margin: 0.25rem 0;
}

@media (max-width: 599px) {
  .actions .button {
    flex: 1 1 100%;
  }
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  .phone {
    width: 100%;
  }
}

@media (min-width: 880px) {
  .hero {
    padding: 3.5rem 0 4.2rem;
  }

  .yearbook-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  }

  .book {
    justify-self: end;
  }
}

@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .phones {
    width: 100%;
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .button,
  .store,
  .phone-frame,
  .prompt,
  .mock-switch,
  .book-cover {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header,
  .skip,
  .stores,
  .actions {
    position: static;
  }

  .yearbook {
    background: #fff;
    color: #000;
  }

  .yearbook h2,
  .yearbook p {
    color: #000;
  }

  .phone-lock {
    background: #fff;
    color: #000;
  }
}
