:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] {
  --bg: #fff;
  --bg1: #fafafa;
  --bg2: #f5f5f7;
  --bg3: #ebebed;
  --fg: #1d1d1f;
  --fg2: #424245;
  --fg3: #86868b;
  --fg4: #aeaeb2;
  --border: rgba(0, 0, 0, 0.06);
  --border-s: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --bp: #1d1d1f;
  --bpf: #fff;
  --bph: #000;
  --green: #34c759;
  --blue: #007aff;
  --bg-b: rgba(0, 122, 255, 0.08);
  --muted: rgba(0, 0, 0, 0.04);
  --input-bg: #fff;
  --input-border: rgba(0, 0, 0, 0.12);
  --input-focus: var(--blue);
}
[data-theme="dark"] {
  --bg: #000;
  --bg1: #0a0a0a;
  --bg2: #141414;
  --bg3: #1c1c1e;
  --fg: #f5f5f7;
  --fg2: #a1a1a6;
  --fg3: #6e6e73;
  --fg4: #48484a;
  --border: rgba(255, 255, 255, 0.07);
  --border-s: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(0, 0, 0, 0.72);
  --bp: #f5f5f7;
  --bpf: #000;
  --bph: #fff;
  --green: #30d158;
  --blue: #0a84ff;
  --bg-b: rgba(10, 132, 255, 0.1);
  --muted: rgba(255, 255, 255, 0.05);
  --input-bg: var(--bg2);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-focus: var(--blue);
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.47;
  letter-spacing: -0.011em;
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection {
  background: rgba(0, 122, 255, 0.15);
}
a {
  color: inherit;
  text-decoration: none;
}
.w {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}
nav .w {
  display: flex;
  align-items: center;
  width: 100%;
}
.n-l {
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 18px;
  width: auto;
}
[data-theme="light"] .logo-dark {
  display: none;
}
[data-theme="dark"] .logo-light {
  display: none;
}
.n-r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tbtn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--fg3);
}
.tbtn:hover {
  border-color: var(--border-s);
  color: var(--fg2);
}
.tbtn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}
.tbtn:hover svg {
  transform: rotate(30deg);
}
[data-theme="light"] .tbtn .ic-moon {
  display: block;
}
[data-theme="light"] .tbtn .ic-sun {
  display: none;
}
[data-theme="dark"] .tbtn .ic-moon {
  display: none;
}
[data-theme="dark"] .tbtn .ic-sun {
  display: block;
}
.b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 13px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.b-s {
  padding: 6px 12px;
}
.b-m {
  padding: 8px 16px;
}
.b-l {
  padding: 10px 22px;
  font-size: 14px;
}
.b-p {
  background: var(--bp);
  color: var(--bpf);
}
.b-p:hover {
  background: var(--bph);
}
.b-o {
  background: none;
  color: var(--fg2);
  border: 1px solid var(--border-s);
}
.b-o:hover {
  border-color: var(--fg4);
  color: var(--fg);
}
.b-g {
  background: none;
  color: var(--fg3);
}
.b-g:hover {
  color: var(--fg);
}
.back {
  font-size: 13px;
  color: var(--fg3);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.back:hover {
  color: var(--fg);
}
.back svg {
  width: 14px;
  height: 14px;
}

/* MAIN */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 24px 48px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 900px;
  width: 100%;
  align-items: center;
}
.contact-left h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.contact-left p {
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 360px;
}
.perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg2);
  line-height: 1.45;
}
.perk-ic {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--bg-b);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 600;
}

/* FORM */
.form-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}
.form-card h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.form-card .sub {
  font-size: 13px;
  color: var(--fg3);
  margin-bottom: 24px;
}
.tabs {
  display: flex;
  gap: 2px;
  background: var(--bg2);
  border-radius: 8px;
  padding: 2px;
  margin-bottom: 24px;
}
.tab {
  flex: 1;
  padding: 7px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  color: var(--fg3);
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: var(--font);
}
.tab.on {
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .tab.on {
  background: var(--bg3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg3);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 13.5px;
  background: var(--input-bg);
  color: var(--fg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  letter-spacing: -0.01em;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field select:focus,
[data-theme="dark"] .field textarea:focus {
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.45;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2386868B' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.submit {
  width: 100%;
  margin-top: 8px;
}
.note {
  font-size: 11.5px;
  color: var(--fg4);
  text-align: center;
  margin-top: 12px;
}

/* SUCCESS */
.success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.success-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-b);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
}
.success h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.success p {
  font-size: 14px;
  color: var(--fg3);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* FOOTER */
.foot {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.foot-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--fg4);
}
.foot-lk {
  display: flex;
  gap: 14px;
}
.foot-lk a {
  color: var(--fg4);
  transition: color 0.15s;
}
.foot-lk a:hover {
  color: var(--fg3);
}

@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-left {
    text-align: center;
  }
  .contact-left p {
    margin: 0 auto 32px;
  }
  .perks {
    align-items: center;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .foot-b {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
