/* oberwalder.net — shared styles
 *
 * "Dark showroom": near-black surfaces, one accent colour per app. Every page
 * links this single file. Accent colour is set by adding .blue / .green /
 * .orange / .gold / .teal to a container; everything inside reads --accent.
 */

:root {
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --bg-elevated: #141821;
  --surface-2: #1a1f2a;
  --border: #252a35;
  --text: #f1f3f6;
  --text-2: #b4bbc6;
  --text-dim: #8a92a0;
  --blue: #3b97f0;
  --green: #86d13a;
  --orange: #eba037;
  --gold: #e6bd63;
  --teal: #31c1b0;
  --blue-soft: #3b97f022;
  --green-soft: #86d13a22;
  --orange-soft: #eba03722;
  --gold-soft: #e6bd6322;
  --teal-soft: #31c1b022;
  --accent: var(--blue);
  --radius: 18px;
  --max-width: 1120px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Native form controls (the language <select>, scrollbars) draw in dark chrome. */
  color-scheme: dark;
}

.blue { --accent: var(--blue); }
.green { --accent: var(--green); }
.orange { --accent: var(--orange); }
.gold { --accent: var(--gold); }
.teal { --accent: var(--teal); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  z-index: 20;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

nav.site {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.site a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-2);
  font-size: 15px;
  transition: color 0.18s ease, background 0.18s ease;
}

nav.site a:hover,
nav.site a.active {
  color: var(--text);
  background: var(--bg-elevated);
}

/* Language picker: a native <select> (keeps i18n.js working, keyboard and
   screen-reader friendly) drawn as a labelled button with a globe. */

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 44px;
  min-width: 78px;
  padding: 0 28px 0 36px;
  background-color: var(--bg-elevated);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4bbc6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.2 3 14.8 0 18M12 3c-3 3.2-3 14.8 0 18'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a92a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left 12px center, right 10px center;
  background-size: 16px, 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-2);
  font: 600 14px/1 var(--font);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.lang-switch select:hover { color: var(--text); border-color: var(--text-dim); }

@media (max-width: 560px) {
  header.site .wrap { gap: 8px; }
  nav.site a { padding: 0 10px; }
  .lang-switch select { min-width: 70px; padding-left: 32px; background-position: left 10px center, right 8px center; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  header.site .wrap { gap: 4px; }
  .brand { font-size: 15px; }
  .brand::before { display: none; }
  nav.site { gap: 0; }
  nav.site a { padding: 0 7px; font-size: 14px; }
  .lang-switch { margin-left: 2px; }
  .lang-switch select { min-width: 62px; padding: 0 20px 0 30px; background-position: left 9px center, right 7px center; }
}

/* ---------- Buttons & chips ---------- */

.btn,
button.submit,
a.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.btn:hover { transform: translateY(-2px); border-color: var(--accent); }

.btn.primary,
button.submit,
a.submit {
  background: var(--accent);
  border-color: var(--accent);
  color: #07090d;
}

.btn.primary:hover,
button.submit:hover,
a.submit:hover { filter: brightness(1.08); }

.btn svg { width: 18px; height: 18px; }

.platform-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.platform-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-2);
  width: fit-content;
}

.platform-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

