/* Hallmark · shape: Long Document · genre: modern-minimal · theme: custom (the user asked for a simpler page with nothing moving: white paper, the wordmark's ink, one photograph) · job: hire · brand: Rainup (spec 2026-11-27)
 * hero: Banner · nav: edge-aligned · footer: colophon · imagery: photographs, library 4, natural · signature: the One-Care line set plainly over four photographs of server rooms that change slowly
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R5 V4 · weakest: S, a plain page fits many firms, so every line is the company's own service list, history and contact details, with no decoration to carry it */
@import url("./tokens.css");
@import url("./base.css");

body { word-break: keep-all; }
.nw { white-space: nowrap; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-lg); }
a:hover { text-decoration-color: var(--color-accent); }
html { scroll-padding-top: var(--space-3xl); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: none; color: var(--color-ink); font-weight: 500; font-size: var(--text-md); line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:active { background: var(--color-paper-3); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--primary:active { background: var(--color-ink-2); }
.btn--secondary { border-color: var(--color-rule-2); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn--nav { min-height: 44px; padding: 0 var(--space-md); border-color: var(--color-rule-2); }
.btn--nav:hover { background: var(--color-paper-2); }

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.nav__logo { display: block; flex-shrink: 0; }
.nav__logo img { width: auto; height: 36px; }
.nav__links { display: flex; align-items: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 500; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__links a.btn { color: var(--color-ink); }

/* hero: the line, one sentence, two actions, then the one photograph */
.hero { padding-top: var(--space-3xl); }
.hero h1 { max-width: none; }
.hero .lead { margin-top: var(--space-lg); max-width: none; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
/* the photographs change in turn, each drawing slowly closer; held still under reduced motion or by the button */
.hero__photo { position: relative; aspect-ratio: 21 / 9; margin: var(--space-2xl) 0 0; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-3); }
.hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: scene var(--dur-loop) linear infinite backwards; }
.hero__photo > img:nth-of-type(1) { animation-delay: calc(var(--dur-loop) / -24); }
.hero__photo > img:nth-of-type(2) { animation-delay: calc(var(--dur-loop) * 5 / 24); }
.hero__photo > img:nth-of-type(3) { animation-delay: calc(var(--dur-loop) * 11 / 24); }
.hero__photo > img:nth-of-type(4) { animation-delay: calc(var(--dur-loop) * 17 / 24); }
.hero__photo.is-held > img { animation-play-state: paused; }
.hero__pause { position: absolute; right: var(--space-md); bottom: var(--space-md); z-index: 2; min-height: 44px; padding: 0 var(--space-md); border-color: var(--color-rule-2); background: var(--color-paper); font-size: var(--text-sm); }
.hero__pause:hover { background: var(--color-paper-2); }
html:not(.js) .hero__pause { display: none; }
@keyframes scene { 0% { opacity: 0; transform: scale(1); } 4.17% { opacity: 1; } 25% { opacity: 1; } 29.17% { opacity: 0; transform: scale(1.08); } 100% { opacity: 0; transform: scale(1.08); } }

.section { margin-top: var(--section-gap); }
.band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); color: var(--color-ink); }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.cols__head { grid-column: 1 / span 4; }
.cols__head .lead { margin-top: var(--space-sm); color: var(--color-ink-2); }
.cols__body { grid-column: 5 / -1; }

.list { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }
.list > li { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.biz { display: grid; grid-template-columns: 10rem minmax(0, 1fr); column-gap: var(--gap-columns); row-gap: var(--space-2xs); align-items: baseline; }
.biz__brands { grid-column: 2; font-size: var(--text-sm); color: var(--color-muted); }
.plain > li { padding-block: var(--space-md); }
.year { display: grid; grid-template-columns: 10rem minmax(0, 1fr); column-gap: var(--gap-columns); align-items: baseline; }
.year time { font-size: var(--text-lg); font-weight: 500; }
.year p { color: var(--color-ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); }
.steps li::before { content: counter(step); display: block; margin-bottom: var(--space-lg); font-size: var(--text-3xl); font-weight: 500; line-height: 1; color: var(--color-muted); }
.steps p { margin-top: var(--space-2xs); color: var(--color-ink-2); }

.contact__mail { display: inline-block; font-size: var(--text-2xl); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1.2; white-space: nowrap; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; }
.contact__mail:focus-visible, .details a:focus-visible, .footer a:focus-visible, .doc a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.details { margin: var(--space-xl) 0 0; border-top: var(--rule-hair) solid var(--color-ink); }
.details > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); column-gap: var(--gap-columns); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.details dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.details dd { margin: 0; }

.footer { margin-top: var(--section-gap); padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.footer__links a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.footer__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.footer__links a.footer__privacy { color: var(--color-ink); font-weight: 500; text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: var(--space-lg) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); }
.footer__small { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); max-width: none; }

/* the policy page */
.doc { padding-block: var(--space-2xl) 0; }
.doc__body { max-width: 46rem; }
.doc h1 { font-size: var(--text-3xl); max-width: none; }
.doc__meta { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.doc__intro { margin-top: var(--space-xl); }
.doc h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); font-size: var(--text-lg); line-height: 1.4; letter-spacing: 0; max-width: none; }
.doc p, .doc li { line-height: 1.75; color: var(--color-ink-2); }
.doc p + p, .doc p + ul, .doc ul + p, .doc p + .table, .doc .table + p { margin-top: var(--space-sm); }
.doc ul { margin: var(--space-xs) 0 0; padding-left: var(--space-lg); }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { padding-block: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.table td { padding-block: var(--space-sm); padding-right: var(--space-md); vertical-align: top; line-height: 1.6; color: var(--color-ink-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.table td:first-child { font-weight: 500; color: var(--color-ink); min-width: 7rem; }
.doc .table { margin-top: var(--space-md); }

@media (prefers-reduced-motion: reduce) {
  .btn, .nav__links a { transition: none; }
  .hero__photo > img { animation: none; }
  .hero__photo > img:not(:first-of-type), .hero__pause { display: none; }
}

@media (max-width: 60rem) {
  .nav__row { min-height: 64px; }
  .nav__logo img { height: 30px; }
  .nav__links li:not(:last-child) { display: none; }
  .hero { padding-top: var(--space-2xl); }
  .br-wide { display: none; }
  .hero__photo { aspect-ratio: 3 / 2; margin-top: var(--space-xl); }
  .cols__head, .cols__body { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); margin-top: var(--space-xl); }
}
@media (max-width: 40rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .biz, .year, .details > div { grid-template-columns: minmax(0, 1fr); }
  .biz__brands { grid-column: 1; }
  .contact__mail { font-size: var(--text-xl); }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .table td { padding-block: var(--space-2xs); border-bottom: 0; }
  .table td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 6rem; font-size: var(--text-sm); color: var(--color-muted); }
}
