/* 起きれま10 site styles. No external fonts, scripts or trackers. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --band: #f0f5f6;
  --ink: #102029;
  --ink-2: #4a5c66;
  --line: #d6e0e4;
  --teal: #00686f;
  --teal-ink: #004e55;
  --teal-soft: #dff0f0;
  --blue: #2484e2;
  --sun: #f2a01f;
  --sun-ink: #7d4b00;
  --sun-soft: #fff3dc;
  --night: #2c3d8f;
  --night-soft: #e7eafb;
  --warn: #b03d0c;
  --warn-soft: #fbefe8;
  --bezel: #1a2124;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --num: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0d1518;
    --band: #131e22;
    --ink: #e5eef0;
    --ink-2: #a5b6bc;
    --line: #27383e;
    --teal: #63c4cc;
    --teal-ink: #94dce2;
    --teal-soft: #123236;
    --sun-ink: #ffc56a;
    --sun-soft: #33270f;
    --night: #aab6ff;
    --night-soft: #1d2346;
    --warn: #ffab84;
    --warn-soft: #36211a;
    --bezel: #2b3438;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
a:focus-visible { border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 800; letter-spacing: .01em; word-break: keep-all; overflow-wrap: anywhere; }
p { margin: 0; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.nb { display: inline-block; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.12rem; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--teal-ink); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -3px 0 var(--teal); }
@media (max-width: 520px) { .site-nav a { padding: 0 8px; font-size: .9rem; } }
@media (max-width: 374px) { .brand { font-size: 1rem; gap: 8px; } .brand img { width: 26px; height: 26px; } .site-nav a { padding: 0 5px; font-size: .85rem; } }

/* Phone screenshots */
.shot {
  width: 100%; height: auto; background: #000;
  border: clamp(4px, 1.1vw, 7px) solid var(--bezel);
  border-radius: 15% / 6.9%;
  box-shadow: 0 18px 36px -18px rgba(16, 32, 41, .45);
}
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-2); }

/* Hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 64px; } }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); line-height: 1.3; }
.hero .lead { margin-top: 16px; font-size: clamp(1.02rem, 2.3vw, 1.15rem); }
.hero-video { width: min(76%, 330px); margin-inline: auto; }
.hero-video { position: relative; }
.hero-video video { display: block; }
.playpause { position: absolute; right: -10px; bottom: -10px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(16, 32, 41, .18); }
.playpause svg { width: 16px; height: 16px; fill: currentColor; }
.playpause .i-play, .playpause.paused .i-pause { display: none; }
.playpause.paused .i-play { display: block; }
.sky { position: relative; margin-top: 30px; max-width: 34em; height: 64px; border-radius: 32px; cursor: pointer; background: linear-gradient(90deg, #121c44 0%, #2a3672 44%, #7a5a92 54%, #f0955f 63%, #ffd37a 100%); }
.sky svg { position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; }
.sky .moon { left: 20px; fill: #fff; }
.sky .sun { right: 20px; fill: #fff; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.sky .marker { position: absolute; top: 50%; left: calc(68px + (100% - 136px) * var(--p, 0)); width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #102029, 0 4px 14px rgba(0, 0, 0, .25); }
.hero .status { margin-top: 20px; font-weight: 800; font-size: .95rem; }
.hero .status .sep { display: block; font-weight: 400; color: var(--ink-2); }
.sky .marker { display: grid; place-items: center; color: #102029; }
.sky .marker > * { grid-area: 1 / 1; display: none; }
.sky[data-scene="night"] .m-zzz, .sky:not([data-scene]) .m-zzz, .sky[data-scene="alarm"] .m-alarm, .sky[data-scene="morning"] .m-pencil { display: block; }
.m-zzz { font-weight: 800; line-height: 1; white-space: nowrap; transform: translate(1px, 1px); }
.m-zzz b { display: inline-block; }
.m-zzz b:nth-child(1) { font-size: 15px; }
.m-zzz b:nth-child(2) { font-size: 11px; transform: translateY(-5px); }
.m-zzz b:nth-child(3) { font-size: 8px; transform: translateY(-10px); }
.sky .marker svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-alarm { color: #b03d0c; }
.m-alarm .ring { transform-origin: 12px 13px; }
@media (prefers-reduced-motion: no-preference) {
  .m-zzz b { animation: zfloat 2.4s ease-in-out infinite; }
  .m-zzz b:nth-child(2) { animation-delay: .25s; }
  .m-zzz b:nth-child(3) { animation-delay: .5s; }
  .sky[data-scene="alarm"] .m-alarm .ring { animation: shake .5s linear infinite; }
}
@keyframes zfloat { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 35% { transform: rotate(13deg); } 55% { transform: rotate(-11deg); } 75% { transform: rotate(8deg); } }

@media (max-width: 859px) {
  .hero .wrap { gap: 18px; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; } .hero .lead { order: 2; margin-top: 0; } .sky { order: 3; margin-top: 0; width: 100%; max-width: none; height: 52px; }
  .sky .marker { left: calc(60px + (100% - 120px) * var(--p, 0)); width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .sky .marker svg { width: 20px; height: 20px; }
  .m-zzz b:nth-child(1) { font-size: 13px; } .m-zzz b:nth-child(2) { font-size: 9px; transform: translateY(-4px); } .m-zzz b:nth-child(3) { font-size: 7px; transform: translateY(-8px); }
  .hero-video { order: 4; width: min(66%, 280px); } .hero .status { order: 5; margin-top: 0; }
}

/* Sections */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section.band { background: var(--band); }
.section h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }

