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

:root {
  --bg-1: #f6f1ea;
  --bg-2: #fff9f2;
  --card: #fffdf9;
  --line: #edd8c4;
  --ink: #2f2017;
  --muted: #6e594d;
  --accent: #e55e1b;
  --accent-2: #f39a33;
  --ok: #1b8b58;
  --bad: #b93d3d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 100% -10%, #ffd6b8 0%, transparent 60%),
    radial-gradient(900px 420px at -10% 105%, #ffe7d2 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 44px;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(48, 31, 21, 0.08);
  animation: rise-in 420ms ease both;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.product-icon {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  border: 1px solid #f0cfb5;
  background: #fff7ef;
  box-shadow: 0 10px 26px rgba(230, 102, 28, 0.22);
  object-fit: cover;
}

.hero-copy {
  min-width: 0;
}

.badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #7f4f2e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #f3cfb2;
  background: #fff5eb;
  border-radius: 999px;
  padding: 6px 12px;
}

h1 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.15;
  max-width: 980px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 880px;
  font-size: 1.02rem;
}

.hero-pricing {
  margin: 12px 0 0;
  color: #8f4f28;
  font-weight: 700;
}

.grid {
  margin-top: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.panel h2 {
  margin: 0 0 9px;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.feature-list li {
  background: #fff6ed;
  border: 1px solid #f5decb;
  border-radius: 12px;
  padding: 11px 12px;
}

.checkout {
  border: 1px solid #f2c9aa;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf4, #fff3e8);
  padding: 18px;
}

.checkout h3 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.plan-picker {
  display: grid;
  gap: 9px;
}

.plan-option {
  position: relative;
  display: grid;
  gap: 6px;
  font-size: 0.94rem;
  border: 1px solid #efd4bf;
  border-radius: 13px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.plan-option:hover {
  transform: translateY(-1px);
  border-color: #ebb990;
}

.plan-option input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.plan-option.is-selected {
  border-color: #e77d41;
  box-shadow: 0 0 0 3px rgba(231, 125, 65, 0.18);
}

.plan-option.featured {
  background: linear-gradient(180deg, #fff8f1 0%, #fff2e6 100%);
}

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-value {
  color: #9f3708;
  font-weight: 800;
}

.tag-discount {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffead8;
  border: 1px solid #f6bc92;
  color: #ae460e;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.plan-before {
  color: #8b776b;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.plan-caption {
  color: var(--muted);
  font-size: 0.84rem;
}

.price-line {
  margin: 12px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-family: "Sora", sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: #af3f0e;
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.sync-note {
  margin: 5px 0 0;
  color: #815f4b;
  font-size: 0.8rem;
}

.form-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-full {
  grid-column: span 2;
}

label {
  font-size: 0.84rem;
  color: #5f4c42;
}

input {
  width: 100%;
  height: 39px;
  border-radius: 10px;
  border: 1px solid #e8cdb8;
  background: #fff;
  padding: 0 11px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

input:focus {
  outline: none;
  border-color: #ef9153;
  box-shadow: 0 0 0 3px rgba(239, 145, 83, 0.2);
}

.small-text {
  margin-top: 9px;
  color: #7c6457;
  font-size: 0.81rem;
}

.actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 0;
  height: 43px;
  border-radius: 12px;
  padding: 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-pay {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(229, 101, 28, 0.32);
}

.btn-pay[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.status {
  min-height: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.status.ok {
  color: var(--ok);
}

.status.bad {
  color: var(--bad);
}

.footer-note {
  margin-top: 16px;
  font-size: 0.84rem;
  color: #81695b;
}

.simple-page {
  width: min(760px, calc(100% - 32px));
  margin: 45px auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 24px;
}

.simple-page h1 {
  margin-bottom: 8px;
}

.simple-page p {
  color: var(--muted);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 930px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 18px);
  }

  .hero {
    padding: 16px;
    border-radius: 18px;
  }

  .price {
    font-size: 1.72rem;
  }

  .hero-brand {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }

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

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