/* atlon.app: one stylesheet for the homepage, the FAQ, the feature pages and the blog.
   Tokens follow the app's Ember system: warm paper, ink and Orange. */
@font-face { font-family: "Archivo Black"; src: url(/fonts/Archivo-Black.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/fonts/Rubik-VariableFont_wght.ttf) format("truetype"); font-weight: 300 900; font-display: swap; }

:root {
  --orange: #F96120;
  --ember-ink: #C2410C;
  --so50: #FFB8A2;
  --tint: #FFEDE4;
  --glimmer: #FFE3D6;
  --ash: #F6F1EC;
  --paper: #FFFFFF;
  --ink: #060A10;
  --ink2: #4B5057;
  --ink3: #8C9096;
  --hair: rgba(6, 10, 16, .09);
  --night: #0B1016;
  --night2: #121A23;
  --night-line: #243040;
  --on-night: #F5F5F5;
  --on-night2: #A6A7A9;
  --hr: #DB2D57;
  --max: 1160px;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Rubik", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ash); color: var(--ink); font: 400 18px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 10, 16, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .logo img { height: 34px; width: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; opacity: .85; }
.nav ul a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 22px; white-space: nowrap; }
.btn.small { padding: 9px 16px; font-size: 15px; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.appstore { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 20px 10px 16px; text-decoration: none; }
.on-night .appstore, .appstore.light { background: #fff; color: var(--ink); }
.appstore svg { width: 28px; height: 28px; fill: currentColor; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: 12px; opacity: .8; }
.appstore b { font-size: 21px; font-weight: 600; letter-spacing: -.2px; }

/* ---------- type ---------- */
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--ember-ink); }
.on-night .eyebrow { color: var(--so50); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -1px; line-height: 1.02; }
h2.display { font-size: clamp(34px, 4.6vw, 56px); }
.lede { font-size: 20px; color: var(--ink2); max-width: 640px; }
.on-night .lede, .ember-dark .lede { color: var(--on-night2); }
.ember-dark .eyebrow { color: var(--so50); }
.ember-dark .textlink { color: var(--so50); }
.muted { color: var(--ink3); }
.textlink { color: var(--ember-ink); font-weight: 600; text-decoration: none; }
.textlink::after { content: " →"; }
.on-night .textlink { color: var(--so50); }

/* ---------- sections ---------- */
section { padding: 112px 0; position: relative; }
.on-night { background: var(--night); color: var(--on-night); }
.paper { background: var(--paper); }
.ember-light { background:
  radial-gradient(60% 50% at 80% 10%, rgba(249, 97, 32, .16), transparent 70%),
  radial-gradient(50% 40% at 10% 90%, rgba(255, 184, 162, .28), transparent 70%), var(--ash); }
.ember-dark { background:
  radial-gradient(55% 60% at 75% 30%, rgba(249, 97, 32, .30), transparent 70%),
  radial-gradient(40% 50% at 15% 85%, rgba(194, 65, 12, .25), transparent 70%), var(--night); color: var(--on-night); }
.head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- devices ---------- */
/* Apple Watch: the real renders with their straps (from the current site), with the screen cut out along the bezel's own
   edge. The screenshot sits underneath, a little larger than the opening, so the bezel shapes its corners.
   Series screens are at x 186–593, y 251–747 of the 800×1000 render; the Ultra's at x 196–573, y 267–726. */
