@font-face {
  font-family: Manrope;
  src: url('assets/manrope-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('assets/manrope-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('assets/manrope-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url('assets/fraunces-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f8f7fa;
  --surface: #fff;
  --ink: #161617;
  --secondary: #4a4750;
  --muted: #737078;
  --line: #e2e2e2;
  --primary: hsl(39 63% 55%);
  --primary-ink: #1a1426;
  --approach-bg: #f0eff1;
  --surface-line: #f0eff1;
  --gold-ink: #9a6b12;
  --gold-soft: #efdfbd;
  --preview-shadow: rgba(32, 27, 17, 0.07);
  --serif: Fraunces, Georgia, serif;
  --sans: Manrope, 'Avenir Next', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  border-radius: 11px;
}
.brand span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.site-header nav {
  display: flex;
  gap: 32px;
}
.site-header nav a,
.site-footer a {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.site-header nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 72px;
  padding-block: 76px 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

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

.hero h1 {
  max-width: 580px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.07;
}

.hero h1 em,
.closing em {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-weight: 500;
}
.hero-lede {
  max-width: 460px;
  margin-bottom: 27px;
  color: var(--secondary);
  font-size: 16px;
}
.text-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link span {
  margin-left: 5px;
  color: #9a6b12;
}

.preview {
  width: min(100%, 380px);
  justify-self: end;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: #121214;
  color: #ece9f2;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  user-select: none;
}

.preview-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-inline: 4px;
  color: #84817d;
}

.preview-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.preview-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #84817d;
}

.preview-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-inline: 4px;
  margin-bottom: 20px;
}

.preview-title-icon {
  color: #84817d;
  margin-top: 5px;
  flex-shrink: 0;
  display: inline-flex;
}

.preview-title-text h2 {
  margin: 0;
  font: 500 32px/1.15 var(--serif);
  letter-spacing: -0.04em;
  color: #f2eff7;
}

.preview-subtitle {
  margin: 4px 0 0;
  color: #84817d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.preview-content {
  position: relative;
  padding-inline: 4px;
}

.preview-tasks {
  padding-right: 38px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.preview-task-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 38px;
}

.preview-task-row.has-divider {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  border: 2px solid #524f5c;
  margin-top: 1px;
}

.preview-task-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-task-title {
  color: #ece9f2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.preview-task-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #84817d;
}

.preview-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #c9c5d3;
  padding: 1.5px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.preview-date {
  color: #84817d;
  font-size: 11px;
}

.preview-priority {
  display: inline-flex;
  align-items: center;
  color: #dfaf50;
}

.preview-star {
  flex: 0 0 19px;
  margin-top: 2px;
  color: #4a4854;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preview-star.active {
  color: #dfaf50;
}

.preview-section {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 1px;
  color: #737078;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-section:first-child {
  margin-top: -2px;
}

.preview-edge-scroller {
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  background: #1c1b22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 5px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.scroller-item {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #737078;
  border-radius: 6px;
}

.scroller-item.active {
  background: #dfaf50;
  color: #121214;
  border-radius: 8px;
}

.preview-composer {
  margin-top: 24px;
  background: #1a1921;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.composer-placeholder {
  color: #8e8b98;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.composer-hint {
  color: #8e8b98;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.token-gold {
  color: #dfaf50;
  font-weight: 500;
}

.composer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 2px;
}

.composer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.composer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.composer-btn-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #8e8b98;
}

.composer-btn-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #8e8b98;
}

.composer-btn-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #8e8b98;
}

.approach {
  background: var(--approach-bg);
}
.approach-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 100px;
  padding-block: 90px 96px;
}
.approach-heading .eyebrow {
  margin-bottom: 20px;
}
.approach-heading h2 {
  margin: 0;
  font: 500 clamp(39px, 5vw, 56px)/1.12 var(--serif);
  letter-spacing: -0.055em;
}
.intro {
  max-width: 540px;
  margin-bottom: 29px;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.75;
}
.principles article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid #dedde0;
}
.principle-number {
  padding-top: 3px;
  color: var(--gold-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.principles h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
}
.principles p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 82px 76px;
  text-align: center;
}
.closing-mark {
  display: inline-flex;
  margin-bottom: 17px;
}
.closing > p {
  margin-bottom: 25px;
  font: 500 clamp(25px, 4vw, 36px)/1.4 var(--serif);
  letter-spacing: -0.035em;
}
.button-link {
  padding: 11px 17px;
  border: 1px solid #d6d3d9;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.button-link:hover {
  border-color: var(--primary);
  color: var(--ink);
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.policy {
  max-width: 760px;
  padding-top: 58px;
  padding-bottom: 90px;
}
.back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.policy > .eyebrow {
  margin-bottom: 13px;
}
.policy h1 {
  margin-bottom: 4px;
  font: 500 clamp(42px, 6vw, 58px)/1.2 var(--serif);
  letter-spacing: -0.05em;
}
.policy-meta {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}
.policy-lede {
  margin-bottom: 33px;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.8;
}
.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
}
.contents a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}
.contents a:hover {
  background: var(--gold-soft);
  border-color: rgba(223, 175, 80, 0.45);
  color: var(--gold-ink);
  transform: translateY(-1px);
}
.policy section {
  padding-top: 34px;
  scroll-margin-top: 25px;
}
.policy section h2 {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.policy section p {
  margin-bottom: 13px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.85;
}
.policy section a {
  color: var(--gold-ink);
  text-underline-offset: 3px;
}
.policy-end {
  margin: 38px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 20px/1.5 var(--serif);
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 36px, 560px);
  }
  .site-header {
    min-height: 76px;
  }
  .site-header nav {
    gap: 19px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 64px 70px;
  }
  .hero h1 {
    max-width: 540px;
    font-size: clamp(48px, 12vw, 68px);
  }
  .preview {
    justify-self: center;
  }
  .approach-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 65px 70px;
  }
  .approach-heading h2 br {
    display: none;
  }
  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 18px;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand span {
    font-size: 17px;
  }
  .site-header nav {
    gap: 14px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  .hero {
    padding-top: 53px;
  }
  .preview {
    padding-inline: 14px;
  }
  .policy {
    padding-top: 38px;
  }
  .back-link {
    margin-bottom: 30px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --surface: #1b1a1f;
    --ink: #ece9f2;
    --secondary: #c9c5d3;
    --muted: #9b97a6;
    --line: #2a2833;
    --approach-bg: #161518;
    --surface-line: rgba(255, 255, 255, 0.08);
    --gold-ink: #dfaf50;
    --gold-soft: #302819;
    --preview-shadow: rgba(0, 0, 0, 0.28);
  }

  .check {
    border-color: #55515d;
  }
  .done {
    color: #8a8694;
  }
  .contents {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .contents a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.09);
    color: #c9c5d3;
  }
  .contents a:hover {
    background: rgba(223, 175, 80, 0.15);
    border-color: rgba(223, 175, 80, 0.45);
    color: #dfaf50;
  }
  .principles article {
    border-color: #302e35;
  }
}

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