@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
}

:root {
  --ink: #111111;
  --muted: #5c5c5c;
  --hint: #6b6b6b;
  --line: #e4e4e4;
  --track: #e7e7e7;
  --green: #25d366;
  --green-press: #1da851;
  --soft: #f3f4f6;
  --danger: #9f1239;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;
  background: #fff;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

.app {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-height: 100dvh;
  background: #fff;
}

.screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}

h1,
.choice-label,
.primary,
.wa,
.linkish,
.phone {
  letter-spacing: -0.03em;
}

.brand {
  display: grid;
  grid-template-columns: 40fr 12fr 303.392fr;
  align-items: center;
  align-self: flex-start;
  width: min(355.392px, 100%);
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.brand-words {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.brand-word {
  display: block;
  height: auto;
  max-width: none;
}

.brand-word-name {
  width: 100%;
}

.brand-word-tag {
  width: calc(678 / 1089 * 100%);
  margin-top: 1.25%;
}

h1 {
  margin: 16px 0 8px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

h1:focus {
  outline: none;
}

.lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.35;
}

.hero {
  position: relative;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #e7e1d8;
  aspect-ratio: 16 / 9;
}

.hero-main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inset {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 84px;
  height: 84px;
  object-fit: cover;
  object-position: center;
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

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

.meter-track {
  flex: 1;
  height: 6px;
  background: var(--track);
  border-radius: 99px;
  overflow: hidden;
}

.meter-fill {
  height: 6px;
  background: var(--ink);
  border-radius: 99px;
}

.meter-label,
.nav-step {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.meter-final {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 16px 0 0;
}

.meter-final .meter-label {
  text-align: center;
  font-weight: 500;
}

.meter-final .meter-track {
  flex: none;
  width: 100%;
  height: 6px;
}

.meter-final .meter-fill {
  background: var(--green);
}

.nav-split,
.nav-center {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-split {
  justify-content: space-between;
  margin-bottom: 8px;
}

.nav-center {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border-bottom: 1px solid #eee;
  margin: 10px 0 4px;
  padding-bottom: 8px;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 8px 8px 8px 0;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 16px;
}

.nav-center .nav-step {
  text-align: center;
}

.eyebrow {
  margin: 16px 0 0;
  color: var(--hint);
  font-size: 15px;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.choice-label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.choice-hint {
  display: block;
  margin-top: 2px;
  color: var(--hint);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

.choice:active {
  background: #fafafa;
}

.choice:focus-visible,
.primary:focus-visible,
.wa:focus-visible,
.nav-back:focus-visible,
.linkish:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form {
  display: flex;
  flex-direction: column;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 14px;
  font-weight: 700;
}

.field-hint {
  color: var(--hint);
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  font-size: 16px;
}

textarea {
  min-height: 168px;
  resize: vertical;
  line-height: 1.4;
}

::placeholder {
  color: #9a9a9a;
}

.error {
  margin: 0 0 12px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}

.primary,
.wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  background: #111;
  color: #fff;
}

.primary:active {
  background: #000;
}

.wa {
  background: var(--green);
  color: #fff;
}

.wa:active {
  background: var(--green-press);
}

.after {
  margin: 14px 0 0;
  color: var(--hint);
  font-size: 14.5px;
  text-align: center;
}

.preview {
  margin: 4px 0 18px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: var(--soft);
  white-space: pre-wrap;
  font-size: 16.5px;
  line-height: 1.45;
}

.linkish {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.foot {
  margin-top: auto;
  padding-top: 18px;
  text-align: center;
}

.foot-note {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.4;
}

.phone {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
}

.noscript {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 20px;
}

@media (hover: hover) {
  .choice:hover {
    border-color: #111;
  }
}

@media (min-width: 520px) {
  body {
    background: #e9e9e9;
  }

  .app {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }
}
