@import url("https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #20241f;
  --ink-soft: #4f574c;
  --muted: #7b8377;
  --paper: #f5f6ef;
  --paper-deep: #ebeee3;
  --surface: #fbfcf7;
  --line: rgba(32, 36, 31, .13);
  --line-strong: rgba(32, 36, 31, .25);
  --accent: #d7ff3f;
  --accent-ink: #1e2813;
  --night: #20241f;
  --night-soft: #2b3029;
  --shadow: 0 22px 70px rgba(35, 42, 28, .11);
  --display: "Stack Sans Headline", system-ui, sans-serif;
  --body: "Stack Sans Headline", system-ui, sans-serif;
  --mono: "Stack Sans Headline", system-ui, sans-serif;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #eef0e7;
    --ink-soft: #bcc4b7;
    --muted: #899487;
    --paper: #1d211c;
    --paper-deep: #252a23;
    --surface: #252a23;
    --line: rgba(238, 240, 231, .13);
    --line-strong: rgba(238, 240, 231, .28);
    --night: #10130f;
    --night-soft: #191d18;
    --shadow: 0 22px 70px rgba(0, 0, 0, .2);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef0e7;
  --ink-soft: #bcc4b7;
  --muted: #899487;
  --paper: #1d211c;
  --paper-deep: #252a23;
  --surface: #252a23;
  --line: rgba(238, 240, 231, .13);
  --line-strong: rgba(238, 240, 231, .28);
  --night: #10130f;
  --night-soft: #191d18;
  --shadow: 0 22px 70px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: .035;
  pointer-events: none;
  position: fixed;
  z-index: 50;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  background: var(--accent);
  color: var(--accent-ink);
  left: 12px;
  padding: 9px 14px;
  position: absolute;
  text-decoration: none;
  top: -60px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 24px clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 3;
}
.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}
.brand .brand-logo { height: auto; width: 116px; }
.brand-byline {
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  margin-left: 5px;
  padding-left: 12px;
  text-transform: lowercase;
}
.nav {
  align-items: center;
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.theme-toggle, .menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
}
.theme-toggle:hover, .menu-toggle:hover { background: var(--paper-deep); }
.theme-toggle svg { height: 16px; width: 16px; }
.menu-toggle { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  background: currentColor;
  content: "";
  display: block;
  height: 1px;
  position: relative;
  width: 16px;
}
.menu-lines::before { left: 0; position: absolute; top: -5px; }
.menu-lines::after { left: 0; position: absolute; top: 5px; }

.container {
  margin: 0 auto;
  max-width: 1280px;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}