.status-badge {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.status-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Brand marks inside product names */
.brand-cy { color: var(--green); }

/* ---------- Home ---------- */

.hero {
  position: relative;
  padding: 88px 0 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 520px;
  background:
    radial-gradient(600px 300px at 20% 30%, #3b97f01f, transparent 70%),
    radial-gradient(500px 280px at 80% 20%, #86d13a1a, transparent 70%),
    radial-gradient(500px 260px at 55% 60%, #eba03714, transparent 70%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 22px;
  max-width: 15ch;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero h1 em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, var(--blue), var(--green) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text-2);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 32px 0 64px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 340px at 85% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  pointer-events: none;
}

.featured-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 56px 48px;
}

.featured-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.featured-copy p { margin: 0; color: var(--text-2); max-width: 44ch; }
.featured-copy .eyebrow { margin: 0; }

.featured-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 440px;
  padding: 40px 24px 0;
}

.featured-visual .phone { width: 190px; flex: none; }
.featured-visual .phone:nth-child(1) { transform: translateY(40px) rotate(-5deg); margin-right: -34px; }
.featured-visual .phone:nth-child(2) { z-index: 2; transform: translateY(10px); }
.featured-visual .phone:nth-child(3) { transform: translateY(40px) rotate(5deg); margin-left: -34px; }

@media (max-width: 860px) {
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured-copy { padding: 36px 24px 8px; }
  .featured-visual { min-height: 340px; padding: 24px 12px 0; overflow: hidden; }
  .featured-visual .phone { width: 150px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 40px; }
  .section { padding: 24px 0 48px; }
  .featured-copy { padding: 28px 20px 8px; }
  .featured-visual { min-height: 300px; }
  .featured-visual .phone { width: 112px; }
  .featured-visual .phone:nth-child(1) { margin-right: -22px; }
  .featured-visual .phone:nth-child(3) { margin-left: -22px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* App tiles on the home page */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

@media (max-width: 480px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.tile:hover { transform: translateY(-4px); border-color: var(--accent); }

/* Cursor-tracking spotlight, set via effects.js on fine pointers only. */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  pointer-events: none;
}

.tile.spot-active::before { opacity: 1; }
.tile > * { position: relative; }

.tile-head { display: flex; align-items: center; gap: 16px; }

.tile-icon {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.tile-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tile-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tile-tagline {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.45;
}

.tile-slogan {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.tile-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.tile-more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.tile:hover .tile-more svg { transform: translateX(4px); }

/* ---------- App page hero ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.18s ease;
}

.back-link:hover { color: var(--text); }

.app-page {
  position: relative;
  padding: 24px 0 32px;
  overflow: hidden;
}

.app-page::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto;
  height: 560px;
  background: radial-gradient(640px 360px at 78% 38%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%);
  pointer-events: none;
}

.app-page .wrap { position: relative; }

.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  align-items: start;
  padding-top: 8px;
}

/* The app's own launch splash, shown in a phone frame beside the intro. */
.app-banner {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 416 / 900;
  overflow: hidden;
  border-radius: 38px;
  border: 6px solid #05070b;
  outline: 1px solid #2c3240;
  background: #05060a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 60px -10px color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(3deg);
}

.app-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-fade { display: none; }

.app-icon {
  grid-column: 1;
  grid-row: 1;
  width: 84px;
  height: 84px;
  border-radius: 21px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.app-body {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0 0;
}

.app-body h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.app-tagline {
  margin: 0;
  color: var(--accent);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  line-height: 1.3;
}

.app-slogan {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-body > p.lead {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 48ch;
}

.app-body > p:not(.lead) { margin: 0; color: var(--text-2); max-width: 54ch; }

@media (max-width: 860px) {
  .app-card { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .app-icon, .app-body, .app-banner { grid-column: 1; }
  .app-icon { grid-row: 1; }
  .app-body { grid-row: 2; }
  .app-banner { grid-row: 3; margin-top: 48px; width: min(70%, 240px); }
}

/* ---------- Screenshots ---------- */

.screenshots { padding: 24px 0 56px; }

.shots-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.shots-heading {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.shots-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding: 12px 24px 28px;
  margin: 0 -24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.shots-track:focus-visible { outline-offset: -2px; }

.shot {
  flex: 0 0 auto;
  width: 240px;
  margin: 0;
  scroll-snap-align: start;
}

.phone {
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(145deg, #2c2f38, #101218);
  border: 1px solid #3a3e49;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot:hover .phone { transform: translateY(-6px); }

.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 921 / 2000;
  border-radius: 30px;
  background: #f2f2f7;
}

.shot figcaption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-2);
}

.shot figcaption strong { font-size: 16px; color: var(--text); }

.shots-device {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-2);
}

.shots-track.wide .shot { width: 640px; }
.shots-track:not(.wide) .shot { width: 240px; }

.window,
.tablet {
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 0.25s ease;
}

.window { border-radius: 12px; overflow: hidden; border: 1px solid #3a3e49; }

.tablet {
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(145deg, #2c2f38, #101218);
  border: 1px solid #3a3e49;
}

.window img,
.tablet img { display: block; width: 100%; height: auto; background: #f2f2f7; }
.window img { aspect-ratio: 16 / 10; }
.tablet img { aspect-ratio: 3 / 4; border-radius: 20px; }

.shot:hover .window,
.shot:hover .tablet { transform: translateY(-6px); }

.shots-track:not(.wide) .shot:has(.tablet) { width: 300px; }

@media (max-width: 720px) {
  .shot { width: 64vw; max-width: 260px; }
  .shots-track.wide .shot { width: 88vw; max-width: 640px; }
  .shots-track:not(.wide) .shot { width: 64vw; max-width: 260px; }
  .shots-track:not(.wide) .shot:has(.tablet) { width: 72vw; max-width: 300px; }
}

@media (max-width: 420px) {
  .shots-track { margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
}

/* ---------- App detail (the long-form copy) ---------- */

.app-detail { padding: 24px 0 96px; }

.app-detail .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 1000px) {
  .app-detail .wrap {
    grid-template-columns: 220px minmax(0, 740px);
    gap: 64px;
    justify-content: center;
  }
}

.toc { display: none; }

@media (min-width: 1000px) {
  .toc {
    display: block;
    position: sticky;
    top: 92px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border);
}

.toc a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.toc a:hover { color: var(--text); }
.toc a.current { color: var(--accent); border-left-color: var(--accent); }

.app-copy { display: flex; flex-direction: column; gap: 16px; }

.app-copy p {
  margin: 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.7;
}

.app-copy h2 {
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  scroll-margin-top: 88px;
}

.app-copy h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.app-copy h3 {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--accent);
}

.app-copy p.note { color: var(--text-dim); font-size: 15px; }

.app-copy p.closing {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 12px;
}

.app-copy p.legal {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}


.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-list li strong { color: var(--text); }

.app-copy a,
.content-card a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.app-copy a:hover,
.content-card a:hover { text-decoration-color: currentColor; }

/* ---------- Privacy & support pages ---------- */

.content-page { padding: 24px 0 96px; }

.content-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 0;
}

.content-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.content-meta {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.content-card .lead {
  margin: 0 0 36px;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.content-card section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.content-card p {
  margin: 0 0 12px;
  color: var(--text-2);
  line-height: 1.7;
}

.content-card p:last-child { margin-bottom: 0; }

.content-card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-card li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

.content-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.content-card strong { color: var(--text); }

/* ---------- Contact & 404 ---------- */

.contact-section { padding: 64px 0 96px; }

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 40px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.contact-card h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contact-card p { margin: 0 0 20px; color: var(--text-2); }
.contact-card .submit { margin-top: 4px; }

@media (max-width: 480px) {
  .contact-card { padding: 32px 22px; }
}

/* Unused since the contact form moved to mailto: — kept for a future form. */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font: 16px var(--font);
  resize: vertical;
}
.field textarea { min-height: 140px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 16px; font-size: 14px; margin-bottom: 22px; }
.notice.success { background: var(--green-soft); color: var(--green); border: 1px solid var(--green); }
.notice.error { background: #e6472f22; color: #ef7a63; border: 1px solid #e6472f; }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 20px 0 28px;
  color: var(--text-dim);
  font-size: 15px;
}

footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
}

footer.site a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--text-2);
}

footer.site a:hover { color: var(--text); }

/* ---------- Motion ---------- */

/* Home only: a brief dissolve echoing the apps' own launch screens. */
.page-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  pointer-events: none;
  animation: page-splash-out 650ms ease-out 150ms forwards;
}

.page-splash-mark {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  opacity: 0;
  animation: page-splash-mark-in 300ms ease-out 0s forwards;
}

@keyframes page-splash-mark-in { to { opacity: 1; } }

@keyframes page-splash-out {
  0%   { opacity: 1; }
  50%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1000;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .page-splash { display: none; }
  .reveal { opacity: 1; transform: none; }
  .app-banner,
  .featured-visual .phone { transform: none !important; }
}