.watch { --frame: url(/images/watch-black.webp); position: relative; width: 300px; aspect-ratio: 800 / 1000; flex: none; filter: drop-shadow(0 28px 36px rgba(6, 10, 16, .32)); }
.watch::after { content: ""; position: absolute; inset: 0; background: var(--frame) center / contain no-repeat; pointer-events: none; }
.watch img { position: absolute; left: 22.6%; top: 24.5%; width: 52.3%; height: 50.7%; object-fit: cover; background: #000; border-radius: 17% / 14%; }
.watch.sm { width: 210px; }
.watch.blue { --frame: url(/images/watch-blue.webp); }
.watch.grey { --frame: url(/images/watch-grey.webp); }
.watch.white { --frame: url(/images/watch-white.webp); }
.watch.peach { --frame: url(/images/watch-peach.webp); }
.watch.ultra { --frame: url(/images/watch-ultra.webp); }
.watch.ultra img { left: 23.9%; top: 26.1%; width: 48.5%; height: 47.2%; }
.on-night .watch, .ember-dark .watch { filter: drop-shadow(0 0 46px rgba(249, 97, 32, .16)) drop-shadow(0 28px 36px rgba(0, 0, 0, .5)); }

/* iPhone: titanium edge, black bezel, side buttons, Dynamic Island. Everything scales with --pw. The screen keeps
   the screenshot's own aspect ratio, so nothing is cropped at the sides. */
.iphone { --pw: 290px; position: relative; width: var(--pw); flex: none; padding: calc(var(--pw) * .034); border-radius: calc(var(--pw) * .175); background: #030405;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 0 0 calc(var(--pw) * .007) #1d2024, 0 0 0 calc(var(--pw) * .013) #9a9ea5, 0 0 0 calc(var(--pw) * .017) #555a61, 0 40px 80px rgba(6, 10, 16, .28), 0 12px 24px rgba(6, 10, 16, .16); }
.iphone::before, .iphone::after { content: ""; position: absolute; width: calc(var(--pw) * .011); border-radius: 2px; background: linear-gradient(90deg, #6d7279, #a4a8ae); }
.iphone::before { left: calc(var(--pw) * -.027); top: calc(var(--pw) * .36); height: calc(var(--pw) * .1); box-shadow: 0 calc(var(--pw) * .16) 0 #7d8188, 0 calc(var(--pw) * .32) 0 #7d8188; }
.iphone::after { right: calc(var(--pw) * -.027); top: calc(var(--pw) * .55); height: calc(var(--pw) * .21); }
.iphone > img, .iphone > .safari, .iphone > .camera { display: block; width: 100%; height: auto; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; border-radius: calc(var(--pw) * .142); }
.iphone .di { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); top: calc(var(--pw) * .057); width: calc(var(--pw) * .29); height: calc(var(--pw) * .085); border-radius: 999px; background: #000; }
.caption { font-size: 14px; color: var(--ink3); margin-top: 18px; text-align: center; max-width: 300px; }
.on-night .caption, .ember-dark .caption { color: var(--on-night2); }

/* The iOS Camera app in Photo mode, around a 3:4 viewfinder. Sized in cqw of the screen width. */
.camera { position: relative; width: 100%; overflow: hidden; background: #000; color: #fff; container-type: inline-size; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; }
.camera .sb { height: 13.7cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.6cqw 7.5cqw 0 9.5cqw; font: 600 4.3cqw/1 -apple-system, system-ui, sans-serif; }
.camera .sb svg { height: 3.2cqw; width: auto; fill: currentColor; margin-left: 1.4cqw; }
.camera .ctl { position: absolute; top: 15.5cqw; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; align-items: center; }
.camera .ctl span { width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.camera .ctl svg { width: 4.6cqw; height: 4.6cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.camera .ctl .chev { background: none; }
.camera .vf { position: absolute; top: 27cqw; left: 0; width: 100%; height: 133.3cqw; object-fit: cover; }
.camera .zoom { position: absolute; top: 147cqw; left: 50%; transform: translateX(-50%); display: flex; gap: 1.6cqw; padding: 1.2cqw; border-radius: 6cqw; background: rgba(0, 0, 0, .32); }
.camera .zoom b { width: 8cqw; height: 8cqw; border-radius: 50%; display: grid; place-items: center; font-size: 3cqw; font-weight: 600; background: rgba(0, 0, 0, .35); }
.camera .zoom b.on { width: 9.6cqw; height: 9.6cqw; margin: -.8cqw 0; font-size: 3.4cqw; color: #FFD60A; }
.camera .modes { position: absolute; top: 166cqw; left: 0; right: 0; display: flex; justify-content: center; gap: 5.5cqw; font-size: 3.5cqw; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .92); white-space: nowrap; }
.camera .modes .on { color: #FFD60A; }
.camera .shutter { position: absolute; top: 178cqw; left: 50%; width: 19cqw; height: 19cqw; margin-left: -9.5cqw; border-radius: 50%; border: 1.2cqw solid #fff; display: grid; place-items: center; }
.camera .shutter::after { content: ""; width: 15.4cqw; height: 15.4cqw; border-radius: 50%; background: #fff; }
.camera .thumb { position: absolute; top: 182cqw; left: 9cqw; width: 11cqw; height: 11cqw; border-radius: 2cqw; object-fit: cover; }
.camera .flip { position: absolute; top: 182cqw; right: 9cqw; width: 11cqw; height: 11cqw; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.camera .flip svg { width: 5.6cqw; height: 5.6cqw; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.camera .home { position: absolute; left: 50%; bottom: 1.8cqw; width: 36cqw; margin-left: -18cqw; height: 1.3cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .9); }

/* Safari around a web page, iOS 26: status bar on top, the floating address bar at the bottom. */
.safari { position: relative; width: 100%; overflow: hidden; background: #F6F1EC; container-type: inline-size; }
.safari .sb { height: 13.7cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.6cqw 7.5cqw 0 9.5cqw; font: 600 4.3cqw/1 -apple-system, "SF Pro Text", system-ui, sans-serif; color: var(--ink); }
.safari .sb svg { height: 3.2cqw; width: auto; fill: currentColor; margin-left: 1.4cqw; }
.safari > img { display: block; width: 100%; height: auto; }
.safari .bar { position: absolute; left: 3.5cqw; right: 3.5cqw; bottom: 6.5cqw; height: 12cqw; display: flex; align-items: center; gap: 2.5cqw; }
.safari .bar span { height: 12cqw; border-radius: 6cqw; background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 6px rgba(6, 10, 16, .14), inset 0 0 0 .3cqw rgba(255, 255, 255, .6); display: grid; place-items: center; color: var(--ink); font: 500 4cqw/1 -apple-system, system-ui, sans-serif; }
.safari .bar .b { width: 12cqw; flex: none; font-size: 5.5cqw; }
.safari .bar .url { flex: 1; gap: 1.5cqw; display: flex; justify-content: center; }
.safari .bar .url svg { width: 3cqw; height: 3cqw; fill: none; stroke: currentColor; stroke-width: 2.6; opacity: .6; }
.safari .home { position: absolute; left: 50%; bottom: 1.8cqw; width: 36cqw; margin-left: -18cqw; height: 1.3cqw; border-radius: 1cqw; background: rgba(6, 10, 16, .85); }

/* The landscape big screen, drawn live (index.html's script runs it). Designed at 852×393 pt: --u is one point. */
/* Landscape, island on the left: the phone is turned anticlockwise, so its left-side buttons (action, volume) are on the
   bottom edge and the side button and Camera Control on the top. Sized in cqw of the phone's length (iPhone 17 Pro: a
   ~1.2 mm bezel on 150 mm is 0.8%). */
.iphone.land { width: min(100%, 620px); padding: 0; background: none; box-shadow: none; border-radius: 0; container-type: inline-size; }
.iphone.land::before, .iphone.land::after { display: none; }
.iphone.land .lp { position: relative; width: 100%; padding: .8cqw; border-radius: 7.1cqw; background: #030405;
  box-shadow: inset 0 0 0 .12cqw rgba(255, 255, 255, .07), 0 0 0 .18cqw #1d2024, 0 0 0 .4cqw #9a9ea5, 0 0 0 .52cqw #555a61, 0 40px 80px rgba(0, 0, 0, .4); }
.iphone.land .hw { position: absolute; height: .55cqw; border-radius: .3cqw; background: linear-gradient(#7d8188, #a4a8ae); }
.iphone.land .hw.a { bottom: -1cqw; left: 18%; width: 4%; }
.iphone.land .hw.v1 { bottom: -1cqw; left: 25%; width: 7.5%; }
.iphone.land .hw.v2 { bottom: -1cqw; left: 34.5%; width: 7.5%; }
.iphone.land .hw.p { top: -1cqw; left: 29%; width: 11%; background: linear-gradient(#a4a8ae, #7d8188); }
.iphone.land .hw.cc { top: -.85cqw; left: 61%; width: 5.5%; height: .4cqw; background: linear-gradient(#5b5f66, #3a3e44); }
.bs { position: relative; width: 100%; aspect-ratio: 852 / 393; border-radius: 6.3cqw; overflow: hidden; background: #060A10; color: #fff; container-type: inline-size; font-family: var(--body); }
.bs * { --u: calc(100cqw / 852); }
.bs-smoke { position: absolute; inset: -10%; filter: blur(calc(var(--u) * 40)); }
.bs-smoke i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(194, 65, 12, .55), rgba(120, 40, 10, .25) 60%, transparent); animation: drift 22s ease-in-out infinite alternate; }
.bs-smoke i:nth-child(1) { width: 55%; height: 120%; left: 8%; top: -20%; }
.bs-smoke i:nth-child(2) { width: 45%; height: 90%; left: 52%; top: 20%; animation-duration: 28s; animation-delay: -9s; opacity: .8; }
.bs-smoke i:nth-child(3) { width: 35%; height: 70%; left: 30%; top: 45%; animation-duration: 18s; animation-delay: -4s; opacity: .6; }
@keyframes drift { from { transform: translate(-6%, -4%) scale(1); } to { transform: translate(8%, 6%) scale(1.15); } }
.bs .di { position: absolute; z-index: 3; left: calc(var(--u) * 11); top: 50%; width: calc(var(--u) * 37); height: calc(var(--u) * 126); margin-top: calc(var(--u) * -63); border-radius: 999px; background: #000; }
.bs-top { position: absolute; z-index: 2; top: calc(var(--u) * 18); left: calc(var(--u) * 64); right: calc(var(--u) * 44); height: calc(var(--u) * 44); display: flex; align-items: center; justify-content: space-between; }
.bs-btn { width: calc(var(--u) * 44); height: calc(var(--u) * 44); border-radius: 50%; background: rgba(255, 255, 255, .13); display: grid; place-items: center; }
.bs-btn svg { width: 40%; height: 40%; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bs-btns { display: flex; gap: calc(var(--u) * 12); }
.bs-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: calc(var(--u) * 17); font-weight: 700; color: var(--orange); white-space: nowrap; }
.bs-title small { font-size: calc(var(--u) * 14); font-weight: 500; color: #A6A7A9; margin-left: calc(var(--u) * 6); font-variant-numeric: tabular-nums; }
.bs-stage { position: absolute; z-index: 2; top: calc(var(--u) * 72); bottom: calc(var(--u) * 22); left: calc(var(--u) * 64); right: calc(var(--u) * 44); display: grid; grid-template-columns: 1fr calc(var(--u) * 340); grid-template-rows: 1fr auto; gap: 0 calc(var(--u) * 28); align-items: center; }
.bs-l { display: flex; flex-direction: column; align-items: center; }
.bs-lab { font-size: calc(var(--u) * 15); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #D6D7D9; display: flex; align-items: center; gap: calc(var(--u) * 8); }
.bs-lead { font-size: calc(var(--u) * 168); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: color .3s; }
.bs-lead.hot { color: var(--orange); }
.bs-r { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 18) calc(var(--u) * 24); align-content: center; }
.bs-c .l { font-size: calc(var(--u) * 12); letter-spacing: .08em; text-transform: uppercase; color: #A6A7A9; margin-bottom: calc(var(--u) * 6); }
.bs-c .l.work { color: var(--orange); }
.bs-c .v { font-size: calc(var(--u) * 44); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: calc(var(--u) * 6); }
.bs-c .v.rest { color: #FFB8A2; }
.bs-c.big .v { font-size: calc(var(--u) * 64); }
.bs-c .v small { font-size: .42em; color: #A6A7A9; font-weight: 500; }
.bs-c .heart { color: var(--hr); font-size: .6em; }
.bs-c.bump .v span:first-child { animation: bump .6s ease-out; }
@keyframes bump { 30% { transform: scale(1.25); color: var(--orange); } }
.bs-strip { grid-column: 1 / -1; width: 100%; height: auto; margin-top: calc(var(--u) * 14); display: block; }
.bs-flood { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: calc(var(--u) * 120); font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .5s; }
.bs-flood.on { opacity: 1; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--on-night2); padding: 72px 0 40px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer h4 { color: #fff; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--on-night2); text-decoration: none; }
footer a:hover { color: #fff; }
footer .fine { border-top: 1px solid var(--night-line); margin-top: 56px; padding-top: 24px; display: grid; gap: 8px; font-size: 13px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  section { padding: 80px 0; }
  .nav ul { gap: 18px; }
  .nav ul .wide { display: none; }
  .nav .btn { padding: 8px 14px; font-size: 14px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .iphone { --pw: 240px; }
  .watch { width: 250px; }
}