.hero {
  align-items: center;
  display: grid;
  gap: clamp(38px, 7vw, 110px);
  grid-template-columns: minmax(0, .94fr) minmax(360px, .88fr);
  min-height: min(760px, calc(100dvh - 85px));
  padding-bottom: 92px;
  padding-top: 76px;
}
.eyebrow {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  background: var(--accent);
  content: "";
  height: 8px;
  width: 8px;
}
.eyebrow.brand-lowercase { text-transform: lowercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -.07em;
  line-height: 1.03;
}
h1 {
  font-size: clamp(55px, 7.1vw, 104px);
  font-weight: 800;
  margin-bottom: 28px;
  max-width: 780px;
}
h1 em { color: var(--ink-soft); font-style: normal; }
.lede {
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.02em;
  line-height: 1.45;
  margin-bottom: 34px;
  max-width: 510px;
}
.hero-detail {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 100px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: #c8f12f; }
.button-secondary { border-color: var(--line-strong); color: var(--ink); }
.button-secondary:hover { background: var(--paper-deep); }
.button-arrow { font-size: 17px; line-height: 1; }

.preview-wrap { position: relative; }
.preview-wrap::before {
  border: 1px solid var(--line);
  content: "";
  height: 84%;
  left: -38px;
  position: absolute;
  top: 8%;
  transform: rotate(-5deg);
  width: 84%;
}
.brand-visual {
  background: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-left: auto;
  max-width: 420px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px);
  position: relative;
  transform: rotate(2deg);
  width: 100%;
  z-index: 1;
}
.brand-visual img {
  border-radius: 16px;
  height: auto;
  width: 100%;
}
.phone {
  background: var(--night);
  border: 7px solid var(--night-soft);
  border-radius: 40px;
  box-shadow: var(--shadow);
  color: #eef0e7;
  margin-left: auto;
  max-width: 366px;
  min-height: 590px;
  overflow: hidden;
  padding: 17px 19px 25px;
  position: relative;
  transform: rotate(3.5deg);
  width: 100%;
  z-index: 1;
}
.phone::before {
  background: var(--night-soft);
  border-radius: 0 0 12px 12px;
  content: "";
  height: 22px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 108px;
}
.phone-top { align-items: center; display: flex; justify-content: space-between; margin: 17px 1px 34px; }
.phone-top span { color: #9ca598; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.phone-top b { font-size: 13px; font-weight: 600; }
.phone-date { color: #9ca598; font-size: 11px; margin-bottom: 5px; }
.phone h2 { color: #f4f5ee; font-size: 29px; margin: 0 0 25px; }
.task-list { display: grid; gap: 9px; }
.task {
  align-items: center;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  display: flex;
  font-size: 13px;
  gap: 11px;
  min-height: 55px;
  padding: 10px 12px;
}
.task-check {
  border: 1px solid #7e897b;
  border-radius: 50%;
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}
.task.done { color: #7e897b; text-decoration: line-through; }
.task.done .task-check { background: var(--accent); border-color: var(--accent); position: relative; }
.task.done .task-check::after {
  border-bottom: 2px solid var(--accent-ink);
  border-right: 2px solid var(--accent-ink);
  content: "";
  height: 9px;
  left: 5px;
  position: absolute;
  top: 2px;
  transform: rotate(40deg);
  width: 4px;
}
.phone-add {
  align-items: center;
  background: var(--accent);
  border-radius: 13px;
  bottom: 25px;
  color: var(--accent-ink);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  left: 19px;
  padding: 13px 14px;
  position: absolute;
  right: 19px;
}
.phone-add span { font-size: 20px; font-weight: 400; line-height: 10px; }
.preview-note {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .05em;
  margin: 22px 0 0 auto;
  max-width: 265px;
  text-align: center;
}

.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.store-badge {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 9px;
  color: var(--paper);
  display: inline-flex;
  gap: 9px;
  min-height: 45px;
  padding: 5px 13px 5px 11px;
  text-decoration: none;
}
.store-badge:hover { opacity: .83; }
.store-mark { align-items: center; display: inline-flex; height: 25px; justify-content: center; width: 25px; }
.store-mark svg { height: 23px; width: 23px; }
.store-copy { display: grid; line-height: 1.05; }
.store-copy small { font-size: 8px; letter-spacing: .04em; }
.store-copy strong { font-size: 14px; font-weight: 600; letter-spacing: -.03em; }

.rule { border-top: 1px solid var(--line); }
.signal-strip {
  align-items: center;
  display: flex;
  gap: 23px;
  justify-content: space-between;
  padding: 23px 0;
}
.signal-strip p { color: var(--muted); font-size: 12px; margin: 0; }
.signal-items { display: flex; gap: clamp(18px, 4vw, 50px); }
.signal-item { align-items: center; display: flex; font-size: 12px; gap: 9px; }
.signal-item::before { background: var(--accent); content: ""; height: 7px; width: 7px; }

section { scroll-margin-top: 60px; }
.section { padding-bottom: 140px; padding-top: 140px; }
.section-head {
  align-items: end;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 58px;
}
.section-kicker { color: var(--muted); font-size: 13px; max-width: 260px; }
h2 { font-size: clamp(40px, 5vw, 70px); margin-bottom: 0; max-width: 750px; }
.feature-list {
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 25px;
  grid-template-columns: 38px 1fr;
  min-height: 150px;
  padding: 28px 32px 28px 0;
}
.feature-item:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.feature-item > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  padding-top: 6px;
}
.feature-item h3 {
  font-size: clamp(23px, 2.4vw, 31px);
  margin: 0 0 9px;
}
.feature-item p {
  color: var(--ink-soft);
  margin: 0;
}
.feature-layout { display: grid; gap: 15px; grid-template-columns: 1.14fr .86fr; }
.feature-block {
  border-top: 1px solid var(--line-strong);
  padding: 22px 0 28px;
}
.feature-layout .feature-block:nth-child(1) { grid-row: span 2; padding-right: 12%; }
.feature-layout .feature-block:nth-child(2), .feature-layout .feature-block:nth-child(3) { margin-left: 8%; }
.feature-index { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.feature-block h3 { font-size: 31px; margin: 55px 0 13px; }
.feature-block p { color: var(--ink-soft); margin: 0; max-width: 435px; }
.feature-block .line-art {
  align-items: center;
  background: var(--paper-deep);
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}
.line-art::before, .line-art::after { border: 1px solid var(--line-strong); content: ""; position: absolute; }
.line-art::before { border-radius: 50%; height: 240px; width: 240px; }
.line-art::after { height: 125px; transform: rotate(45deg); width: 125px; }
.mini-dial { border: 1px solid var(--ink); border-radius: 50%; height: 74px; position: relative; width: 74px; z-index: 1; }
.mini-dial::after { background: var(--accent); border-radius: 50%; content: ""; height: 14px; left: 29px; position: absolute; top: 29px; width: 14px; }
.mini-dial::before { background: var(--ink); content: ""; height: 1px; left: 36px; position: absolute; top: 13px; transform-origin: 0 23px; transform: rotate(35deg); width: 30px; }
.feature-block:nth-child(2) .line-art, .feature-block:nth-child(3) .line-art { min-height: 0; height: 88px; justify-content: flex-start; padding-left: 35px; }
.feature-block:nth-child(2) .line-art::before, .feature-block:nth-child(3) .line-art::before { height: 120px; width: 120px; }
.feature-block:nth-child(2) .line-art::after, .feature-block:nth-child(3) .line-art::after { height: 65px; width: 65px; }
.minimal-lines { display: grid; gap: 8px; position: relative; width: 180px; z-index: 1; }
.minimal-lines i { background: var(--ink); display: block; height: 6px; opacity: .7; width: 100%; }
.minimal-lines i:nth-child(2) { width: 75%; }
.minimal-lines i:nth-child(3) { width: 48%; }

.steps-section { background: var(--night); color: #eff1e8; }
.steps-section .eyebrow, .steps-section .section-kicker { color: #9ca598; }
.steps-section .section-kicker { max-width: 300px; }
.steps-grid { display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); }
.step { border-left: 1px solid rgba(238,240,231,.18); min-height: 270px; padding: 0 36px; }
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-number {
  align-items: center;
  border: 1px solid rgba(238,240,231,.32);
  border-radius: 50%;
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.step h3 { font-size: 29px; margin: 70px 0 13px; }
.step p { color: #aab2a6; margin: 0; max-width: 260px; }
.steps-section .store-row { margin-top: 82px; }
.steps-section .store-badge { background: #eff1e8; border-color: #eff1e8; color: var(--night); }

.manifesto {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr .8fr;
  min-height: 390px;
}
.manifesto h2 { max-width: 600px; }
.manifesto-copy { border-left: 1px solid var(--line-strong); padding-left: 28px; }
.manifesto-copy p { color: var(--ink-soft); margin: 0 0 25px; max-width: 350px; }
.manifesto-signature { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: lowercase; }

.closing {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 110px 0;
}
.closing .eyebrow { color: rgba(30,40,19,.64); }
.closing h2 { max-width: 800px; }
.closing-grid { align-items: end; display: flex; gap: 30px; justify-content: space-between; }
.closing .button-secondary { border-color: rgba(30,40,19,.4); color: var(--accent-ink); }
.closing .button-secondary:hover { background: rgba(255,255,255,.2); }

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 38px 0 30px;
}
.footer-top { align-items: start; display: flex; justify-content: space-between; }
.footer-mark { color: var(--muted); font-size: 12px; margin-top: 15px; }
.footer-links { display: flex; gap: 25px; }
.footer-links a { color: var(--ink-soft); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 11px; justify-content: space-between; margin-top: 50px; padding-top: 17px; }

/* Legal / contact pages */
.page-intro { padding: 105px 0 80px; }
.page-intro h1 { font-size: clamp(53px, 7vw, 94px); margin-bottom: 20px; max-width: 780px; }
.page-intro p { color: var(--ink-soft); font-size: 18px; max-width: 550px; }
.legal-layout { display: grid; gap: 70px; grid-template-columns: 190px minmax(0, 680px); padding-bottom: 130px; }
.legal-nav { align-self: start; position: sticky; top: 30px; }
.legal-nav span { color: var(--muted); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; margin-bottom: 16px; text-transform: uppercase; }
.legal-nav a { color: var(--ink-soft); display: block; font-size: 13px; padding: 5px 0; text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.legal-copy h2 { font-size: 32px; margin: 55px 0 14px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); font-size: 15px; }
.legal-copy ul { padding-left: 21px; }
.legal-updated { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.contact-layout { display: grid; gap: 70px; grid-template-columns: .8fr 1.2fr; padding-bottom: 140px; }
.contact-card { border-top: 1px solid var(--line-strong); padding-top: 23px; }
.contact-card h2 { font-size: 34px; margin-bottom: 17px; }
.contact-card p { color: var(--ink-soft); max-width: 340px; }
.contact-email { display: inline-block; font-family: var(--mono); font-size: clamp(17px, 2vw, 23px); margin-top: 22px; text-decoration: none; }
.contact-email:hover { color: var(--ink-soft); }
.contact-details { border-top: 1px solid var(--line-strong); }
.contact-detail { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; gap: 25px; padding: 16px 0; }
.contact-detail span { color: var(--muted); font-family: var(--mono); font-size: 10px; min-width: 80px; text-transform: uppercase; }
.contact-detail strong { font-size: 14px; font-weight: 500; }

@media (max-width: 800px) {
  .nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .preview-wrap { margin: 10px auto 0; max-width: 430px; width: 100%; }
  .phone, .brand-visual { margin: auto; transform: rotate(2deg); }
  .signal-strip { align-items: flex-start; flex-direction: column; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-item:nth-child(even) { border-left: 0; padding-left: 0; }
  .feature-layout .feature-block:nth-child(1) { grid-row: auto; padding-right: 0; }
  .feature-layout .feature-block:nth-child(2), .feature-layout .feature-block:nth-child(3) { margin-left: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .step, .step:first-child, .step:last-child { border-left: 0; border-top: 1px solid rgba(238,240,231,.18); min-height: 0; padding: 28px 0; }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step h3 { margin: 28px 0 10px; }
  .steps-section .store-row { margin-top: 44px; }
  .manifesto { grid-template-columns: 1fr; min-height: 0; }
  .manifesto-copy { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 25px; }
  .closing-grid { align-items: start; flex-direction: column; }
  .legal-layout, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .legal-nav { position: static; }
  .legal-nav a { display: inline-block; margin-right: 16px; }
}
@media (max-width: 590px) {
  .site-header { padding-bottom: 18px; padding-top: 18px; }
  .brand-byline { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    position: absolute;
    right: 20px;
    top: 70px;
    width: 190px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px; width: 100%; }
  .theme-toggle { margin: 4px; }
  .hero { min-height: 0; padding-bottom: 72px; }
  h1 { font-size: clamp(49px, 15vw, 76px); }
  .phone { min-height: 540px; }
  .section { padding-bottom: 88px; padding-top: 88px; }
  .section-head { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 37px; }
  .footer-top, .footer-bottom { align-items: start; flex-direction: column; gap: 18px; }
  .footer-bottom { margin-top: 34px; }
  .page-intro { padding: 65px 0 50px; }
  .page-intro h1 { font-size: clamp(49px, 14vw, 76px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* noteo final responsive refinements */
html, body { overflow-x: clip; }
.footer-oita { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; }
.footer-oita a, .footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-oita a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom a { font-size: 11px; }
.steps-tagline { color: #9ca598; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; margin-top: 48px; }
.closing-content { align-items: center; display: grid; gap: clamp(35px, 8vw, 120px); grid-template-columns: minmax(0, 1fr) auto; }
.closing-copy h2 { margin-bottom: 12px; }
.closing-copy > p { color: rgba(30,40,19,.72); margin-bottom: 0; max-width: 430px; }
.download-qr { align-items: center; display: flex; flex-direction: column; gap: 9px; text-align: center; }
.qr-frame { background: var(--accent); border: 1px solid rgba(30,40,19,.22); border-radius: 14px; padding: 12px; width: 156px; }
.qr-frame img { aspect-ratio: 1; height: auto; width: 100%; }
.download-qr span { font-size: 12px; font-weight: 600; }
.download-qr small { color: rgba(30,40,19,.62); font-size: 10px; }
.download-page { min-height: 100dvh; }
.download-shell { align-items: center; display: grid; justify-items: center; min-height: 100dvh; padding: 30px 20px; }
.download-logo { margin: 0 auto 35px; width: 116px; }
.download-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); max-width: 520px; padding: clamp(30px, 6vw, 60px); text-align: center; width: 100%; }
.download-card h1 { font-size: clamp(42px, 8vw, 70px); margin: 22px auto 14px; }
.download-card p { color: var(--ink-soft); margin: 0 auto 30px; max-width: 370px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.back-link { color: var(--muted); display: inline-block; font-size: 12px; margin-top: 30px; text-decoration: none; }
.back-link:hover { color: var(--ink); }

@media (max-width: 900px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .container { padding-left: 24px; padding-right: 24px; }
  .hero { gap: 45px; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); }
  .brand-visual { padding: 38px; }
  .feature-item { padding-right: 22px; }
  .feature-item:nth-child(even) { padding-left: 22px; }
}

@media (max-width: 800px) {
  .hero { gap: 55px; padding-top: 50px; }
  .preview-wrap { margin: 0 auto; max-width: 430px; width: min(100%, 430px); }
  .preview-wrap::before { left: 4%; width: 84%; }
  .brand-visual { margin: 0 auto; max-width: 360px; transform: none; }
  .signal-strip { gap: 14px; }
  .signal-items { flex-wrap: wrap; gap: 12px 24px; }
  .closing-content { align-items: start; grid-template-columns: 1fr; }
  .download-qr { align-items: flex-start; text-align: left; }
  .qr-frame { width: 132px; }
  .legal-layout, .contact-layout { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 590px) {
  .site-header { padding-left: 20px; padding-right: 20px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { gap: 45px; padding-bottom: 72px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .brand-visual { max-width: 300px; padding: 26px; }
  .preview-note { margin-left: auto; margin-right: auto; max-width: 230px; }
  .store-row { width: 100%; }
  .store-badge { flex: 1 1 145px; }
  .section { padding-bottom: 88px; padding-top: 88px; }
  .feature-item, .feature-item:nth-child(even) { gap: 18px; grid-template-columns: 32px 1fr; padding-left: 0; padding-right: 0; }
  .steps-tagline { margin-top: 35px; }
  .closing { padding: 80px 0; }
  .closing-content { gap: 42px; }
  .closing .store-row { flex-direction: column; }
  .closing .store-badge { width: min(100%, 260px); }
  .download-qr { align-items: center; text-align: center; width: 100%; }
  .footer-oita { margin-top: 28px; }
  .footer-bottom { gap: 10px; }
  .footer-bottom a { max-width: 280px; }
}

/* final responsive and content refinements */
.menu-toggle {
  border: 0;
  border-radius: 0;
  min-height: 36px;
  min-width: 36px;
  padding: 0;
}
.menu-toggle:hover { background: transparent; }
.menu-lines,
.menu-lines::before,
.menu-lines::after {
  background: currentColor;
  height: 1.5px;
  width: 20px;
}
.menu-lines {
  background: transparent;
}
.menu-lines::before { top: -4px; }
.menu-lines::after { top: 4px; }

/* keep the how-it-works section visually consistent with the rest of the site */
.steps-section {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-section .section-kicker { color: var(--muted); }
.step { border-left-color: var(--line); }
.step-number { border-color: var(--line-strong); }
.step p { color: var(--ink-soft); }
.steps-tagline { color: var(--muted); }

@media (max-width: 800px) {
  /* override the wider tablet rule so phones/tablets never get a cramped two-column hero */
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .hero-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-actions .button { width: auto; }
  .preview-wrap { display: none; }
  .signal-strip { padding-top: 18px; padding-bottom: 18px; }
  .signal-items { gap: 12px; }
  .closing .store-row { flex-direction: column; gap: 12px; }
  .closing .store-badge {
    background: transparent;
    border-color: rgba(30,40,19,.38);
    min-height: 76px;
    padding: 9px 16px;
    width: 100%;
  }
  .closing .store-badge:hover { background: rgba(30,40,19,.05); }
  .closing .store-mark { height: 28px; width: 28px; }
  .closing .store-mark svg { height: 25px; width: 25px; }
}
.signal-strip {
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}

/* v5 refinements */
.eyebrow { text-transform: lowercase; letter-spacing: .13em; }
.legal-nav span { text-transform: lowercase; }
h1, h2, h3 { letter-spacing: -.055em; }
.button-download { display: inline-flex; height: 17px; width: 17px; }
.button-download svg { height: 100%; width: 100%; }
.theme-control { align-items: center; display: inline-flex; gap: 8px; }
.theme-label { color: var(--muted); display: none; font-size: 12px; }
.theme-toggle { flex: 0 0 auto; }
.signal-strip { align-items: center; }
.signal-items { align-items: center; }
.signal-item { gap: 0; }
.signal-item::before { display: none; }
.signal-plain { color: var(--ink-soft); }
.signal-platform { gap: 9px; }
.signal-platform::before { background: var(--accent); content: ""; display: inline-block; height: 7px; width: 7px; }

@media (max-width: 590px) {
  .theme-control { gap: 8px; justify-content: space-between; width: 100%; }
  .theme-label { display: inline; }
  .closing .store-row { align-items: stretch; flex-direction: row; flex-wrap: nowrap; gap: 10px; width: 100%; }
  .closing .store-badge { flex: 1 1 0; min-height: 72px; padding: 9px 10px; width: auto; }
  .closing .store-copy strong { font-size: 13px; }
  .closing .store-copy small { font-size: 7px; }
  .closing .store-mark { flex: 0 0 25px; height: 25px; width: 25px; }
  .closing .store-mark svg { height: 23px; width: 23px; }
  .signal-strip { align-items: flex-start; gap: 15px; flex-direction: column; }
  .signal-items { gap: 14px 20px; width: 100%; }
  .signal-platform { align-self: flex-start; }
}

/* lowercase consistency */
.contact-detail span { text-transform: lowercase; }

@media (max-width: 590px) {
  .theme-control { justify-content: flex-start; width: auto; }
}

/* Update log */
.updates-layout { padding-bottom: 140px; }
.update-release h2 { font-size: 42px; margin: 0 0 14px; }
.update-meta { align-items: center; color: var(--muted); display: flex; font-family: var(--mono); font-size: 11px; gap: 18px; letter-spacing: .04em; margin-bottom: 16px; }
.update-meta span:first-child { color: var(--ink); }
.update-intro { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin: 0 0 48px; max-width: 650px; }
.update-list { border-top: 1px solid var(--line); }
.update-row { align-items: baseline; border-bottom: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 105px minmax(0, 1fr); padding: 19px 0; }
.update-row p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.update-type { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: lowercase; }
.update-new { color: #789600; }
.update-improved { color: var(--muted); }
.update-fixed { color: var(--muted); }

@media (max-width: 700px) {
  .updates-layout { padding-bottom: 90px; }
  .update-release h2 { font-size: 34px; }
  .update-row { gap: 10px; grid-template-columns: 1fr; padding: 17px 0; }
  .update-type { font-size: 9px; }
  .update-row p { font-size: 14px; }
  .update-intro { font-size: 15px; margin-bottom: 34px; }
}