/* Apps */
.apps { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.apps li { display: grid; grid-template-columns: 56px auto; column-gap: 12px; align-items: center; }
.apps img { width: 56px; height: 56px; border-radius: 22.37%; }
.apps .name { font-weight: 800; }
.apps .soon { display: block; padding: 8px 14px; border: 1px dashed var(--line); border-radius: 8px; color: var(--ink-2); }
.apps .soon .name { font-weight: 600; }


/* Facts (privacy brief, requirements) */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .facts > div { grid-template-columns: 10em minmax(0, 1fr); gap: 16px; } }
.facts dt { font-weight: 800; }
.facts dd { margin: 0; }
.after { margin-top: 18px; }

/* Inner pages */
.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 36px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.75rem, 5vw, 2.7rem); }
.page-hero p { margin-top: 12px; color: var(--ink-2); }
.toc { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.toc a { display: inline-flex; min-height: 36px; align-items: center; font-weight: 600; }
.doc { padding: clamp(8px, 2vw, 16px) 0 0; }
.doc > section { padding: clamp(22px, 3.5vw, 34px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.doc > section:last-of-type { border-bottom: 0; }
.doc h2 { font-size: clamp(1.3rem, 3.2vw, 1.6rem); }
.doc .body { margin-top: 14px; display: grid; gap: 10px; }
.doc ul { margin: 0; padding-left: 1.3em; }
.doc ul li + li { margin-top: 4px; }


.quote { padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; white-space: pre-line; font-size: .95rem; }

.tz { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.tz .clock { width: 96px; height: 96px; }

.mail { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 8px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.mail:hover { background: var(--teal-ink); }
@media (prefers-color-scheme: dark) { .mail { color: #062226; } .mail:hover { background: var(--teal); } }
.checklist { margin: 0; padding-left: 1.3em; }

.legal .body p, .legal .body li { line-height: 1.9; }
.date { margin: 8px 0 0; padding-bottom: 8px; color: var(--ink-2); font-size: .92rem; }

/* Footer */
.site-footer { padding: 32px 0 44px; border-top: 1px solid var(--line); background: var(--band); color: var(--ink-2); font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { text-decoration: underline; }
