@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=IBM+Plex+Mono:wght@400;600&display=swap");

:root{
  --bg: #f2efe8;
  --bg-deep: #ece6dc;
  --card: #fffdfa;
  --line: #d4cab8;
  --ink: #1f2529;
  --ink-soft: #4e5962;
  --brand: #0f6a59;
  --brand-2: #c96d1b;
  --brand-dark: #0a4f43;
  --shadow: 0 14px 38px rgba(27, 31, 35, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
}

*{
  box-sizing: border-box;
}

body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(1200px 560px at 90% -10%, rgba(201, 109, 27, 0.16), transparent 60%),
    radial-gradient(820px 520px at -10% 20%, rgba(15, 106, 89, 0.14), transparent 62%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-deep) 100%);
  font: 400 16px/1.68 "Sora", "Avenir Next", "Segoe UI", sans-serif;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 18px 52px;
}

.header{
  background: linear-gradient(145deg, #fffefc 0%, #fbf7f0 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 24px 18px;
}

.header h1{
  margin:0 0 10px;
  font-size: clamp(32px, 5.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.sub{
  margin: 0 0 14px;
  color:var(--ink-soft);
  max-width: 70ch;
}

h2{
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p, li{
  margin-top: 0;
}

ul, ol{
  margin: 10px 0 0;
  padding-left: 22px;
}

li{
  margin-bottom: 6px;
}

li::marker{
  color: var(--brand-2);
}

hr{
  border:0;
  border-top:1px solid var(--line);
  margin: 26px 0;
}

section{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 22, 28, 0.06);
  padding: 18px 18px 16px;
  margin: 0 0 16px;
  animation: reveal 500ms ease both;
}

section:nth-of-type(2){ animation-delay: 50ms; }
section:nth-of-type(3){ animation-delay: 90ms; }
section:nth-of-type(4){ animation-delay: 130ms; }
section:nth-of-type(5){ animation-delay: 170ms; }
section:nth-of-type(6){ animation-delay: 210ms; }

a{
  color:var(--brand);
  text-decoration: none;
  font-weight: 600;
}

a:hover{
  color: #0a5849;
}

.cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  font-weight: 600;
}

.cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.cta a:first-child{
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.cta a:first-child:hover{
  background: #0d584b;
}

.small{
  font-size: 13px;
  color:#5f676f;
}

.video{
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background:#0b1114;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.video video{
  width: 100%;
  height: 430px;
  display:block;
  background:#0b1114;
}

table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  overflow: hidden;
  border:1px solid var(--line);
  border-radius: 10px;
}

th, td{
  text-align:left;
  border-bottom:1px solid var(--line);
  padding:10px;
  vertical-align:top;
}

tr:last-child th,
tr:last-child td{
  border-bottom:0;
}

th{
  background:#f9f3e7;
  font-weight:700;
}

.founder-card{
  border:1px solid var(--line);
  border-radius: 10px;
  padding:12px;
  display:grid;
  grid-template-columns: 170px 1fr;
  gap:16px;
  background:#fff;
}

.portrait-slot{
  min-height: 210px;
  border:1px dashed #ad9f86;
  border-radius: 10px;
  background: linear-gradient(170deg, #fffaf1 0%, #f0ebe2 100%);
  color:#6f6656;
  font-size:12px;
  line-height:1.45;
  padding:10px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}

.portrait-slot span{
  display:block;
  margin-top:8px;
  font-family: "IBM Plex Mono", "Fira Mono", monospace;
  font-size: 11px;
}

.form-card{
  border:1px solid #d4c4a8;
  border-radius: var(--radius-md);
  padding:20px 20px 18px;
  background: linear-gradient(180deg, #fff 0%, #fcf7ee 100%);
  box-shadow: 0 10px 30px rgba(28, 35, 41, 0.08);
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.9vw, 22px);
}

.field{
  display:block;
  min-width: 0;
}

.field-full{
  grid-column: 1 / -1;
}

label{
  display:block;
  font-weight:700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #334049;
  margin:0 0 6px;
}

input, select, textarea{
  appearance: none;
  width:100%;
  padding: 13px 14px;
  border:1.5px solid #c8baa1;
  border-radius: 12px;
  font:inherit;
  font-size: clamp(15px, 1.8vw, 17px);
  background: #fffefb;
  color:var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

input, select{
  min-height: clamp(48px, 6vw, 56px);
}

select{
  background-image:
    linear-gradient(45deg, transparent 50%, #6a5f4f 50%),
    linear-gradient(135deg, #6a5f4f 50%, transparent 50%),
    linear-gradient(to right, #dfd3c0, #dfd3c0);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%,
    calc(100% - 2.2rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 65%;
  background-repeat: no-repeat;
  padding-right: 46px;
}

textarea{
  resize: vertical;
  min-height: clamp(150px, 20vw, 220px);
  line-height: 1.5;
}

input::placeholder,
textarea::placeholder{
  color: #8c867a;
}

input:focus, select:focus, textarea:focus{
  outline:none;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(15, 106, 89, 0.18);
  background: #fff;
}

button{
  margin-top: 6px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border:1px solid var(--brand-dark);
  border-radius: 10px;
  background: linear-gradient(180deg, #157763 0%, #0f6a59 100%);
  color:#fff;
  font: 700 clamp(15px, 1.8vw, 17px)/1.2 "Sora", "Avenir Next", sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(15, 106, 89, 0.22);
  cursor:pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

button:hover{
  background: linear-gradient(180deg, #0f6a59 0%, #0b5648 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 106, 89, 0.24);
}

.footer{
  margin-top: 10px;
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(255, 253, 249, 0.9);
}

.footer p{
  margin: 0 0 8px;
}

.footer p:last-child{
  margin-bottom: 0;
}

.request-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

.deal-desk{
  border:1px solid #dbcdb4;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #fff8ea 0%, #f4ede0 100%);
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
}

.deal-desk h3{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.deal-desk p{
  margin: 0 0 10px;
}

.deal-desk ul{
  margin: 8px 0 10px;
}

@keyframes reveal{
  from{
    opacity:0;
    transform: translateY(8px);
  }
  to{
    opacity:1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  section{
    animation: none;
  }
}

@media (max-width: 780px){
  .wrap{
    padding: 22px 14px 34px;
  }

  .header{
    padding: 18px 15px 14px;
  }

  section{
    padding: 14px 13px 12px;
  }

  .video video{
    height: 248px;
  }

  .founder-card{
    grid-template-columns: 1fr;
  }

  .portrait-slot{
    min-height: 120px;
  }

  .form-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .request-layout{
    grid-template-columns: 1fr;
  }

  .form-card{
    padding: 16px 14px;
  }
}
