/* The public website. Colours and type follow mobile/theme/index.ts. */
:root {
  --ground: #F2F1EE; --paper: #FCFBF8; --rule: #E3E0D9;
  --ink: #22282E; --ink-mid: #55504A; --ink-lt: #6C665D;
  --teal: #2E7D7A; --teal-dark: #256664; --teal-soft: rgba(46,125,122,0.12);
  --red: #C0392B;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.55 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.lockup { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); }
.lockup svg { height: 20px; width: auto; overflow: visible; }
.lockup span { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin-left: -1px; }

.button {
  display: inline-block; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--teal); color: #fff; text-decoration: none;
  font: inherit; font-weight: 600; font-size: 16px; padding: 12px 20px;
  transition: background-color 120ms ease;
}
.button:hover { background: var(--teal-dark); }
.button:disabled { opacity: 0.6; cursor: default; }
header .button { font-size: 14px; padding: 8px 14px; }

h1 { font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 16px; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; margin: 0 0 12px; }
p { margin: 0 0 16px; color: var(--ink-mid); }
.small { font-size: 14px; color: var(--ink-lt); }

.intro-block { text-align: center; max-width: 720px; margin: 0 auto; padding: 32px 0 24px; }
.intro-block .lead { font-size: 20px; }
.intro-block .button { margin-top: 8px; }
.intro-block .small { margin: 12px 0 0; }
em { font-style: normal; font-weight: 600; color: var(--teal-dark); }
.center { text-align: center; }

.screens { list-style: none; margin: 0; padding: 24px 0 16px; display: grid; gap: 48px; }
.screens li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.screens h2 { font-size: 22px; }
.screens p { max-width: 320px; }
.soon { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 600; color: var(--teal-dark); background: var(--teal-soft); border-radius: 6px; padding: 2px 8px; margin-left: 4px; }

figure { margin: auto 0 0; width: min(280px, 82%); }
figure img {
  display: block; width: 100%; height: auto; background: var(--paper);
  border: 6px solid var(--ink); border-radius: 36px;
  box-shadow: 0 18px 40px rgba(34,40,46,0.14);
}

.closing { text-align: center; padding-top: 48px; padding-bottom: 56px; border-top: 1px solid var(--rule); }

footer { border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 24px; padding-bottom: 32px; font-size: 14px; }
footer a { color: var(--ink-lt); }

/* Register interest */
.panel { max-width: 460px; margin: 24px auto 56px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px 24px; }
.panel h1 { font-size: 30px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
input[type=email] {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #CFCAC0; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px;
}
input[type=email].invalid { border-color: var(--red); }
form .button { width: 100%; margin-bottom: 12px; }
.msg { color: var(--red); font-size: 14px; margin: 0 0 8px; min-height: 20px; }
.done { display: none; }
.done.show { display: block; }
form.hide, .intro.hide { display: none; }

@media (min-width: 860px) {
  h1 { font-size: 52px; }
  h2 { font-size: 30px; }
  .intro-block { padding: 64px 0 40px; }
  .screens { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
