
:root{
  --bg:#f6f1eb;
  --bg2:#ffffff;
  --ink:#b20f10;
  --ink-soft:#c83738;
  --text:#2a1c1a;
  --muted:#7d6a68;
  --line:rgba(140,45,45,.16);
  --shadow:0 24px 60px rgba(76,24,24,.10);
  --radius:28px;
}
*{box-sizing:border-box}
html,body{
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
}
body{
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214,33,33,.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(214,33,33,.06), transparent 26%),
    linear-gradient(180deg, #faf7f3 0%, #f2ece6 100%);
  color:var(--text);
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}

.screen{
  height:100dvh;
  width:100%;
  padding:clamp(12px, 2vh, 22px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.card{
  width:min(1380px, 100%);
  height:min(92dvh, 860px);
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(460px,.95fr);
  align-items:center;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.88);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  backdrop-filter:blur(12px);
}

.visual{
  width:min(calc(100% - 48px), calc(92dvh - 70px), 790px);
  aspect-ratio:1 / 1;
  justify-self:center;
  align-self:center;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 48px rgba(99,22,22,.10);
}

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

.content{
  min-height:0;
  padding:clamp(28px, 4vw, 54px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.brandline{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--ink-soft);
  box-shadow:0 0 0 6px rgba(200,55,56,.12);
}
h1{
  margin:20px 0 0;
  font-size:clamp(56px, 8vw, 118px);
  line-height:.92;
  letter-spacing:.01em;
  color:var(--ink);
  font-weight:900;
}
.ticker{
  margin:12px 0 0;
  font-size:clamp(20px, 2vw, 28px);
  font-weight:800;
  letter-spacing:.24em;
  color:#8f3131;
}
.lead{
  margin:22px 0 0;
  max-width:520px;
  color:#5e4a47;
  font-size:clamp(16px, 1.4vw, 20px);
  line-height:1.6;
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.btn{
  min-width:96px;
  padding:14px 18px;
  border-radius:16px;
  border:1px solid var(--line);
  background:var(--bg2);
  color:#6f2f2f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-align:center;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(177,23,24,.10);
  border-color:rgba(177,23,24,.30);
}
.btn-primary{
  background:linear-gradient(180deg, #dc2021 0%, #ba1415 100%);
  color:#fff6f6;
  border-color:transparent;
}
.is-disabled{
  opacity:.45;
  cursor:default;
}
.contract-box{
  margin-top:26px;
  padding:16px 16px 14px;
  border-radius:20px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(178,15,16,.10);
}
.contract-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
}
.contract-head button{
  padding:8px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:#7c3131;
  cursor:pointer;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}
.contract-box code{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:clamp(14px, 1.25vw, 18px);
  color:#2d2020;
  font-weight:700;
}
.footnote{
  margin-top:14px;
  color:#8a7775;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}

@media (max-width: 980px){
  .screen{
    padding:10px;
  }
  .card{
    height:min(96dvh, 920px);
    grid-template-columns:1fr;
    grid-template-rows:minmax(0,.9fr) minmax(0,1.1fr);
  }
  .visual{
    width:min(76vw, 38dvh, 420px);
    aspect-ratio:1 / 1;
    margin-top:10px;
    border-radius:20px;
  }
  .content{
    padding:20px 18px 22px;
    justify-content:center;
  }
  h1{
    font-size:clamp(44px, 12vw, 72px);
  }
  .lead{
    font-size:15px;
    line-height:1.45;
    margin-top:14px;
  }
  .actions{
    gap:10px;
    margin-top:20px;
  }
  .btn{
    flex:1 1 calc(50% - 5px);
    min-width:0;
    padding:12px 12px;
  }
  .contract-box{
    margin-top:18px;
  }
}
