:root {
  color-scheme: light;
  --page: #f4f7f5;
  --surface: #fff;
  --ink: #17231e;
  --muted: #66736d;
  --accent: #4f6654;
  --accent-soft: #e5ede7;
  --line: #d8e2dd;
  --focus: #145fbd;
  --sakura: #cf8687;
  --sakura-soft: #f7e8e6;
  --system-dark: #211f1e;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
}

body {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  font-weight: 620;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.shell {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

header {
  padding: 32px 0 38px;
  border-bottom: 1px solid var(--line);
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-list a {
  display: block;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

.language-list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

h1,
h2 {
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.45rem);
  font-weight: 730;
  line-height: 1;
}

.kicker {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.updated,
.intro {
  max-width: 43rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

main {
  padding: 38px 0 72px;
}

.summary,
.contact-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 46px;
  padding: 25px 26px 25px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.summary::before,
.contact-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
  content: "";
}

.summary strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.summary p,
.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

section {
  padding: 29px 0;
  border-top: 1px solid var(--line);
}

section:first-of-type {
  border-top: 0;
}

h2 {
  margin: 0 0 13px;
  font-size: 1.42rem;
  font-weight: 690;
  line-height: 1.25;
}

p {
  margin: 0 0 15px;
}

p:last-child {
  margin-bottom: 0;
}

ul.content-list {
  margin: 0;
  padding-left: 1.25rem;
}

.content-list li + li {
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(7rem, 0.36fr) 1fr;
  gap: 10px 22px;
  margin: 20px 0 0;
}

.contact dt {
  color: var(--muted);
}

.contact dd {
  margin: 0;
  overflow-wrap: anywhere;
}

footer {
  padding: 25px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-header {
  padding-bottom: 72px;
  border-bottom: 0;
}

.home-header .topline {
  margin-bottom: 76px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.home-copy h1 {
  max-width: 11ch;
}

.home-intro {
  max-width: 34rem;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 29px;
}

.home-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.card-stage {
  position: relative;
  padding: 34px 0 34px 26px;
}

.card-stage::before {
  position: absolute;
  inset: 0 24px 0 0;
  background: var(--accent-soft);
  border-radius: 42% 58% 50% 46%;
  content: "";
  transform: rotate(-4deg);
}

.product-card {
  position: relative;
  min-height: 242px;
  overflow: hidden;
  padding: 28px 30px 28px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgb(23 35 30 / 10%);
  transform: rotate(2deg);
}

.product-card-stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--accent);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card-state {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.product-card p {
  max-width: 18ch;
  margin: 37px 0 68px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.product-card-done {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

.home-section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-label {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feature {
  min-height: 212px;
  padding: 28px;
  background: var(--surface);
}

.feature h2 {
  font-size: 1.18rem;
}

.feature p {
  color: var(--muted);
}

.home-note {
  max-width: 48rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.philosophy-section {
  padding: 76px 0;
  background: var(--accent);
  color: var(--page);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 8vw, 90px);
  align-items: start;
}

.philosophy-grid h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.philosophy-grid p {
  margin: 3px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.surface-section {
  padding: 94px 0;
  background: #eee9e1;
  border-top: 0;
}

.surface-section .shell {
  width: min(100% - 40px, 1120px);
}

.surface-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px 72px;
  align-items: end;
  margin-bottom: 48px;
}

.surface-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.surface-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

.surface-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.surface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.surface-story {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.surface-copy {
  position: relative;
  z-index: 2;
}

.surface-copy h3 {
  margin: 0 0 9px;
  font-size: 1.34rem;
  letter-spacing: -0.02em;
}

.surface-copy p {
  max-width: 34rem;
  color: var(--muted);
}

.home-screen-scene,
.live-scene {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: #dce8dd;
  border-radius: 24px;
}

.scene-time,
.scene-lock-time {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 720;
}

.scene-time {
  top: 20px;
  left: 24px;
}

.scene-wallpaper {
  position: absolute;
  right: -18%;
  bottom: -45%;
  width: 84%;
  aspect-ratio: 1;
  background: #e8b1ab;
  border-radius: 50%;
}

.scene-widget,
.scene-live-card,
.standby-screen,
.done-card {
  position: absolute;
  overflow: hidden;
  background: #fff9f7;
  border: 1px solid #eadeda;
  color: #211f1e;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgb(48 37 32 / 10%);
}

.scene-widget-small {
  bottom: 38px;
  left: 22px;
  width: 42%;
  aspect-ratio: 1;
}

.scene-widget-medium {
  right: 22px;
  bottom: 38px;
  width: 49%;
  height: 52%;
}

.scene-stripe {
  position: absolute;
  inset: 16% auto 16% 0;
  width: 5px;
  background: var(--sakura);
  border-radius: 0 4px 4px 0;
}

.scene-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 18px 0 20px;
  color: #80605d;
  font-size: 0.66rem;
  font-weight: 700;
}

.scene-card-top span:last-child {
  color: #7a736d;
  font-weight: 500;
}

.scene-widget strong,
.scene-live-card strong,
.standby-screen strong {
  display: block;
  padding: 17px 20px;
  font-size: clamp(0.82rem, 1.8vw, 1.12rem);
  line-height: 1.15;
}

.scene-done {
  position: absolute;
  right: 13px;
  bottom: 12px;
  padding: 5px 10px;
  background: var(--sakura-soft);
  border-radius: 999px;
  color: #8a5758;
  font-size: 0.62rem;
  font-weight: 700;
}

.live-scene {
  background: #252b37;
}

.live-scene::after {
  position: absolute;
  top: -35%;
  right: -15%;
  width: 78%;
  aspect-ratio: 1;
  background: #a7767e;
  border-radius: 50%;
  content: "";
}

.scene-dynamic-island {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  display: flex;
  width: min(76%, 330px);
  min-height: 50px;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 8px;
  background: #000;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  transform: translateX(-50%);
}

.scene-dynamic-island img {
  width: 36px;
  height: 36px;
  border: 1px solid #4e4541;
  border-radius: 10px;
}

.scene-lock-time {
  top: 92px;
  left: 50%;
  font-size: 2.7rem;
  transform: translateX(-50%);
}

.scene-live-card {
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  height: 146px;
}

.standby-scene {
  position: relative;
  height: 310px;
  margin-top: 30px;
  padding: 22px;
  background: var(--system-dark);
  border-radius: 24px;
}

.standby-screen {
  inset: 22px 22px 48px;
  background: #fff9f7;
  border: 8px solid #090909;
  border-radius: 24px;
}

.standby-screen strong {
  padding-top: 46px;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.standby-foot {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 34%;
  height: 9px;
  background: #8c8781;
  border-radius: 999px;
  transform: translateX(-50%);
}

.done-scene {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 270px;
  margin-top: 30px;
}

.done-card {
  position: relative;
  min-height: 180px;
}

.done-card strong {
  display: block;
  padding: 66px 24px 24px;
  font-size: 1rem;
  line-height: 1.2;
}

.done-card-empty {
  opacity: 0.58;
}

.done-arrow {
  color: var(--sakura);
  font-size: 2rem;
}

.surface-note {
  max-width: 54rem;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.roadmap-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 7vw, 80px);
  align-items: end;
  margin-bottom: 48px;
}

.roadmap-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.roadmap-heading p:last-child {
  color: var(--muted);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 16px;
  min-height: 170px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.roadmap-dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.roadmap-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.roadmap-item p {
  color: var(--muted);
}

.roadmap-note {
  margin: 24px 0 0;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 30px, 760px);
  }

  header {
    padding-top: 22px;
  }

  .topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 38px;
  }

  .language-list {
    justify-content: flex-start;
  }

  main {
    padding-top: 28px;
  }

  .summary,
  .contact-card {
    margin-bottom: 34px;
    padding: 22px 20px 22px 25px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact dd {
    margin-bottom: 11px;
  }

  .home-header {
    padding-bottom: 50px;
  }

  .home-header .topline {
    margin-bottom: 48px;
  }

  .home-hero,
  .philosophy-grid,
  .roadmap-heading,
  .surface-heading {
    grid-template-columns: 1fr;
  }

  .card-stage {
    padding: 18px 0 18px 16px;
  }

  .product-card {
    min-height: 216px;
    padding: 24px 24px 24px 29px;
  }

  .feature-grid,
  .roadmap-grid,
  .surface-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
  }

  .home-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .philosophy-section {
    padding: 60px 0;
  }

  .roadmap-heading {
    align-items: start;
    margin-bottom: 34px;
  }

  .roadmap-item {
    min-height: auto;
  }

  .surface-section {
    padding: 66px 0;
  }

  .surface-story {
    min-height: 470px;
    padding: 22px;
    border-radius: 22px;
  }

  .home-screen-scene,
  .live-scene {
    height: 310px;
  }

  .scene-widget-small {
    width: 40%;
  }

  .scene-widget-medium {
    width: 51%;
  }

  .done-scene {
    grid-template-columns: 1fr;
  }

  .done-arrow {
    line-height: 1;
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #111815;
    --surface: #18211d;
    --ink: #edf4f0;
    --muted: #a8b7af;
    --accent: #9ab2a0;
    --accent-soft: #25362d;
    --line: #32423a;
    --focus: #79b8ff;
    --sakura: #cf8687;
    --sakura-soft: #3f2d31;
    --system-dark: #0c0d0d;
  }

  .surface-section {
    background: #111411;
  }

  .scene-widget,
  .scene-live-card,
  .standby-screen,
  .done-card {
    background: #271f22;
    border-color: #463338;
    color: #f2dddd;
  }

  .scene-card-top span:last-child {
    color: #bbaeb0;
  }
}
