/* MyDroid website. Light only, by design.
   Rules: one accent (blue), one cool grey family, green only for "ok" states.
   Shapes: 6px for code, inputs and icon tiles; 16px for cards and panels; pills for buttons and chips. */

/* Self-hosted, Latin subset, variable weight 400-900. Licence: fonts/OFL.txt. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fafbfd;
  --white: #ffffff;
  --ink: #1b1f2a;
  --slate: #5a6272;
  --mist: #eef1f6;
  --rule: #dce1eb;
  --blue: #2f5bea;
  --blue-deep: #2448c4;
  --sky: #e8eeff;
  --sky-soft: #f3f6ff;
  --green: #17915a;
  --red: #c4314b;
  --night: #121726;
  --night-2: #1c2335;
  --night-rule: #2c3550;
  --night-text: #a9b2c7;

  /* The site loads nothing from outside: the one web font is served from fonts/. */
  --sans: "Schibsted Grotesk", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --r-s: 6px;
  --r: 16px;
  --gut: 24px;
  --lift: 0 24px 48px -28px rgba(27, 31, 42, .35);
  --float: 0 30px 80px rgba(14, 30, 100, .25);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
a { color: var(--blue-deep); }
code { font-family: var(--mono); font-size: 0.88em; background: var(--sky); color: var(--blue-deep); padding: 0.1em 0.35em; border-radius: var(--r-s); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--blue) 22%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: var(--r-s); }
.ic { display: block; width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Logo: the dashboard's droid, with the dashboard's blink. */
.mark { width: 28px; height: 28px; fill: var(--blue); flex: none; }
.droid-eyes { transform-box: fill-box; transform-origin: center; animation: droid-blink 7s ease-in-out infinite; }
@keyframes droid-blink {
  0%, 44%, 48.5%, 93%, 95.5%, 97%, 99.5%, 100% { transform: scaleY(1); }
  46%, 94.2%, 98.2% { transform: scaleY(0.1); }
}

/* Buttons: pills, press lands on press-in. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .15s, box-shadow .15s, transform .1s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { color: var(--ink); background: var(--white); box-shadow: 0 0 0 1px var(--rule) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--slate) inset; }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-white:hover { background: var(--sky); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.nav nav a:hover { color: var(--ink); }
.menu-btn { display: none; }
/* Hamburger lines fold into an X while the menu is open. */
.menu-btn path { transform-origin: 12px 12px; transition: transform .2s, opacity .15s; }
.nav.open .menu-btn path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .menu-btn path:nth-child(2) { opacity: 0; }
.nav.open .menu-btn path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-btn path { transition: none; } }

