/* gethermeshq.com home page (index.html). The privacy, support and 404 pages keep style.css. */
:root {
  --bg: #ffffff;
  --band: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --frame: #1d1d1f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --band: #111113; --text: #f5f5f7; --muted: #a1a1a6; --line: #2c2c2e; --accent: #2997ff; --frame: #2c2c2e; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: .9em ui-monospace, "SF Mono", Menlo, monospace; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 600; letter-spacing: -.01em; }
figure { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }
section { padding: 100px 0; }
.band { background: var(--band); }
.intro { color: var(--muted); font-size: 19px; max-width: 40em; margin: 0 0 40px; }
.fine { color: var(--muted); font-size: 14px; }

/* Buttons */
.button { display: inline-block; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.small { padding: 7px 15px; font-size: 14px; }
.button.alt { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.link { font-weight: 500; }

/* An iPhone (iphone.svg, 470 x 980) with the screenshot or video in its 440 x 956 screen at (15, 12). */
.phone { position: relative; aspect-ratio: 470 / 980; filter: drop-shadow(0 24px 30px rgba(0,0,0,.22)) drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
.phone > img, .phone > video { position: absolute; left: 3.1915%; top: 1.2245%; width: 93.617%; height: 97.551%; object-fit: cover; border-radius: 12.5% / 5.753%; background: #000; }
.phone::after { content: ""; position: absolute; inset: 0; background: url(/iphone.svg) center / 100% 100% no-repeat; pointer-events: none; }
@media (prefers-color-scheme: dark) { .phone { filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.top nav a { color: var(--text); opacity: .8; }
.top nav a:hover { opacity: 1; text-decoration: none; }

/* Hero */
.hero { padding: 80px 0 90px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-icon { border-radius: 18px; margin-bottom: 22px; }
h1 { font-size: clamp(44px, 6vw, 64px); line-height: 1.05; margin: 0 0 10px; font-weight: 700; }
.lede { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; font-weight: 600; margin: 0 0 16px; }
.hero-copy > p:not(.lede) { color: var(--muted); font-size: 19px; margin: 0 0 24px; max-width: 30em; }
.hero-copy .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-copy .fine { font-size: 14px; }
.hero-shots { position: relative; height: 600px; }
.hero-shots .phone { position: absolute; width: 250px; }
.hero-shots .front { left: 8%; top: 40px; }
.hero-shots .back { right: 8%; top: 0; }

/* Demo player */
.player { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 18px 4px 18px 18px; font: inherit; color: var(--muted); cursor: pointer; border-left: 3px solid transparent; }
.chapters button:hover { color: var(--text); }
.chapters b { display: block; font-weight: 600; font-size: 18px; color: var(--text); margin-bottom: 2px; }
.chapters span { font-size: 15px; }
.chapters .on button { border-left-color: var(--accent); }
.chapters .on b { color: var(--accent); }

/* Mac */
#mac { padding-bottom: 0; }
.mac-shot { margin: 0 0 48px; }
/* The window as macOS draws it (rounded corners, transparent outside them); the shadow follows its shape. */
.mac-shot img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.22)) drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
@media (prefers-color-scheme: dark) { .mac-shot img { filter: drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(0 24px 40px rgba(0,0,0,.6)); } }
.mac-get { display: flex; gap: 56px; align-items: flex-start; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.mac-download { flex: 0 0 280px; }
.mac-download .fine { margin: 14px 0 0; }
.mac-get ul { flex: 1; margin: 0; padding-left: 20px; color: var(--muted); font-size: 17px; }
.mac-get li { margin: 0 0 8px; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Features */
#features { padding: 40px 0; }
.feature { display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature:nth-child(even) { grid-template-columns: 1fr 280px; }
.feature:nth-child(even) .phone { order: 2; }
.feature-copy { max-width: 32em; }
.label { color: var(--accent); font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.feature-copy > p:not(.label) { color: var(--muted); font-size: 19px; margin: 0 0 16px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--muted); }
.feature li { margin: 6px 0; }
.feature-copy b { color: var(--text); font-weight: 600; }

/* Features with several phones: copy on top, phones in a row */
.feature.wide { grid-template-columns: 1fr; gap: 40px; }
.feature.wide .feature-copy { max-width: 46em; }
.phones { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.phones > .phone, .phones > figure { width: 250px; }
.phones figcaption, .gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Themes */
#themes .label { margin-bottom: 8px; }
.theme-lead { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; margin-bottom: 72px; }
.theme-set h3, .gallery-title { margin: 0 0 20px; }
.theme-set .phones { justify-content: flex-start; gap: 20px; flex-wrap: nowrap; }
.theme-set .phones > .phone { width: auto; flex: 1; min-width: 0; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }

/* Details */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 36px; }
.details p { color: var(--muted); margin: 0; font-size: 16px; }

/* Privacy */
#privacy p { color: var(--muted); font-size: 19px; margin: 0; }

/* Get started */
.steps { list-style: none; padding: 0; margin: 32px 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps p { color: var(--muted); margin: 0; font-size: 16px; }

/* Closing call to action */
.cta { text-align: center; }
.cta img { margin: 0 auto 20px; border-radius: 15px; }
.cta p { color: var(--muted); font-size: 19px; margin: 0 0 24px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 13px; }
.foot p { margin: 0 0 6px; }

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .top nav { display: none; }
  .top-in .button { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-shots { height: 470px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-shots .phone { width: 200px; }
  .hero-shots .front { left: 0; }
  .hero-shots .back { right: 0; }
  .player { grid-template-columns: 1fr; gap: 32px; }
  .player .phone { width: min(280px, 80%); margin: 0 auto; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feature .phone, .feature:nth-child(even) .phone { order: 2; width: min(260px, 72%); margin: 0 auto; }
  .phones { gap: 20px; }
  .phones > .phone, .phones > figure { width: min(220px, 44%); }
  .theme-lead { grid-template-columns: 1fr; gap: 40px; }
  .theme-lead > .phone { width: min(260px, 72%); margin: 0 auto; }
  .theme-set .phones { flex-wrap: wrap; justify-content: center; }
  .theme-set .phones > .phone { flex: none; width: min(220px, 44%); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .details, .steps { grid-template-columns: 1fr; gap: 24px; }
  .mac-get { flex-direction: column; gap: 28px; padding-bottom: 56px; }
  .mac-download { flex: none; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .hero-shots { height: 400px; }
  .hero-shots .phone { width: 168px; }
}
