/* rouseclock.com: home, downloads and notices pages (the manuals and flasher carry their own styles) */
@font-face { font-family: "Quicksand"; src: url("fonts/Quicksand.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
:root {
  --ink: #2E3138; --sub: #5E6470; --line: #E3E0DA; --paper: #FFFFFF; --wash: #F8F6F2;
  --amber: #E89234; --amber-ink: #8A4E0E; --amber-wash: #FDF3E7;
  --night: #16181C; --night-ink: #E9E4DC; --night-sub: #A9A39A; --red: #FF5A2A;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-ink); }
h1, h2, h3, h4, .brand { font-family: Quicksand, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; margin: 0 0 18px; font-weight: 700; }
h2 { font-size: clamp(27px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 16px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
h4 { font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1120px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 24px; }
.brand svg { width: 38px; height: 27px; flex: none; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.top nav a:not(.btn):hover { color: var(--amber-ink); }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); transition: transform .12s ease, background .12s ease; }
.btn:hover { background: #1f2227; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink) !important; }
.btn.ghost:hover { background: var(--wash); }
.btn.small { padding: 7px 15px; font-size: 14.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.cta.center { justify-content: center; margin-top: 34px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--wash), #fff); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--amber-ink); margin-bottom: 14px; }
.lede { font-size: 19px; color: var(--sub); max-width: 34em; }
.fine { font-size: 14px; color: var(--sub); }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: var(--r); box-shadow: 0 30px 60px -28px rgba(46,49,56,.45); }

section { padding: 84px 0; }
.features h2 { max-width: 20em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.grid3 article { background: var(--wash); border-radius: var(--r); padding: 24px 24px 12px; }
.grid3 article h3::before { content: ""; display: block; width: 26px; height: 4px; border-radius: 2px; background: var(--amber); margin-bottom: 14px; }
.grid3 p { color: var(--sub); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split figure { margin: 0; }
.split figure img { border-radius: var(--r); }
.split.rev > :first-child { order: 0; }

.night { background: var(--night); color: var(--night-ink); }
.night p { color: var(--night-sub); }
.night h2 { color: #fff; }
.night h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--red); margin-top: 14px; }

.video { background: var(--wash); }
.video p { color: var(--sub); }
.video .split { grid-template-columns: auto 1fr; }
.video-frame video { display: block; height: min(640px, 78vh); width: auto; aspect-ratio: 9 / 16; border-radius: 22px; background: var(--night);
  box-shadow: 0 24px 50px -26px rgba(46,49,56,.55); }

.phone p { color: var(--sub); }
.shots { display: flex; gap: 18px; justify-content: center; }
.shots img { width: 46%; max-width: 250px; border-radius: 26px; border: 8px solid var(--ink); background: #fff; box-shadow: 0 24px 50px -26px rgba(46,49,56,.5); }
.shots img:nth-child(2) { margin-top: 44px; }

.screens { background: var(--wash); }
.screen-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.affiliate { font-size: 13px; color: var(--sub); margin-top: 14px; }
.screen-row figure { margin: 0; }
.screen-row img { border-radius: 10px; border: 6px solid #202227; }
.screen-row figcaption { font-size: 14px; color: var(--sub); margin-top: 8px; text-align: center; }

.build .intro { font-size: 18px; color: var(--sub); max-width: 40em; }
.build .sub { margin-top: 34px; }
.boards { margin-top: 14px; }
.boards article { background: #fff; border: 1px solid var(--line); position: relative; }
.boards article h4::before { display: none; }
.boards .tag { position: absolute; top: -11px; left: 20px; background: var(--amber); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin: 0; }
.steps { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border-top: 3px solid var(--amber); padding-top: 16px; }
.steps p { color: var(--sub); font-size: 16px; }

.parts { padding-top: 20px; }
.signup { padding: 56px 0; }
.signup-in { max-width: 760px; margin: 0 auto; padding: 0 20px; text-align: center; }
.signup-in p { color: var(--sub); margin: 6px 0 22px; }
.signup-form { display: flex; justify-content: center; }
.signup-form > * { max-width: 100%; }
main .signup { padding: 40px 0 8px; }
.support { background: var(--amber-wash); padding: 56px 0; }
.support-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.support h2 { margin-bottom: 8px; }
.support p { color: var(--sub); margin: 0; max-width: 40em; }
.parts p { color: var(--sub); }

/* footer */
.foot { background: var(--ink); color: #C9CCD2; padding: 40px 0; font-size: 14.5px; }
.foot .brand { color: #fff; font-size: 22px; margin-bottom: 8px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; }

/* downloads and notices pages */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(32px, 4.4vw, 44px); }
.page .lede { margin-bottom: 30px; }
.dl { margin: 0 0 44px; padding: 0; }
.dl h2 { font-size: 24px; margin-bottom: 6px; }
.dl > p { color: var(--sub); max-width: 46em; }
.files { list-style: none; padding: 0; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.files li:first-child { border-top: 0; }
.files .name { font-weight: 600; }
.files .what { display: block; font-size: 14.5px; color: var(--sub); font-weight: 400; }
.files .get { flex: none; font-size: 14.5px; font-weight: 600; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); white-space: nowrap; }
.files .get:hover { background: var(--wash); }
.notice { max-width: 760px; }
.notice table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0 24px; }
.notice th, .notice td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.notice th { background: var(--wash); }

@media (max-width: 900px) {
  .hero-grid, .split, .video .split { grid-template-columns: 1fr; gap: 32px; }
  .video-frame { justify-self: center; width: 100%; max-width: 360px; }
  .video-frame video { width: 100%; height: auto; }
  .split.rev > :first-child { order: 1; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .screen-row { grid-template-columns: 1fr 1fr; }
  .top nav a:not(.btn) { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 40px 0 52px; }
}
@media (max-width: 600px) {
  .wrap, .bar { padding-left: 16px; padding-right: 16px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  body { font-size: 16.5px; }
  .files li { flex-direction: column; align-items: flex-start; }
}
.news { max-width: 46em; color: var(--ink); padding-left: 22px; margin: 8px 0 0; }
.news li { margin: 6px 0; }
.tip-line { max-width: 46em; background: var(--amber-wash); border-left: 4px solid var(--amber); border-radius: 10px; padding: 10px 14px; }

.banner { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 9px 16px; font-size: 14px; background: #F2A33A; color: #1A1206; text-decoration: none; }
.banner:hover { background: #F5B35A; }
