:root {
  --orange: #ff8c42;
  --orange-dark: #d95f22;
  --yellow: #ffd966;
  --blue: #3f7fba;
  --green: #2f8b73;
  --ink: #231f20;
  --muted: #695f59;
  --paper: #fff9f2;
  --surface: #ffffff;
  --line: #e8ded1;
  --shadow: 0 24px 60px rgba(58, 40, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 249, 242, 0.92);
  box-shadow: 0 1px 0 rgba(35, 31, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.notify-panel {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(35, 31, 32, 0.2);
  object-fit: cover;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.header-cta {
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: #171311;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 12, 9, 0.82) 0%, rgba(17, 12, 9, 0.48) 42%, rgba(17, 12, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(17, 12, 9, 0.58) 0%, rgba(17, 12, 9, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, calc(100% - 36px));
  min-height: 88svh;
  margin-left: clamp(18px, 7vw, 112px);
  padding: 112px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--orange-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 34px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  text-wrap: pretty;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 12px 30px rgba(255, 217, 102, 0.24);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 236px;
  min-height: 64px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  background: rgba(11, 13, 16, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.app-store-badge svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-store-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.app-store-badge strong {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.app-store-badge small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 62px);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.scroll-cue::after {
  width: 44px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(64px, 10vw, 124px) 0;
  background: var(--surface);
}

.two-column,
.split-layout,
.jasmine-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
}

.feature-section {
  padding: clamp(58px, 9vw, 104px) 0;
  background: linear-gradient(180deg, #fff9f2 0%, #f7fbff 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 40px rgba(63, 127, 186, 0.08);
}

.feature-number {
  display: block;
  margin-bottom: 72px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p,
.experience-copy p,
.jasmine-copy p,
.notify-panel p {
  color: var(--muted);
  font-weight: 600;
}

.experience-section {
  padding: clamp(70px, 11vw, 136px) 0;
  background: #f7fbff;
}

.phone-stack {
  position: relative;
  min-height: 620px;
}

.phone-frame {
  position: absolute;
  width: min(340px, 48vw);
  margin: 0;
  overflow: hidden;
  border: 10px solid #191716;
  border-radius: 34px;
  background: #191716;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.phone-frame.foreground {
  z-index: 2;
  left: 0;
  top: 0;
}

.phone-frame.background {
  right: 18px;
  bottom: 0;
  transform: rotate(5deg);
}

.experience-copy {
  max-width: 520px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  content: "✓";
}

.jasmine-section {
  padding: clamp(70px, 10vw, 128px) 0;
  background: var(--paper);
}

.notebook-card {
  margin: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.notebook-card img {
  width: min(460px, 100%);
  margin: 0 auto 22px;
}

.notebook-card figcaption {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.quote-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: linear-gradient(180deg, #fff9f2 0%, #ffffff 100%);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.quote-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

.quote-card {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(58, 40, 22, 0.1);
}

.quote-card blockquote {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(34px, 4.1vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.quote-card blockquote span {
  display: block;
}

.quote-card p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.notify-section {
  padding: clamp(64px, 9vw, 112px) 0;
  background: #fff;
}

.notify-panel {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff9f2 0%, #ffffff 45%, #edf7ff 100%);
}

.notify-panel h2 {
  margin-bottom: 12px;
}

.notify-panel p {
  max-width: 650px;
  margin-bottom: 0;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    padding: 9px 13px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-media img {
    object-position: 58% 32%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(17, 12, 9, 0.3) 0%, rgba(17, 12, 9, 0.44) 34%, rgba(17, 12, 9, 0.86) 100%),
      linear-gradient(90deg, rgba(17, 12, 9, 0.44), rgba(17, 12, 9, 0.08));
  }

  .hero-content {
    justify-content: flex-end;
    width: min(620px, calc(100% - 36px));
    min-height: 90svh;
    margin: 0 auto;
    padding: 96px 0 86px;
  }

  .two-column,
  .split-layout,
  .jasmine-layout,
  .quote-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 56px;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 36px;
  }

  .phone-stack {
    width: 100%;
    min-height: 520px;
  }

  .experience-copy {
    max-width: none;
  }

  .check-list {
    margin-bottom: 0;
  }

  .phone-frame {
    width: min(286px, 72vw);
  }

  .phone-frame.background {
    right: 0;
  }

  .notify-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-image img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: calc(100% - 48px);
  }

  .header-cta {
    display: none;
  }

  .brand span:last-child {
    display: none;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.04em;
    line-height: 1.45;
  }

  h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 16px;
    line-break: anywhere;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .quote-card {
    padding: 24px;
  }

  .quote-card blockquote {
    font-size: 31px;
    line-height: 1.12;
  }

  .hero-actions,
  .hero-actions .button,
  .hero-actions .app-store-badge,
  .notify-panel .button,
  .notify-panel .app-store-badge {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .phone-stack {
    min-height: 500px;
  }

  .phone-frame {
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-frame.foreground {
    left: 0;
  }

  .phone-frame.background {
    right: 0;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
