/* Landing cycle 03: one instruction, illustrated. Independent of the application theme. */
@font-face { font-family: Fraunces; src: url(fonts/Fraunces-latin-300_700.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Chivo; src: url(fonts/Chivo-latin-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Chivo; src: url(fonts/Chivo-latin-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
:root { color-scheme: dark; --bg: #12100e; --text: #f4efe6; --muted: #b8aa9b; --line: #44382e; --accent: #ff805f; --serif: Fraunces, Georgia, serif; --sans: Chivo, system-ui, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; background-image: radial-gradient(ellipse at 76% 35%,#38241855,transparent 52%); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; top: 8px; left: 12px; padding: 12px 20px; background: var(--text); color: var(--bg); transform: translateY(-180%); z-index: 2; }
.skip-link:focus { transform: none; }
.site-header, .landing-main, .site-footer { width: min(1180px,100%); margin: auto; padding-left: 36px; padding-right: 36px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.wordmark { font: 600 27px/1 var(--serif); letter-spacing: -.03em; min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { color: var(--muted); font-size: 13px; min-height: 44px; display: flex; align-items: center; }
.site-header nav a:hover { color: var(--text); }
.landing-main { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); column-gap: 60px; padding-top: 70px; padding-bottom: 30px; align-items: center; }
.hero { padding: 0 0 40px; }
.eyebrow { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin: 0 0 25px; }
h1 { font: 400 clamp(46px,5.1vw,72px)/1.06 var(--serif); letter-spacing: -.045em; margin: 0 0 25px; }
h1 em { color: #edb598; font-weight: 400; }
.hero-copy { color: var(--muted); max-width: 31ch; font-size: 17px; line-height: 1.6; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 54px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: background .15s, border-color .15s; }
.button.primary { background: #ff7956; border-color: #ff7956; color: #23130c; font-weight: 500; }
.button.primary:hover { background: #ff9577; border-color: #ff9577; }
.button.secondary { color: var(--text); }
.button.secondary:hover { border-color: var(--accent); }
.availability { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin: 18px 0 0; }
.availability > span { width: 5px; height: 5px; background: #d4ad70; border-radius: 50%; flex-shrink: 0; }
.example { min-width: 0; position: relative; border: 0; margin: 0; padding: 0 10px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; align-items: start; }
.example legend { padding: 0 0 16px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.choice-input { position: relative; opacity: 0; width: 100%; height: 46px; margin: 0; z-index: 1; cursor: pointer; }
#example-buy, .buy-choice { grid-area: 1 / 1; }
#example-sell, .sell-choice { grid-area: 1 / 2; }
.choice { cursor: pointer; text-align: center; min-height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid #5a4637; font-size: 13px; color: var(--muted); background: #1b1612; }
.buy-choice { border-radius: 9px 0 0 9px; }
.sell-choice { border-radius: 0 9px 9px 0; border-left: 0; }
#example-buy:checked + .choice, #example-sell:checked + .choice { background: #3b291f; color: #ffd8bc; box-shadow: inset 0 -2px #ff9472; }
.choice-input:focus-visible + .choice { outline: 2px solid var(--accent); outline-offset: 4px; }
.choice:hover { color: var(--text); }
.example-graphic { grid-column: 1 / -1; padding-top: 24px; }
.only-sell { display: none; }
#example-sell:checked ~ .example-graphic .only-buy { display: none; }
#example-sell:checked ~ .example-graphic .only-sell { display: inline; }
.holding { display: flex; align-items: center; gap: 12px; padding: 0 4px 21px; position: relative; }
.asset-mark { width: 46px; height: 46px; border: 1px solid #aa8060; border-radius: 50%; display: grid; place-items: center; background: #31241b; color: #f7cda8; box-shadow: 4px 3px 0 #1e1813,5px 4px 0 #71583f; font: 500 22px var(--serif); flex-shrink: 0; }
.holding strong { display: block; font-size: 17px; font-weight: 400; line-height: 1.2; }
.small-label { font-size: 11px; color: var(--muted); }
.holding-line { height: 1px; flex: 1; background: linear-gradient(90deg,#76563d,#76563d00); margin-left: 14px; }
.instruction { position: relative; color: #302016; padding: 24px 28px 0; border: 1px solid #f5ddba; border-radius: 13px; background: #efdec4; box-shadow: 0 18px 45px #0003,7px 8px 0 #282018; }
.instruction-top { display: flex; gap: 16px; justify-content: space-between; align-items: center; color: #675340; font-size: 12px; }
.instruction-direction { color: #734227; font-size: 11px; }
.price { font: 400 clamp(52px,5.3vw,76px)/1.15 var(--serif); letter-spacing: -.045em; margin-top: 11px; font-variant-numeric: lining-nums tabular-nums; }
.price-unit { margin: 0 0 24px; color: #6e5741; font-size: 13px; }
.date-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed #ad957a; padding: 17px 0; }
.date-row .small-label { color: #675340; }
.date-row strong { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 400; }
.year { color: #6e5741; font-size: 11px; }
.calendar-mark { display: inline-block; width: 17px; height: 17px; border: 1px solid #846345; border-radius: 3px; position: relative; }
.calendar-mark::before { content: ''; position: absolute; height: 4px; left: -1px; right: -1px; top: 2px; border-bottom: 1px solid #846345; }
.outcome { text-align: center; }
.outcome-stem { height: 29px; width: 1px; margin: 9px auto 12px; background: #886145; position: relative; }
.outcome-stem::after { content: ''; position: absolute; bottom: -1px; left: -3px; width: 7px; height: 7px; border-right: 1px solid #bd8c62; border-bottom: 1px solid #bd8c62; transform: rotate(45deg); }
.outcome p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.asset-options { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.asset-options > span:not(.or) { display: inline-flex; align-items: center; gap: 6px; }
.or { font-size: 11px; color: var(--muted); }
.mini-token { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 50%; color: #d8cab8; background: #36302a; border: 1px solid #5b5042; font: 400 12px var(--serif); }
.mini-token.cash { background: #33271d; color: #e8c39e; }
.terms { grid-column: 1 / -1; margin-top: 48px; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; justify-content: space-between; font-size: 12px; color: var(--muted); }
.terms > p { margin: 0; min-height: 44px; display: flex; align-items: center; gap: 12px; }
.lock-mark { width: 13px; height: 11px; border: 1px solid #bb997a; border-radius: 2px; position: relative; flex-shrink: 0; margin-top: 4px; }
.lock-mark::before { content: ''; position: absolute; width: 7px; height: 7px; left: 2px; bottom: 9px; border: 1px solid #bb997a; border-bottom: 0; border-radius: 8px 8px 0 0; }
.terms details { max-width: 430px; }
.terms summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: var(--text); }
.terms summary::marker { color: var(--accent); }
.terms-detail { line-height: 1.7; }
.terms-detail p { margin: 6px 0 12px; }
.terms-detail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.site-footer { padding-top: 16px; padding-bottom: 28px; display: flex; gap: 16px; justify-content: space-between; align-items: center; color: #a99b8c; font-size: 11px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 900px) {
  .landing-main { column-gap: 32px; padding-top: 48px; }
  h1 { font-size: 49px; }
  .hero-actions { gap: 10px; }
  .button { padding: 12px 18px; font-size: 13px; }
  .instruction { padding: 20px 20px 0; }
}
@media (max-width: 680px) {
  .site-header, .landing-main, .site-footer { padding-left: 22px; padding-right: 22px; }
  .site-header { padding-top: 15px; padding-bottom: 14px; gap: 10px; flex-wrap: wrap; }
  .wordmark { font-size: 24px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 11px; }
  .landing-main { grid-template-columns: minmax(0,1fr); padding-top: 38px; padding-bottom: 8px; }
  .hero { padding-bottom: 32px; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .11em; }
  h1 { font-size: clamp(39px,10.7vw,58px); margin-bottom: 18px; line-height: 1.08; }
  .hero-copy { font-size: 15px; max-width: 31ch; margin-bottom: 24px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .button { font-size: 12px; gap: 10px; padding: 12px 10px; }
  .availability { margin-top: 13px; font-size: 11px; }
  .example { padding-right: 7px; }
  .example legend { padding-bottom: 12px; font-size: 10px; }
  .example-graphic { padding-top: 20px; }
  .holding { padding-bottom: 18px; }
  .instruction { padding: 20px 22px 0; }
  .price { font-size: clamp(54px,16vw,76px); }
  .price-unit { margin-bottom: 22px; }
  .outcome-stem { height: 23px; margin-bottom: 11px; }
  .terms { margin-top: 30px; padding-top: 16px; display: block; }
  .terms > p { font-size: 11px; gap: 10px; }
  .terms details { max-width: none; }
  .site-footer { padding-top: 4px; padding-bottom: 20px; font-size: 10px; gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 359px) {
  .site-header, .landing-main, .site-footer { padding-left: 18px; padding-right: 18px; }
  .site-header nav { width: 100%; gap: 24px; }
  .landing-main { padding-top: 28px; }
  h1 { font-size: 37px; }
  .button { font-size: 11px; }
  .terms > p { align-items: flex-start; padding-top: 12px; }
  .instruction { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
