﻿:root {
  --ink: #202629;
  --muted: #5c666c;
  --line: #c6cccf;
  --red: #e52c0a;
  font-family: 'Pretendard Variable', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f6f6;
  line-height: 1.5;
}
main {
  display: flow-root;
  max-width: 600px;
  margin: 48px auto;
  padding: 32px;
  background: white;
}
.brand {
  display: inline-block;
}
h1 {
  margin: 24px 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.file {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e8eaeb;
}
.file svg {
  flex-shrink: 0;
  color: var(--red);
}
.file div {
  min-width: 0;
}
.file small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.file strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
label {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
}
label[data-field='name'] {
  grid-column: 1 / -1;
}
input:not([type='checkbox']) {
  display: block;
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  padding: 12px;
  margin-top: 8px;
  border-radius: 6px;
  background: #fafbfb;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
input:not([type='checkbox']):hover {
  border-color: #858f95;
}
input:not([type='checkbox']):focus {
  background: white;
  border-color: var(--red);
}
input,
button,
a {
  -webkit-tap-highlight-color: transparent;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.privacy {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.privacy p {
  margin: 0;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 4px 0 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--red);
}
.consent a {
  color: inherit;
  text-decoration-color: #a4acb0;
  text-underline-offset: 4px;
}
.consent a:hover {
  text-decoration-color: var(--ink);
}
button {
  display: block;
  width: 100%;
  min-height: 52px;
  background: var(--red);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 14px 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
button:hover {
  background: #c8270a;
}
button:active {
  background: #b22208;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.error {
  color: #a61f15;
  background: #fff3ef;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
}
.error:empty {
  display: none;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.embedded {
  background: white;
}
.embedded main {
  margin: 0;
  padding: 0 24px 24px;
  min-height: 0;
}
.embedded .brand,
.embedded h1 {
  display: none;
}
[role='status'] {
  padding-block: 16px 8px;
}
[role='status'] p {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
}
[role='status'] a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  text-underline-offset: 4px;
}
::selection {
  background: #ffe0d8;
  color: #202629;
}
@media (max-width: 600px) {
  main {
    margin: 0;
    padding: 24px;
  }
  .embedded main {
    padding: 0 24px 24px;
  }
}
@media (max-width: 520px) {
  label[data-field='email'],
  label[data-field='phone'] {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  input,
  button {
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease;
  }
}
