:root {
  color-scheme: light;
  --ink: #182d2a;
  --paper: #f1f4ef;
  --white: #fffefa;
  --muted: #53635c;
  --line: #d4dfd5;
  --teal: #183e35;
  --lime: #d6e9a8;
  --soft: #e7eee3;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding: 18px 0 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9a541c; outline-offset: 3px; }
h1, h2, p { margin: 0; }
.wrap { width: min(100% - 30px, 446px); margin-inline: auto; }
main { display: grid; gap: 13px; padding-top: clamp(18px, 5vw, 52px); }
.skip { position: fixed; left: 10px; top: -100px; z-index: 5; background: white; padding: 10px; }
.skip:focus { top: 10px; }
.profile {
  padding: 26px 21px 20px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  text-align: center;
}
.profile-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  margin: 0 auto 13px;
  border: 2px solid #cce0b5;
  border-radius: 45% 45% 43% 43%;
  overflow: hidden;
  background: #28574a;
  color: var(--lime);
  font: 68px/1 Georgia, serif;
}
.profile-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile h1 { font: 500 37px/1.1 Georgia, serif; letter-spacing: -.035em; }
.profile-role { color: #e0eccd; font-size: 13px; margin: 5px 0 14px; }
.profile-brand {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #68917d;
  border-radius: 7px;
  margin-bottom: 11px;
  font-size: 12px;
}
.profile-brand strong { font: 19px Georgia, serif; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 720;
}
.primary { background: var(--lime); color: #1d3a2c; }
.primary:hover { background: #ebf4d5; }
.secondary { border-color: #9bae9c; background: transparent; }
.phone-placeholder { opacity: .72; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 15px; }
.panel h2 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; }
.social ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.social li {
  min-width: 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  font-size: 11px;
  font-weight: 670;
}
.social a { display: grid; place-items: center; width: 100%; min-height: 52px; text-decoration: underline; }
.social p { margin-top: 6px; color: var(--muted); font-size: 11px; }
.intro { padding: 12px 14px; background: var(--soft); border-left: 3px solid #538269; border-radius: 0 8px 8px 0; font-size: 13px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 11px; }
.section-heading p { font-size: 11px; color: var(--muted); }
.plans { display: grid; gap: 7px; }
.plan {
  width: 100%;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 9px;
  text-align: left;
  background: var(--white);
}
.plan:hover, .plan[aria-pressed=true] { border-color: #5a8368; background: var(--soft); }
.symbol {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}
.plan-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 7px; }
.plan-title { font-size: 14px; font-weight: 740; }
.category { color: #3c614c; font-size: 9px; letter-spacing: .035em; font-weight: 700; }
.plan-desc { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.plan-arrow { color: #4b6c59; font-size: 24px; line-height: 1; }
.review-intro p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-top: 13px; }
progress { width: 100%; height: 8px; accent-color: #48745d; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 13px; }
.fields label, .fields legend { font-size: 12px; font-weight: 700; min-width: 0; }
.fields :is(input:not([type=radio]), select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  margin-top: 4px;
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid #a4afa3;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
}
.wide { grid-column: 1 / -1; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 0 9px; }
.radios label { display: flex; align-items: center; min-height: 34px; gap: 4px; font-weight: 450; }
input[type=radio] { accent-color: var(--teal); }
.optional, .form-note { color: var(--muted); font-weight: 400; }
.form-note { font-size: 12px; margin: 11px 0; }
.review button.primary { width: 100%; background: var(--teal); color: var(--white); }
.review button.primary:hover { background: #2d624d; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 15px; padding: 15px 2px 98px; font-size: 11px; color: var(--muted); }
.bottom-nav {
  position: fixed;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100% - 22px, 446px);
  padding: 4px;
  border: 1px solid #648577;
  border-radius: 9px;
  background: var(--teal);
  color: var(--white);
}
.bottom-nav :is(a, button) {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 47px;
  padding: 3px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 10px;
  font-weight: 690;
}
.bottom-nav :is(a, button) span { font-size: 18px; line-height: 1.15; }
.bottom-nav :is(a, button):hover { background: #2b5648; }
.bottom-nav .nav-contact, .bottom-nav .nav-contact:hover { background: var(--lime); color: var(--teal); }
.toast { position: fixed; bottom: 73px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); z-index: 2; margin: 0; background: var(--teal); color: white; padding: 9px 12px; border-radius: 7px; font-size: 13px; }
dialog { width: min(446px, 100% - 30px); max-height: 85vh; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--white); }
dialog::backdrop { background: #0b1e19b5; }
.dialog-heading, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.dialog-heading h2 { font: 500 25px Georgia, serif; }
.close { border: 0; background: transparent; font-size: 25px; min-width: 38px; }
dialog p { font-size: 13px; margin: 6px 0; }
dialog pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--soft); border-radius: 7px; padding: 10px; font: 13px/1.4 system-ui, sans-serif; }
@media (max-width: 355px) {
  .fields { grid-template-columns: 1fr; }
  .social li { font-size: 10px; }
  .bottom-nav :is(a, button) { padding-inline: 0; }
}
