/* kloudreturns.com. System type with size-specific tracking, translucent chrome, quiet hairlines,
   motion only where it explains something. No third-party requests. */
:root {
  --ink: #0b1220;
  --ink-2: #364152;
  --ink-3: #5f6b7a;
  --primary: var(--ink);
  --line: rgba(15, 23, 42, .09);
  --bg: #fbfcfd;
  --tint: #f2f5f8;
  --surface: #ffffff;
  --blue: #0369a1;
  --blue-ink: #075985;
  --sky-wash: #e7f4fc;
  --ok: #15803d;
  --radius: 14px;
  --max: 1120px;
  --prose: 68ch;
  --ease: cubic-bezier(.2, .8, .2, 1); /* settles without overshoot */
  font: 100%/1.55 system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1.0625rem; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header: translucent material, content scrolls underneath */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 253, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.125rem; letter-spacing: -.012em; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.wm span { color: var(--blue); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; transition: color .15s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Buttons: feedback on press, not on release */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; touch-action: manipulation; transition: background-color .2s var(--ease), color .2s var(--ease), transform .1s ease-out; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1e293b; color: #fff; }
.btn-secondary { background: var(--tint); color: var(--ink); }
.btn-secondary:hover { background: #e6ebf1; color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.link-arrow::after { content: "→"; margin-left: 6px; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Type scale: tighter tracking and leading as size grows */
.display { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.032em; font-weight: 700; }
.title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.024em; font-weight: 700; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .01em; color: var(--blue); margin: 0 0 14px; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -.005em; max-width: 36em; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero .lede { margin: 22px 0 32px; }
.actions { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; }
.channels { margin: 36px 0 0; font-size: .9375rem; color: var(--ink-3); }
.channels b { color: var(--ink-2); font-weight: 600; }

/* Product illustration: the receiving screen holds a return open until the evidence is complete */
.device { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -16px rgba(15, 23, 42, .18); max-width: 460px; justify-self: end; width: 100%; }
.device-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.device-top h2 { font-size: 1.25rem; letter-spacing: -.015em; }
.chip { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff4e0; color: #8a4b00; white-space: nowrap; }
.device-meta { margin: 4px 0 18px; font-size: .875rem; color: var(--ink-3); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shot { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(145deg, #dbe7f1, #c4d6e6); position: relative; overflow: hidden; }
.shot svg { position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; color: #5b7a96; }
.shot.done::after, .checks li.ok::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.6-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.shot.done::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; }
.shot.todo { background: var(--bg); border: 1.5px dashed #b6c3d1; }
.shot.todo svg { color: #94a3b8; }
.shots-cap { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-3); margin: 8px 0 18px; }
.checks { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #b6c3d1; }
.checks li.ok::before { border: 0; }
.checks li span { margin-left: auto; font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.device-close { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.device-close .btn { min-height: 40px; padding: 0 18px; font-size: .9375rem; background: var(--tint); color: #8a96a5; cursor: not-allowed; }
.device-close .btn:active { transform: none; }
.device-close small { color: #a14a06; font-size: .8125rem; font-weight: 500; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lede { margin-top: 16px; }

/* Why: editorial rows with hairlines, not a grid of identical cards */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why .section-head { position: sticky; top: 104px; margin: 0; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 4px 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows .num { grid-row: span 2; font-size: .875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.rows h3 { font-size: 1.1875rem; letter-spacing: -.012em; font-weight: 650; }
.rows p { margin: 4px 0 0; color: var(--ink-2); }

/* How it works: one return moves through four steps (12s loop) */
.flow { --cycle: 12s; }
.flow-track { position: relative; height: 56px; margin-bottom: 12px; overflow: clip; }
.flow-track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, #c3cdd9 0 6px, transparent 6px 12px); }
.flow-runner { position: absolute; inset: 0; animation: flow-run var(--cycle) infinite; will-change: transform; }
.flow-pkg { position: absolute; left: 12.5%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 16px -6px rgba(3, 105, 161, .45); display: grid; place-items: center; }
.flow-pkg > svg { width: 24px; height: 24px; }
.flow-ok { position: absolute; right: -4px; top: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; opacity: 0; animation: flow-ok var(--cycle) infinite; }
.flow-ok svg { width: 11px; height: 11px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.flow-steps li { background: rgba(255, 255, 255, .55); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 0 0 1px var(--line); animation: flow-card var(--cycle) infinite; animation-delay: calc(var(--i) * var(--cycle) / 4); }
.flow-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-wash); color: var(--blue); display: grid; place-items: center; margin-bottom: 4px; }
.flow-icon svg { width: 20px; height: 20px; }
.flow-steps strong { font-size: 1.0625rem; letter-spacing: -.01em; }
.flow-text { color: var(--ink-2); font-size: .96875rem; }
.flow-note { margin-top: auto; font-size: .8125rem; line-height: 1.4; color: var(--blue-ink); background: var(--sky-wash); border-radius: 8px; padding: 8px 10px; font-variant-numeric: tabular-nums; opacity: .45; animation: flow-note var(--cycle) infinite; animation-delay: inherit; }

/* eased hops between the four stops; each hop settles before the next */
@keyframes flow-run {
  0%       { transform: translateX(0);   opacity: 0; animation-timing-function: var(--ease); }
  3%, 21%  { transform: translateX(0);   opacity: 1; animation-timing-function: var(--ease); }
  27%, 46% { transform: translateX(25%); animation-timing-function: var(--ease); }
  52%, 71% { transform: translateX(50%); animation-timing-function: var(--ease); }
  77%, 94% { transform: translateX(75%); opacity: 1; }
  100%     { transform: translateX(75%); opacity: 0; }
}
@keyframes flow-ok { 0%, 64% { opacity: 0; transform: scale(.5); } 67%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes flow-card {
  0%, 23%   { background: #fff; box-shadow: 0 0 0 1px rgba(3, 105, 161, .25), 0 14px 32px -14px rgba(15, 23, 42, .22); transform: translateY(-3px); }
  28%, 100% { background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px var(--line); transform: none; }
}
@keyframes flow-note { 0%, 23% { opacity: 1; } 28%, 100% { opacity: .45; } }

/* Plans: two columns split by a hairline */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.plan { padding: 32px 40px 8px 0; }
.plan + .plan { padding-left: 40px; border-left: 1px solid var(--line); }
.plan h3 { font-size: 1.375rem; letter-spacing: -.018em; }
.plan > p { color: var(--ink-2); margin: 8px 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Closing call to action */
.closing { text-align: center; }
.closing .lede { margin: 16px auto 28px; }
.closing .btn { margin: 0 auto; }

/* Text pages */
.page-head { padding: clamp(48px, 7vw, 88px) 0 8px; }
.page-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.page-head p { margin: 12px 0 0; color: var(--ink-3); }
.prose { max-width: var(--prose); padding: 24px 0 96px; color: var(--ink-2); line-height: 1.65; }
.prose strong { color: var(--ink); }
.prose h2 { font-size: 1.375rem; letter-spacing: -.016em; line-height: 1.25; margin: 48px 0 10px; }
.prose h3 { font-size: 1.0625rem; letter-spacing: -.008em; margin: 26px 0 4px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--ink-3); }
.prose table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: .9375rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 16px 12px 0; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; font-size: .8125rem; letter-spacing: .02em; text-transform: uppercase; }
.note { background: var(--sky-wash); padding: 14px 18px; border-radius: 10px; }

.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 32px 0 40px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
.card h2 { letter-spacing: -.012em; }
.card p { color: var(--ink-2); margin: 0 0 auto; padding-bottom: 18px; }
.card .btn { align-self: flex-start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .875rem; color: var(--ink-3); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-3); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: var(--ink); }

/* Layout breakpoints */
@media (max-width: 900px) {
  .hero .wrap, .why { grid-template-columns: 1fr; }
  .device { justify-self: start; }
  .why .section-head { position: static; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-track { display: none; }
}
@media (max-width: 600px) {
  .flow-steps, .plans { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 28px 0 8px; border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--line); }
  .shots { gap: 6px; }
}

/* Accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn:active { transform: none; }
  .flow-track { display: none; }
  .flow-steps li, .flow-note { animation: none; opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(15, 23, 42, .35); --ink-2: #1e293b; --ink-3: #334155; }
  .site-header { background: var(--bg); backdrop-filter: none; }
}
