:root {
      --paper: #f7f1e5;
      --paper-2: #fffaf1;
      --ink: #203028;
      --muted: #5c675f;
      --forest: #244737;
      --leaf: #5b9167;
      --gold: #d59836;
      --rose: #f0dfc6;
      --line: rgba(36, 71, 55, 0.12);
      --shadow: 0 28px 60px rgba(41, 45, 34, 0.1);
      --radius: 26px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "Avenir Next", "Trebuchet MS", "Helvetica Neue", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top right, rgba(213, 152, 54, 0.18), transparent 26%),
        radial-gradient(circle at left center, rgba(91, 145, 103, 0.16), transparent 28%),
        linear-gradient(180deg, #fbf7ef 0%, #f2eadb 100%);
    }

    a { color: inherit; text-decoration: none; }

    .shell {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
      padding: 24px 0 56px;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 22px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: 0.03em;
    }

    .brand-logo {
      height: 120px;
      width: auto;
      display: block;
      flex-shrink: 0;
    }

    .mark {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--forest), var(--leaf));
      color: white;
      display: grid;
      place-items: center;
    }

    .nav a.link {
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.5);
      color: var(--muted);
      border: 1px solid rgba(255,255,255,0.45);
    }

    .page-head {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 22px;
      margin-bottom: 22px;
    }

    .panel {
      background: rgba(255, 250, 241, 0.84);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      backdrop-filter: blur(16px);
    }

    .hero {
      padding: 34px;
    }

    .eyebrow {
      display: inline-block;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(240, 223, 198, 0.7);
      color: var(--forest);
      font-weight: 700;
      font-size: 0.84rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    h1 {
      margin: 18px 0 14px;
      font-family: "Iowan Old Style", "Palatino Linotype", serif;
      font-size: clamp(2.5rem, 4.6vw, 4.2rem);
      line-height: 1.02;
    }

    .lead {
      margin: 0;
      color: var(--muted);
      line-height: 1.75;
      max-width: 58ch;
    }

    .summary {
      padding: 28px;
      background: linear-gradient(180deg, rgba(36, 71, 55, 0.97), rgba(28, 54, 41, 0.98));
      color: white;
    }

    .summary .price {
      font-size: 2.8rem;
      font-weight: 800;
      margin: 8px 0 4px;
    }

    .summary small {
      color: rgba(255,255,255,0.76);
      line-height: 1.7;
    }

    .summary ul {
      list-style: none;
      padding: 0;
      margin: 18px 0 0;
      display: grid;
      gap: 10px;
    }

    .summary li {
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(255,255,255,0.08);
    }

    .layout {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 22px;
    }

    .form-card {
      padding: 30px;
    }

    .section-title {
      margin: 0 0 18px;
      font-size: 1.18rem;
    }

    .device-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-bottom: 22px;
    }

    .choice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-bottom: 22px;
    }

    .choice-grid-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .choice-option {
      display: block;
      cursor: pointer;
      position: relative;
    }

    .choice-input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .choice-card {
      display: block;
      min-height: 100%;
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    .choice-option:hover .choice-card {
      transform: translateY(-1px);
      border-color: rgba(36, 71, 55, 0.25);
    }

    .choice-input:checked + .choice-card {
      border-color: rgba(36, 71, 55, 0.42);
      background: linear-gradient(180deg, rgba(217, 234, 215, 0.84), rgba(255,255,255,0.92));
      box-shadow: inset 0 0 0 1px rgba(36, 71, 55, 0.08), 0 10px 22px rgba(36, 71, 55, 0.08);
    }

    .device {
      padding: 18px;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.6);
    }

    .device.active {
      border-color: rgba(36, 71, 55, 0.42);
      background: linear-gradient(180deg, rgba(217, 234, 215, 0.84), rgba(255,255,255,0.92));
      box-shadow: inset 0 0 0 1px rgba(36, 71, 55, 0.08);
    }

    .device strong {
      display: block;
      margin-bottom: 6px;
    }

    .device span {
      color: var(--muted);
      line-height: 1.6;
      font-size: 0.95rem;
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    label {
      display: grid;
      gap: 8px;
      margin-bottom: 14px;
      font-weight: 700;
      font-size: 0.94rem;
    }

    input, select, textarea {
      width: 100%;
      border: 1px solid rgba(36, 71, 55, 0.14);
      border-radius: 16px;
      padding: 14px 15px;
      background: rgba(255,255,255,0.88);
      font: inherit;
      color: var(--ink);
    }

    textarea {
      min-height: 104px;
      resize: vertical;
    }

    .action-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 12px;
    }

    .flash {
      margin-bottom: 18px;
      padding: 16px 18px;
      border-radius: 18px;
      font-weight: 700;
      line-height: 1.6;
    }

    .flash-success {
      background: rgba(217, 234, 215, 0.84);
      color: var(--forest);
      border: 1px solid rgba(36, 71, 55, 0.2);
    }

    .flash-error {
      background: rgba(240, 223, 198, 0.9);
      color: #7b2f16;
      border: 1px solid rgba(123, 47, 22, 0.16);
    }

    .flash-hidden {
      display: none;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 20px;
      border-radius: 18px;
      font-weight: 800;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--forest), var(--leaf));
      color: white;
      box-shadow: 0 16px 30px rgba(36, 71, 55, 0.18);
    }

    .btn-primary[disabled] {
      opacity: 0.58;
      cursor: not-allowed;
      box-shadow: none;
    }

    .btn-ghost {
      background: rgba(255,255,255,0.72);
      border: 1px solid var(--line);
      color: var(--forest);
    }

    .side-card {
      padding: 24px;
      margin-bottom: 18px;
    }

    .side-card h3 {
      margin: 0 0 12px;
      font-size: 1.08rem;
    }

    .side-card p, .side-card li {
      color: var(--muted);
      line-height: 1.7;
    }

    .side-card ul {
      padding-left: 18px;
      margin: 0;
    }

    .footer {
      margin-top: 24px;
      padding: 22px 24px;
      border-radius: 24px;
      background: rgba(36, 71, 55, 0.92);
      color: rgba(255,255,255,0.86);
      display: grid;
      gap: 8px;
      box-shadow: var(--shadow);
    }

    .footer-brand {
      font-weight: 800;
      color: #fff;
    }

    .footer-company,
    .footer-meta {
      display: grid;
      gap: 4px;
      line-height: 1.65;
    }

    .footer-company strong {
      color: #fff;
    }

    .footer a {
      color: #fff;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    @media (max-width: 940px) {
      .page-head,
      .layout,
      .field-grid,
      .device-grid,
      .choice-grid {
        grid-template-columns: 1fr;
      }
    }
