/* Xyrol brand: white, near-black, hairlines, one amber accent. */
:root {
  --white: #ffffff;
  --ink: #1d1d1f;
  --band: #f5f5f7;
  --dark: #0c0c0e;
  --muted: #515154;
  --line: #d2d2d7;
  --accent: #b45309;
  --accent-soft: #fff7ed;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
h1 { font-size: clamp(44px, 6.4vw, 88px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: var(--white); padding: 12px 16px; z-index: 20; }
.skip:focus { top: 12px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 18px; }
.sub { font-size: 19px; color: var(--muted); max-width: 620px; margin-top: 20px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 560px; margin-top: 24px; }

.wordmark { font-family: "Xyrol Logo", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1; text-decoration: none; color: var(--ink); }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font: 600 16px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .2s; }
.pill:hover { background: #3a3a3d; }
.pill.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.pill.light { background: var(--white); color: var(--ink); }
.pill.light:hover { background: #e8e8ed; }
.link { font-size: 16px; font-weight: 600; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.actions.centre { justify-content: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { font-size: 14px; text-decoration: none; color: var(--muted); padding: 12px 0; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-block: 88px 104px; }
.hero-stage { position: relative; padding-bottom: 36px; }
.hero-stage .hero-phone { position: absolute; right: 0; bottom: 0; width: 24%; }
.hero-stage .laptop { width: 88%; }

/* Device frames */
.laptop .screen { aspect-ratio: 16 / 10; border: 10px solid var(--ink); border-bottom-width: 12px; border-radius: 14px 14px 4px 4px; background: var(--band); overflow: hidden; }
.laptop { padding-inline: 5%; }
.laptop-base { height: 12px; margin-inline: -5%; background: var(--line); border-radius: 0 0 14px 14px; border-top: 1px solid #b9b9bf; }
.phone { width: 230px; max-width: 100%; }
.phone .screen { aspect-ratio: 9 / 19; border: 8px solid var(--ink); border-radius: 30px; background: var(--band); overflow: hidden; position: relative; }
.phone .screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 34%; height: 14px; margin-left: -17%; border-radius: 10px; background: var(--ink); z-index: 2; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Holding label for media that arrives in a later step */
.pending-media { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, #f5f5f7 0 14px, #ececf0 14px 28px); }
.pending-media span { font-size: 13px; line-height: 1.5; color: var(--muted); background: var(--white); border: 1px solid var(--line); padding: 10px 14px; border-radius: 8px; max-width: 86%; }
.pending-media.wide { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 18px; }

/* Sections */
section { padding-block: 104px; }
.band { background: var(--band); }
.dark { background: var(--dark); color: var(--white); }
.dark .sub { color: #c7c7cc; }
.dark .eyebrow { color: #fdba74; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.small { margin-top: 88px; margin-bottom: 32px; }
.section-head.small h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }

/* Office and field, one step at a time. The arrow points the way the
   work is travelling: office to field, then field back to office. */
.connect { display: grid; grid-template-columns: 1fr 120px 230px; align-items: start; gap: 0; margin-bottom: 72px; }
.connect .laptop { padding-inline: 0; }
.connect .laptop-base { margin-inline: 0; }
.connect .laptop .screen { position: relative; }
.connect .screen video[hidden] { display: none; }
.connect-side { transition: opacity .5s var(--ease); }
.connect-side.idle { opacity: .45; }
.connect-line { position: relative; height: 14px; align-self: center; margin-bottom: 84px; }
.connect-line .track { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); overflow: hidden; }
.connect-line .track span { position: absolute; inset: 0; background: var(--accent); transform: translateX(-101%); }
.connect-line .head { position: absolute; top: 1px; width: 0; height: 0; border-block: 6px solid transparent; transition: border-color .3s; }
.connect-line.to-field .head { right: 0; border-left: 10px solid var(--line); }
.connect-line.to-office .head { left: 0; border-right: 10px solid var(--line); }
.connect-line.go.to-field .head { border-left-color: var(--accent); }
.connect-line.go.to-office .head { border-right-color: var(--accent); }
.connect-line.go.to-field .track span { animation: carry-right 1.1s var(--ease) forwards; }
.connect-line.go.to-office .track span { animation: carry-left 1.1s var(--ease) forwards; }
@keyframes carry-right { from { transform: translateX(-101%); } to { transform: translateX(0); } }
@keyframes carry-left { from { transform: translateX(101%); } to { transform: translateX(0); } }
.step { font-size: 15px; color: var(--muted); margin-top: 18px; min-height: 68px; }
.step b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.features li { background: var(--white); padding: 28px; }
.features p { color: var(--muted); font-size: 16px; margin-top: 10px; }


/* Demo */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: #e8e8ed; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 7px; border-left: 2px solid #fdba74; border-bottom: 2px solid #fdba74; transform: rotate(-45deg); }
.demo-form { display: grid; gap: 18px; background: #18181b; border: 1px solid #2c2c30; border-radius: 22px; padding: 32px; }
.demo-form label { display: grid; gap: 8px; font-size: 14px; color: #e8e8ed; }
.demo-form input, .demo-form select { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #55555b; background: #0c0c0e; color: var(--white); font: 16px inherit; font-family: inherit; }
.demo-form input:focus-visible, .demo-form select:focus-visible { outline-color: #fdba74; }
.demo-form .pill { margin-top: 8px; }
.form-note { font-size: 14px; color: #fdba74; min-height: 21px; }

/* Marketing */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 32px; }
.phones .phone.tall { width: 262px; }

/* Websites */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 500 15px inherit; font-family: inherit; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.showcase { display: grid; grid-template-columns: 1fr 290px; gap: 44px; align-items: end; }
.browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--muted); }
.browser-view { --view: 520px; height: var(--view); overflow: hidden; }
.browser-view img { width: 100%; animation: pan 24s ease-in-out infinite; }
.browser-view:hover img { animation-play-state: paused; }
/* Scroll top to bottom, rest at the bottom, fade, then start again from the top. */
@keyframes pan { 0%, 7% { transform: translateY(0); opacity: 1; } 88%, 96% { transform: translateY(calc(-100% + var(--view))); opacity: 1; } 98% { transform: translateY(calc(-100% + var(--view))); opacity: 0; } 98.01% { transform: translateY(0); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.caption { font-size: 14px; color: var(--muted); margin-top: 18px; }
.graphics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.graphics iframe { width: 100%; aspect-ratio: 617 / 582; border: 0; border-radius: 10px; display: block; background: var(--line); }

/* Close and footer */
.close { text-align: center; }
.close .sub { margin-inline: auto; }
.foot { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-row .wordmark { font-size: 20px; margin-right: auto; }

/* Scroll reveal */
.reveal.wait { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-block: 56px 72px; gap: 44px; }
  .demo-grid { grid-template-columns: 1fr; gap: 44px; }
  .features { grid-template-columns: 1fr 1fr; }
  .graphics { grid-template-columns: 1fr 1fr; }
  .connect { grid-template-columns: 1fr 48px 150px; }
  .showcase { grid-template-columns: 1fr 220px; gap: 24px; }
  section { padding-block: 72px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .top nav { display: none; }
  .top-row .pill { margin-left: auto; }
  .features { grid-template-columns: 1fr; }
  .connect { grid-template-columns: 1fr; gap: 8px; justify-items: center; }
  .connect-side { width: 100%; display: grid; justify-items: center; }
  .connect .laptop { width: 100%; }
  .step { min-height: 0; text-align: center; }
  .showcase { grid-template-columns: 1fr; justify-items: center; }
  .browser { width: 100%; }
  .browser-view { --view: 360px; }
  .phones { gap: 14px; }
  .phones .phone { width: 31%; }
  .phones .phone.tall { width: 34%; }
  .phone .screen { border-width: 5px; border-radius: 20px; }
  .pending-media span { font-size: 11px; padding: 6px 8px; }
  .demo-form { padding: 22px; }
  .sub { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.wait { opacity: 1; transform: none; }
}

.hero h1 { font-size: clamp(42px, 4.6vw, 64px); }

/* Recordings inside the device frames */
.clip { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; background: var(--band); }


.caption.centre { text-align: center; margin-top: 28px; }

/* Marketing samples dressed as social posts. Generic layouts, no platform logos. */
.social { display: flex; flex-direction: column; background: var(--white); color: var(--ink); font-size: 11px; line-height: 1.35; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 11px; flex: none; }
.feed-top { display: flex; align-items: center; gap: 8px; padding: 30px 10px 8px; }
.feed-top .who { display: grid; }
.feed-top .who b { font-weight: 600; }
.feed-top .who i { font-style: normal; color: var(--muted); font-size: 10px; }
.feed-top .dots { margin-left: auto; width: 14px; height: 3px; background: radial-gradient(circle, var(--ink) 1.5px, transparent 1.6px) 0 0 / 5px 3px repeat-x; }
.feed-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; flex: none; }
.phone .screen .feed-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.creative { position: absolute; inset: auto 0 0 0; padding: 34px 12px 12px; background: linear-gradient(transparent, rgba(12, 12, 14, .82)); color: var(--white); display: grid; gap: 2px; }
.creative strong { font-size: 19px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.creative span { font-size: 12px; }
.feed-cta { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: var(--band); font-weight: 600; border-bottom: 1px solid var(--line); }
.feed-actions { display: flex; align-items: center; gap: 12px; padding: 9px 10px 4px; }
.feed-actions .gap { margin-left: auto; }
.feed-caption { padding: 2px 10px 0; color: var(--ink); }
.feed-caption b { font-weight: 600; }
.reel { position: relative; background: var(--dark); color: var(--white); }
.reel video { position: absolute; inset: 0; }
.reel::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(transparent, rgba(12, 12, 14, .7)); pointer-events: none; }
.reel-rail { position: absolute; right: 8px; bottom: 74px; z-index: 2; display: grid; justify-items: center; gap: 15px; }
.reel-rail .avatar { width: 30px; height: 30px; background: var(--white); color: var(--ink); margin-bottom: 4px; }
.reel-rail svg { width: 23px; height: 23px; stroke: var(--white); fill: rgba(255, 255, 255, .92); stroke-width: 0; }
.reel-rail svg:nth-of-type(2), .reel-rail svg:nth-of-type(4) { fill: none; stroke-width: 2; }
.reel-text { position: absolute; left: 10px; right: 50px; bottom: 26px; z-index: 2; display: grid; gap: 3px; font-size: 11px; }
.reel-text b { font-weight: 700; font-size: 12px; }
.reel-bar { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; height: 2px; background: rgba(255, 255, 255, .3); }
/* Width follows the video's own playback position (set in main.js). */
.reel-bar i { display: block; height: 100%; width: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
@media (max-width: 620px) {
  .social { font-size: 7px; }
  .feed-top { padding: 16px 5px 4px; gap: 4px; }
  .avatar { width: 13px; height: 13px; font-size: 7px; }
  .feed-top .who i { font-size: 6px; }
  .creative { padding: 16px 6px 6px; }
  .creative strong { font-size: 10px; }
  .creative span { font-size: 7px; }
  .feed-cta { padding: 4px 5px; }
  .feed-actions { gap: 6px; padding: 5px 5px 2px; }
  .social svg { width: 10px; height: 10px; }
  .feed-caption { padding-inline: 5px; }
  .reel-rail { right: 5px; bottom: 44px; gap: 9px; }
  .reel-rail .avatar { width: 18px; height: 18px; }
  .reel-rail svg { width: 14px; height: 14px; }
  .reel-text { left: 6px; right: 28px; bottom: 16px; font-size: 7px; }
  .reel-text b { font-size: 8px; }
  .reel-bar { bottom: 6px; }
}

/* Offer ad: cutout photo over a solid colour with big type. */
.feed-media.deal { background: #0b233c; color: var(--white); }
.phone .screen .feed-media.deal img { position: absolute; left: auto; right: -2%; bottom: 0; top: auto; width: 66%; height: auto; object-fit: contain; }
.feed-media.deal::after { content: "Sample offer"; position: absolute; left: 12px; bottom: 10px; font-size: 9px; color: #b9c6d6; }
.deal-kicker, .deal-big, .deal-sub { position: absolute; left: 12px; right: 12px; margin: 0; z-index: 1; }
.deal-kicker { top: 12px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #d7f397; }
.deal-big { top: 24px; font-size: 54px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.deal-big span { font-size: 22px; letter-spacing: -.02em; margin-left: 5px; text-transform: uppercase; color: #d7f397; }
.deal-sub { top: 80px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 620px) {
  .deal-kicker, .deal-big, .deal-sub { left: 6px; right: 6px; }
  .deal-kicker { top: 6px; font-size: 5px; }
  .deal-big { top: 12px; font-size: 26px; }
  .deal-big span { font-size: 10px; margin-left: 2px; }
  .deal-sub { top: 39px; font-size: 6px; }
  .feed-media.deal::after { left: 6px; bottom: 5px; font-size: 5px; }
}

/* Demo form extras */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note.good { color: #bbf7d0; }
.form-small { font-size: 13px; color: #c7c7cc; }
.form-small a { color: inherit; }
.demo-form button[disabled] { opacity: .6; cursor: default; }
.foot a { color: inherit; }

/* Plain pages: privacy, not found */
.plain { max-width: 720px; padding-block: 72px 96px; }
.plain h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 10px; }
.plain h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 10px; }
.plain p, .plain li { font-size: 17px; color: var(--muted); }
.plain p + p { margin-top: 12px; }
.plain ul { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.plain .stamp { font-size: 14px; }

/* Websites: Pre-built / Custom panes and the phone view */
.pane[hidden] { display: none; }
.pane-lead { max-width: 720px; font-size: 19px; color: var(--muted); margin-bottom: 28px; }
.pane-lead b { color: var(--ink); }
.handset { width: 100%; padding: 9px; border-radius: 46px; background: #1d1d1f; box-shadow: inset 0 0 0 1.5px #48484a, 0 30px 60px -28px rgb(0 0 0 / .45); }
.handset-screen { aspect-ratio: 9 / 19.3; border-radius: 37px; overflow: hidden; background: #eef2f6; display: flex; flex-direction: column; }
.handset-status { flex: none; height: 40px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: #0f2540; }
.handset-status > i { width: 30%; height: 20px; border-radius: 12px; background: #1d1d1f; }
.handset-signal { display: flex; align-items: flex-end; gap: 2px; }
.handset-signal b { width: 3px; border-radius: 1px; background: currentColor; }
.handset-signal b:nth-child(1) { height: 5px; } .handset-signal b:nth-child(2) { height: 7px; } .handset-signal b:nth-child(3) { height: 9px; }
.handset-signal em { width: 18px; height: 9px; margin-left: 4px; border-radius: 3px; background: currentColor; }
.handset-view { --view: 520px; flex: 1; min-height: 0; overflow: hidden; }
.handset-view video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-film { aspect-ratio: 16 / 10; background: #0b0c0e; }
.browser-film.light { background: #eef2f6; }
.browser-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.caption .go { color: var(--ink); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 940px) {
  .handset { padding: 7px; border-radius: 36px; }
  .handset-screen { border-radius: 29px; }
  .handset-status { height: 32px; padding: 0 16px; font-size: 10px; }
  .handset-status > i { height: 16px; }
}
@media (max-width: 620px) {
  .handset { width: min(290px, 78%); padding: 9px; border-radius: 46px; }
  .handset-screen { border-radius: 37px; }
  .handset-status { height: 40px; padding: 0 22px; font-size: 12px; }
  .handset-status > i { height: 20px; }
  .caption .go { white-space: normal; }
}

.swipe-note { display: none; }

/* Phone layout: one device at a time, and swipeable rows instead of tiny grids. */
@media (max-width: 620px) {
  /* Office and field share one spot; the arrow row above shows which way the work is going. */
  .connect { grid-template-columns: 1fr; grid-template-areas: "line" "stage"; gap: 22px; justify-items: stretch; margin-bottom: 56px; }
  .connect-line { grid-area: line; margin: 0 62px; }
  .connect-line::before, .connect-line::after { position: absolute; top: -5px; font-size: 14px; font-weight: 600; color: var(--ink); }
  .connect-line::before { content: "Office"; right: calc(100% + 12px); }
  .connect-line::after { content: "Field"; left: calc(100% + 12px); }
  .connect-side { grid-area: stage; align-self: start; transition: opacity .45s var(--ease), visibility .45s; }
  .connect-side.idle { opacity: 0; visibility: hidden; }
  .connect-side[data-side=field] .phone { width: 58%; }
  .connect .phone .screen { border-width: 7px; border-radius: 28px; }
  .step { min-height: 76px; }

  /* Marketing samples and motion graphics: swipe sideways, one in focus. */
  .phones, .graphics { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gutter, 16px) * -1); }
  .phones::-webkit-scrollbar, .graphics::-webkit-scrollbar { display: none; }
  .phones { gap: 18px; align-items: center; padding: 6px 17%; }
  .phones .phone, .phones .phone.tall { flex: none; width: 100%; scroll-snap-align: center; }
  .phones .phone .screen { border-width: 8px; border-radius: 30px; }
  .graphics { gap: 12px; padding-inline: 14%; }
  .graphics iframe { flex: none; width: 100%; scroll-snap-align: center; }
  .swipe-note { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
}

/* The custom sample is dark edge to edge, so its phone has a dark status bar. */
.handset.dark .handset-screen { background: #0b0c0e; }
.handset.dark .handset-status { color: #f4f1ea; }
.handset.dark .handset-status > i { background: #000; box-shadow: 0 0 0 1px #2c2c2e; }