/* Hero: the headline on its own row, a ruled row of lede and offer, then the product straight on, sitting on the blue band below. */
.hero { position: relative; z-index: 1; padding: 80px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: var(--slate); text-decoration: none; }
.pill:hover { color: var(--ink); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero h1 { max-width: 13em; text-wrap: wrap; font-size: clamp(2.75rem, 6.4vw, 5.5rem); font-weight: 650; letter-spacing: -0.035em; line-height: 0.98; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--blue); white-space: nowrap; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 80px; align-items: end; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.hero-row .lede { max-width: 30em; }
.hero-act { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-note { font-size: 0.8125rem; color: var(--slate); }
.lede { font-size: 1.1875rem; color: var(--slate); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-act .ctas { margin-top: 0; gap: 8px; }
.btn-text { color: var(--ink); padding: 0 16px; }
.btn-text:hover { color: var(--blue-deep); }

.shot { position: relative; margin: 64px 0 0; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -40px rgba(18, 23, 38, .45); }
/* clip-path hides the 1px dark border the screen capture has along its top and bottom. */
.shot img { display: block; width: 100%; height: auto; clip-path: inset(1px 0); }
/* Dots, then the address bar centred on the window, with an empty column balancing the dots. */
.win-bar { display: grid; grid-template-columns: 1fr minmax(0, 440px) 1fr; align-items: center; gap: 16px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.w-dots { display: flex; gap: 8px; }
.w-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--rule); }
.w-url { display: flex; align-items: center; justify-content: center; gap: 7px; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: 0.8125rem; white-space: nowrap; overflow: hidden; }
.w-url b { font-weight: 500; color: var(--ink); }
.w-url svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* Hosts: solid blue band; it starts under the screenshot's lower half. */
.hosts { --tuck: clamp(80px, 14vw, 220px); margin-top: calc(-1 * var(--tuck)); padding: calc(var(--tuck) + 36px) 0 36px; background: var(--blue); color: #fff; }
.hosts-in { display: flex; align-items: baseline; gap: 32px; }
.hosts-t { font-weight: 700; white-space: nowrap; }
.hosts ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; color: rgba(255, 255, 255, .82); font-weight: 500; }

/* Sections */
.sec { padding: 112px 0; }
.sec-tight { padding: 80px 0; }
.sec-sky { background: var(--sky-soft); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head p { margin-top: 16px; color: var(--slate); font-size: 1.125rem; }

/* Install: a three-step timeline, each step with one small snippet of what happens. */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; position: relative; }
.tl::before { content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: var(--rule); }
.tl li { display: flex; flex-direction: column; gap: 14px; position: relative; }
.tl li::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--paper); margin-bottom: 10px; }
.tl h3 { font-size: 1.5rem; }
.tl p { color: var(--slate); }
.tl-card { margin: 10px 0 0; background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--rule); padding: 18px; display: grid; gap: 10px; font-size: 0.875rem; }
.tl-search { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--blue) inset; }
.tl-search .ic { width: 14px; height: 14px; color: var(--slate); stroke-width: 2.2; }
.tl-caret { width: 1px; height: 16px; background: var(--blue); margin-left: -8px; }
.tl-app { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--mist) inset; }
.tl-app small { display: block; color: var(--slate); font-size: 0.75rem; }
.tl-pill { margin-left: auto; background: var(--blue); color: #fff; font-weight: 700; font-size: 0.75rem; padding: 6px 12px; border-radius: 999px; }
.tl-dl { gap: 0; }
.tl-dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 4px; }
.tl-dl div + div { border-top: 1px solid var(--rule); }
.tl-dl dt { color: var(--slate); }
.tl-dl dd { margin: 0; font: 0.8125rem var(--mono); }
.tl-dl em { font-style: normal; color: var(--blue); }
.tl-pw { letter-spacing: .15em; }
.tl-tag { margin-right: 8px; font: 600 0.6875rem var(--sans); color: var(--blue-deep); background: var(--sky); padding: 2px 7px; border-radius: 999px; }
.tl-term { margin-top: 10px; background: var(--night); color: #d4d8e2; border-radius: var(--r); padding: 18px 20px; display: grid; gap: 10px; font: 0.8125rem var(--mono); }
.tl-term div { display: flex; gap: 10px; }
.tl-term i { font-style: normal; color: #4ade80; }
.tl-term span { margin-left: auto; color: var(--night-text); }
.tl-term strong { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--night-rule); font: 700 0.875rem var(--sans); color: #9fb4ff; }
.tl-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.tl-links a { font-weight: 700; text-decoration: none; }
.tl-links a + a { color: var(--slate); font-weight: 500; }
.tl-links a:hover { color: var(--blue-deep); }

/* Mechanism: the one dark band, built around the crontab field diagram. */
.sec-ink { background: var(--night); color: #fff; }
.minute { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.minute-copy p { margin-top: 18px; color: var(--night-text); font-size: 1.125rem; max-width: 32em; }
.minute-copy p + p { color: #fff; }
.crontab { background: var(--night-2); border-radius: var(--r); box-shadow: 0 0 0 1px var(--night-rule); padding: 32px; }
/* One font size for the whole diagram, or the bars stop lining up under the stars. */
.crontab pre { margin: 0; font: 400 clamp(0.8125rem, 1.5vw, 1.25rem)/1.55 var(--mono); color: var(--night-text); overflow-x: auto; }
.c-line { color: #fff; font-weight: 600; }
.c-line b { color: #8fa8ff; font-weight: 600; }
.ticks { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--night-rule); display: grid; }
.ticks li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; color: #dfe4f0; }
.ticks time { font: 500 0.9375rem var(--mono); color: #8fa8ff; }
/* A rail through the minutes: one job, picked up again each time cron wakes it. */
.ticks span { position: relative; padding: 0 0 16px 26px; }
.ticks li:last-child span { padding-bottom: 0; }
.ticks span::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--night-2); box-shadow: 0 0 0 2px #8fa8ff inset; }
.ticks span::after { content: ""; position: absolute; left: 4px; top: calc(0.45em + 14px); bottom: 2px; width: 2px; border-radius: 1px; background: var(--night-rule); }
.ticks li:last-child span::after { display: none; }
.ticks li:last-child span::before { background: var(--green); box-shadow: none; }
.eg { margin-top: 18px; font-size: 0.8125rem; color: #7d87a0; }

/* Features: one lead example, then a ruled list. */
/* Features: the diff as a blue lead panel, then six cards each topped with a small product view. */
.ft-lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: 56px; align-items: center; background: var(--blue); color: #fff; border-radius: 20px; padding: 56px; }
.ft-lead .spec-n { color: #dfe6ff; }
.ft-lead h3 { margin-top: 16px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.ft-lead-copy p { margin-top: 16px; color: #dfe6ff; font-size: 1.0625rem; }
.ft-lead code { background: rgba(255, 255, 255, .16); color: #fff; }
.ft-diff { background: var(--night); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; box-shadow: var(--float); font: 0.8125rem var(--mono); }
.ft-diff-h { display: flex; justify-content: space-between; gap: 12px; }
.ft-diff-h b { font-weight: 400; color: #4ade80; }
.ft-diff-h i { font-style: normal; color: #f87171; }
.ft-diff-b { background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 10px; overflow: hidden; line-height: 2.1; color: var(--night-text); }
.ft-diff-b div { display: grid; grid-template-columns: 40px 18px 1fr; white-space: pre; }
.ft-diff-b div span:first-child { text-align: right; padding-right: 10px; color: #6b7182; }
.ft-diff-b .del { background: rgba(248, 113, 113, .12); box-shadow: inset 3px 0 0 #f87171; color: #fca5a5; }
.ft-diff-b .add { background: rgba(74, 222, 128, .12); box-shadow: inset 3px 0 0 #4ade80; color: #86efac; }
.ft-diff-b .del span:first-child, .ft-diff-b .add span:first-child { color: inherit; }
.ft-cp { display: flex; align-items: center; gap: 10px; font: 0.8125rem var(--sans); color: var(--night-text); }
.ft-cp .live { background: #4ade80; }
.ft-cp span:last-child { margin-left: auto; font: 0.75rem var(--mono); color: #9fb4ff; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.ft-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ft-cards li { background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--rule); overflow: hidden; padding-bottom: 28px; }
.ft-cards h3 { display: flex; align-items: baseline; gap: 10px; margin: 24px 26px 0; }
.ft-cards p { margin: 8px 26px 0; color: var(--slate); font-size: 0.9375rem; }
.ft-view { height: 190px; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 0.8125rem; }
.ft-rows { background: var(--white); border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); overflow: hidden; }
.ft-rows div { display: flex; align-items: center; gap: 10px; padding: 7px 14px; }
.ft-rows div + div { border-top: 1px solid var(--mist); }
.ft-rows code, .ft-rows small { margin-left: auto; font-family: var(--mono); font-size: 0.75rem; }
.ft-rows code { background: none; padding: 0; }
.ft-rows small { color: var(--slate); }
.ft-rows .ft-add { border-top: 1px dashed #c9d3f5; color: var(--blue-deep); font-weight: 600; }
.ft-mem { background: var(--white); border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); padding: 14px 16px; display: grid; font: 0.75rem/1.9 var(--mono); }
.ft-mem b { font-weight: 500; color: var(--blue-deep); }
.ft-mem span::before { content: "- "; }
.ft-term { background: var(--night); border-radius: 10px; padding: 14px 16px; display: grid; gap: 7px; font: 0.75rem var(--mono); color: #d4d8e2; }
.ft-term div { display: flex; gap: 8px; }
.ft-term i { font-style: normal; color: #4ade80; }
.ft-term div:last-child i { color: #9fb4ff; }
.ft-term span { margin-left: auto; color: var(--night-text); }
.ft-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ft-tiles div { background: var(--white); border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); padding: 12px; display: grid; gap: 4px; }
.ft-tiles small { font-size: 0.6875rem; color: var(--slate); }
.ft-cmd { align-self: flex-start; font-size: 0.75rem; }
.ft-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.ft-board div { background: var(--sky); border-radius: 10px; padding: 8px; display: grid; gap: 6px; }
.ft-board b { font-size: 0.625rem; color: var(--blue-deep); letter-spacing: .06em; text-transform: uppercase; padding: 2px 4px; }
.ft-board span { background: var(--white); border-radius: 7px; padding: 8px; font-size: 0.6875rem; font-weight: 600; line-height: 1.35; }
.ft-board em { display: block; font-style: normal; color: var(--blue); }
.ft-board s { color: var(--slate); }

/* Channels: a list beside one example conversation. */
.chan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 96px; align-items: center; }
.chan-grid .sec-head { margin-bottom: 40px; }
.chan { display: flex; flex-direction: column; gap: 4px; }
/* Rows are buttons: the pressed one lifts onto white, the rest stay quiet. */
.chan button { display: grid; grid-template-columns: 36px 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px; border: 0; border-radius: var(--r); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.chan button:not([data-shot]) { cursor: default; }
.chan button[data-shot]:hover { background: var(--white); }
.chan [aria-pressed="true"] { background: var(--white); box-shadow: 0 0 0 1px var(--rule), var(--lift); }
.chan .ic { width: 36px; height: 36px; padding: 8px; border-radius: var(--r-s); background: var(--mist); color: var(--ink); }
.chan .lg-ch { fill: currentColor; stroke: none; padding: 9px; }
.chan strong { font-size: 1.0625rem; color: var(--slate); }
.chan span { color: var(--slate); font-size: 0.9375rem; line-height: 1.5; }
.chan [aria-pressed="true"] strong { color: var(--ink); }
.phone-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { width: 100%; padding: 11px; border-radius: 50px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(18, 23, 38, .45); }
.phone img { display: block; width: 100%; height: auto; border-radius: 39px; background: var(--white); }
.phone-fig figcaption { font-size: 0.8125rem; color: var(--slate); }

/* Models */
.m-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 96px; align-items: end; margin-bottom: 56px; }
.m-head p { max-width: 30em; color: var(--slate); font-size: 1.125rem; }
.m-grids { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr); gap: 40px 48px; }
.m-h { display: flex; justify-content: space-between; gap: 16px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.m-h span { font-weight: 400; color: var(--slate); }
/* Hairline grid: cells draw the right and bottom lines, the list draws the top and left. */
.m-grid { display: grid; list-style: none; margin: 0; padding: 0; background: var(--white); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.m-cloud { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.m-local { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-grid li { display: flex; flex-direction: column; gap: 14px; padding: 24px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.m-grid .lg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.m-cpp { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-s); background: var(--ink); color: #fff; font: 500 0.6875rem/1 var(--mono); }
/* Dashed: "add your own", not one more brand. */
.m-grid .m-any { background: var(--sky-soft); color: var(--blue); }
.m-plus { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px dashed var(--blue); border-radius: var(--r-s); font-size: 1.125rem; font-weight: 500; }
.m-plans { margin-top: 28px; color: var(--slate); }
.m-plans strong { color: var(--ink); font-weight: 600; }

/* Safety: heading over the screenshot on the left, intro and points on the right. */
.safe { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto 1fr; grid-template-areas: "head copy" "shot copy"; gap: 32px 64px; align-items: start; }
.safe-h { grid-area: head; }
.shot.safe-shot { grid-area: shot; margin: 0; }
.safe-copy { grid-area: copy; }
.safe h2 em { font-style: normal; color: var(--blue); }
.safe-lede { color: var(--slate); font-size: 1.125rem; }
.safe .fl { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
.safe .fl li { padding: 18px 0 20px; }

/* Requirements: a spec sheet across a blue band. The heading row is shared with Safety. */
.sec-req { padding-bottom: 0; }
.req-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; margin-bottom: 56px; }
.req-head em { font-style: normal; color: var(--blue); }
.req-head p { color: var(--slate); font-size: 1.125rem; max-width: 30em; }
/* The blue starts partway down the card, so the card sits across the edge. */
.req-band { padding-bottom: 96px; background: linear-gradient(to bottom, transparent 144px, var(--blue) 144px); }
/* 1px gaps over a rule-coloured ground draw the dividers at every breakpoint. */
.req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 1px; background: var(--mist); border-radius: var(--r); overflow: hidden; box-shadow: var(--float); }
.spec { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; background: var(--white); }
.spec-n { font: 500 0.75rem var(--mono); color: var(--blue); text-transform: uppercase; }
.spec h3 { font: 500 1.5rem/1.2 var(--mono); letter-spacing: -0.02em; }
.spec p { color: var(--slate); font-size: 0.9375rem; line-height: 1.55; }
.spec .spec-w { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--rule); color: var(--blue); font-size: 0.875rem; font-weight: 600; }
.spec-w span { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.spec-no { background: var(--night); }
.spec-no .spec-n, .spec-no .spec-w { color: #9fb4ff; }
.spec-no h3 { color: var(--night-text); }
.spec-no del { text-decoration-color: #6f8cff; }
.spec-no p { color: #d4d8e2; }
.spec-no .spec-w { border-top-color: var(--night-rule); }
.spec-no .spec-w span { color: var(--night-text); }

/* Pricing */
.price { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--rule); background: var(--white); }
.price-l { padding: 56px; }
.price-l > p { margin-top: 14px; color: var(--slate); font-size: 1.125rem; max-width: 28em; }
.incl { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.incl li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.incl svg { width: 20px; height: 20px; margin-top: 0.15em; color: var(--green); flex: none; }
.fl .incl { margin-top: 14px; gap: 8px; }
.fl .incl li { padding: 0; border: 0; font-weight: 400; font-size: 0.9375rem; color: var(--slate); }
.price-r { padding: 56px 48px; background: var(--blue); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.amount { font-size: clamp(5rem, 10vw, 7.5rem); font-weight: 650; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
/* The 1 has a wide left bearing; pull the $ in so they read as one figure. */
.cur { font-size: 0.4em; vertical-align: 0.95em; margin-right: -0.06em; letter-spacing: 0; font-weight: 700; }
.per { margin: 10px 0 30px; font-size: 1.125rem; color: rgba(255, 255, 255, .85); }
.price-r .note { margin-top: 16px; font-size: 0.875rem; color: rgba(255, 255, 255, .8); }

/* Inner pages (features, pricing): the home hero without the screenshot, and numbered groups. */
.page-hero { padding-bottom: 32px; }
.nav nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.req-head .spec-n { display: block; margin-bottom: 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--rule) inset; color: var(--ink); font-weight: 500; font-size: 0.9375rem; text-decoration: none; }
.jump a:hover { box-shadow: 0 0 0 1px var(--blue) inset; }
.jump span { font: 500 0.75rem var(--mono); color: var(--blue); }
/* Feature list: the spec sheet's dashed rules, three to a row. */
.fl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.fl li { padding: 24px 0 28px; border-top: 1px dashed var(--rule); }
.fl p { margin-top: 8px; color: var(--slate); font-size: 0.9375rem; }
.fl-after { margin-top: 56px; }
.fl address { margin-top: 8px; font-style: normal; color: var(--slate); font-size: 0.9375rem; }
.spec-w a { color: inherit; text-underline-offset: 3px; }
/* Screenshots: a wide capture sits in the browser frame above the list; a phone capture sits beside it. */
.shot.f-shot { margin: 0 0 56px; }
/* A cropped capture: never wider than the file, so it is not scaled up. */
.shot.f-shot-fit { max-width: 943px; margin-left: auto; margin-right: auto; }
.f-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.f-split .fl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
kbd { font: 500 0.82em var(--mono); padding: 0.1em 0.4em; border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--rule) inset; background: var(--white); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.faq-head { align-self: start; position: sticky; top: 104px; }
.faq-head p { margin-top: 16px; color: var(--slate); font-size: 1.125rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-deep); }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-3px) rotate(45deg); transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { color: var(--slate); padding: 0 40px 24px 0; }

/* Closing */
.close { padding: 0 0 112px; }
.close-in { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; padding: 64px; border-radius: var(--r); background: var(--blue); color: #fff; }
.close-in > * { position: relative; }
.close-in p { margin-top: 14px; color: rgba(255, 255, 255, .82); font-size: 1.125rem; }
/* The droid mark, oversized and faint, so the band reads as MyDroid's own. */
.close-in > .close-mark { position: absolute; right: -40px; bottom: -70px; width: 300px; height: 300px; color: rgba(255, 255, 255, .07); fill: currentColor; }
.close-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-line { color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55) inset; }
.btn-line:hover { box-shadow: 0 0 0 1px #fff inset; background: rgba(255, 255, 255, .08); }
.close h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 650; letter-spacing: -0.035em; max-width: 13em; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 48px 0 32px; font-size: 0.9375rem; color: var(--slate); }
.foot p { margin: 0; }
.foot a { color: var(--slate); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 4fr); gap: 40px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-brand .brand { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols h2 { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.foot-bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot .foot-tm { margin-top: 16px; font-size: 0.8125rem; }
@media (max-width: 1000px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}

/* Tablet */
@media (max-width: 1000px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .hero-act { align-items: flex-start; }
  .minute, .ft-lead, .chan-grid, .m-head, .m-grids, .req-head, .safe, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .safe { grid-template-areas: "head" "copy" "shot"; gap: 24px; }
  .req-head { gap: 16px; }
  .req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ft-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl::before { display: none; }
  .fl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .f-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .price { grid-template-columns: minmax(0, 1fr); }
  .phone-fig { max-width: 300px; justify-self: center; }
  .faq-head { position: static; }
}

/* Phone */
/* Menu: six nav links stop fitting beside the logo and Buy below about 900px. */
@media (max-width: 900px) {
  .nav-in { gap: 12px; }
  .nav .btn-sm { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
  .nav nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gut) 12px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--lift); }
  .nav.open nav { display: flex; }
  .nav nav a { padding: 14px 0; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .nav nav a:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  .hero { padding-top: 40px; }
  .hero h1 { text-wrap: balance; }
  .lede { font-size: 1.0625rem; }
  .ctas .btn { width: 100%; }
  .hero-act { align-items: stretch; }
  .ctas .btn-primary { order: -1; }
  .shot { margin-top: 40px; border-radius: 10px; }
  .win-bar { height: 30px; padding: 0 10px; gap: 8px; grid-template-columns: auto minmax(0, 1fr) 30px; }
  .w-dots { gap: 5px; }
  .w-dots span { width: 7px; height: 7px; }
  .w-url { height: 20px; padding: 0 10px; gap: 5px; font-size: 0.6875rem; }
  .w-url svg { width: 9px; height: 9px; }
  .hosts { --tuck: 72px; }
  .hosts-in { flex-direction: column; gap: 10px; }
  .m-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-grid li { padding: 18px 16px; }
  .hosts ul { gap: 6px 18px; }
  .sec { padding: 72px 0; }
  .sec-tight { padding: 56px 0; }
  .req-head { margin-bottom: 36px; }
  .req-band { padding-bottom: 64px; }
  .req { grid-template-columns: minmax(0, 1fr); }
  .spec { padding: 28px 24px; }
  .fl, .f-split .fl { grid-template-columns: minmax(0, 1fr); }
  .shot.f-shot { margin: 0 0 36px; }
  .fl-after { margin-top: 36px; }
  .jump { margin-top: 36px; }
  .sec-head { margin-bottom: 36px; }
  .crontab { padding: 20px; }
  .crontab pre { font-size: 0.6875rem; }
  .ticks li { grid-template-columns: 52px 1fr; gap: 10px; font-size: 0.9375rem; }
  .ft-lead { padding: 28px 22px; }
  .ft-cards { grid-template-columns: minmax(0, 1fr); }
  .ft-diff { padding: 16px; }
  .chan button { grid-template-columns: 36px 1fr; row-gap: 2px; padding: 14px; }
  .chan button span { grid-column: 2; }
  .chan button .ic { grid-row: span 2; align-self: start; }
  .price-l, .price-r { padding: 36px 24px; }
  .faq details p { padding-right: 0; }
  .close { padding-bottom: 72px; }
  .close-in { padding: 40px 24px; }
  .close-in .btn { width: 100%; }
  .tl-links { margin-top: 48px; }
  .close-ctas { width: 100%; }
  .close-in > .close-mark { display: none; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .droid-eyes { animation: none; }
  .btn:active { transform: none; }
}
