:root {
  --lichen: #ECEEE8;
  --ink: #1D2420;
  --slate: #5E6B64;
  --latin-grey: #808A84;
  --rule: #CDD3CB;
  --cobalt: #2B44D1;
    --summon: #663399;
    --summon-dark: #552A80;
  --paper: #F7F8F5;
  --measure: 34rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--lichen); color: var(--ink);
  font: 400 1.0625rem/1.55 'Schibsted Grotesk', system-ui, sans-serif;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }

/* nav */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; }
.mark { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; }
nav.links { display: flex; align-items: center; gap: 1.75rem; font-size: 0.9375rem; }
nav.links a { text-decoration: none; }
nav.links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  padding: 0.7rem 1.15rem; border-radius: 6px; border: 1px solid var(--ink);
}
.btn.solid { background: var(--summon); border-color: var(--summon); color: #fff; }
.btn.solid:hover { background: var(--summon-dark); border-color: var(--summon-dark); }
.btn.line:hover { background: var(--ink); color: var(--lichen); }

/* hero */
.hero { padding: clamp(3rem, 10vw, 7.5rem) 0 clamp(3rem, 8vw, 6rem); }
.nowrap { white-space: nowrap; }
.hero-fly {
  display: inline-block; height: 0.78em; width: auto;
  margin-left: 0.12em; vertical-align: -0.12em;
  transform: rotate(-27deg);
}
.hero h1 {
  margin: 0 0 1.5rem; max-width: 14ch;
  font-weight: 500; font-size: clamp(2.6rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.035em;
}
.hero p { margin: 0 0 2.25rem; max-width: var(--measure); color: var(--slate); font-size: 1.1875rem; }
.hero .also { color: var(--ink); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* work: one sheet per app, screenshot on a mount board beside it */
.work { border-top: 1px solid var(--rule); padding: clamp(3rem, 7vw, 5rem) 0 0; }
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.work-head h2 { margin: 0; font-weight: 500; font-size: 1.75rem; letter-spacing: -0.02em; }
.work-head p { margin: 0; color: var(--slate); max-width: 28rem; }

.sheet {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem);
  align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--rule);
}
.work-head + .sheet { border-top: 0; padding-top: 0; }
.sheet:nth-of-type(even) .text { order: 2; }
.common { display: flex; align-items: center; gap: clamp(0.75rem, 1.5vw, 1rem); margin: 0 0 0.35rem; }
.common img { width: clamp(44px, 5vw, 60px); height: auto; border-radius: 23%; box-shadow: 0 1px 0 rgba(29,36,32,.08), 0 10px 24px -12px rgba(29,36,32,.45); }
.common h3 { margin: 0; font-weight: 500; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1; letter-spacing: -0.035em; }
/* the Latin name stays quiet: well below the app name */
.binomial { margin: 0 0 1.25rem; font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.2; color: var(--latin-grey); }
.sheet .line { margin: 0 0 1.25rem; font-size: 1.1875rem; }
.feats { margin: 0 0 1.5rem; padding: 0; list-style: none; max-width: 30rem; color: var(--slate); }
.feats li { padding: 0.55rem 0; border-top: 1px solid var(--rule); }
.feats li:last-child { border-bottom: 1px solid var(--rule); }
.facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; font-size: 0.9375rem; }
.facts .meta { margin: 0; color: var(--slate); }
.soon { color: var(--slate); font-weight: 500; }
.store { color: var(--cobalt); font-weight: 500; text-decoration: none; }
.store:hover { text-decoration: underline; text-underline-offset: 4px; }

/* corner mounts: the "pinned specimen" device, on mount boards only */
.mount { position: relative; background: var(--paper); }
.mount::before, .mount::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink); }
.mount::before { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.mount::after { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.sheet .mount { display: grid; place-items: center; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; min-height: 22rem; }
.sheet .shot { display: block; width: min(240px, 100%); height: auto; border-radius: 22px; box-shadow: 0 1px 0 rgba(29,36,32,.08), 0 14px 28px -16px rgba(29,36,32,.5); }
.sheet .big-icon { display: block; width: min(168px, 60%); height: auto; border-radius: 23%; box-shadow: 0 1px 0 rgba(29,36,32,.08), 0 14px 28px -16px rgba(29,36,32,.5); }
.sheet .shot.devices { width: min(360px, 100%); border-radius: 0; box-shadow: none; }
.sheet .shot.devices.wide { width: 100%; }
.sheet .pair { display: flex; align-items: flex-end; justify-content: center; gap: clamp(0.75rem, 3vw, 1.5rem); width: 100%; }
.sheet .pair .shot { width: min(200px, 58%); }
.sheet .pair .shot.watch { width: min(140px, 38%); border-radius: 0; box-shadow: none; }
.sheet.nova .mount { background: transparent; border: 1px dashed var(--slate); }
.sheet.nova .mount::before, .sheet.nova .mount::after { display: none; }
.empty-slot { width: min(168px, 60%); aspect-ratio: 1; border-radius: 23%; border: 1px dashed var(--slate); display: grid; place-items: center; color: var(--slate); font-size: 2rem; }

.privacy { margin: 0; font-size: 0.875rem; color: var(--slate); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin: 0; font-size: 0.9375rem; }
#form-status:empty { display: none; }
.sent { background: var(--paper); padding: clamp(1.25rem, 4vw, 2.25rem); font-size: 1.125rem; }

/* contact */
.contact { border-top: 1px solid var(--rule); padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); }
.contact h2 { margin: 0 0 1rem; font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.contact .lede { margin: 0 0 2rem; color: var(--slate); max-width: 26rem; }
.ways { list-style: none; padding: 0; margin: 0 0 2rem; }
.ways li { padding: 0.9rem 0; border-top: 1px solid var(--rule); display: flex; gap: 1.5rem; }
.ways li:last-child { border-bottom: 1px solid var(--rule); }
.ways .k { color: var(--slate); min-width: 3.5rem; }

form { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.1rem; }
label { display: grid; gap: 0.4rem; font-size: 0.9375rem; font-weight: 500; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 0.7rem 0.8rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: var(--cobalt); }
textarea { min-height: 8rem; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
form .btn { justify-self: start; cursor: pointer; font-family: inherit; }

footer { border-top: 1px solid var(--rule); padding: 1.75rem 0 2.5rem; font-size: 0.875rem; color: var(--slate); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 760px) {
  nav.links a:not(.btn) { display: none; }
  .contact-grid, .row, .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet:nth-of-type(even) .text { order: 0; }
  .sheet .mount { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
