*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --tk-blue: #0b5cab;
  --tk-blue-dark: #084987;
  --tk-text: #1f2937;
  --tk-muted: #667085;
  --tk-border: #d8e0ea;
  --tk-bg: #f4f7fb;
  --tk-card: #ffffff;
  --tk-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --tk-radius: 16px;
  --tk-radius-sm: 10px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tk-text);
  background:
    linear-gradient(180deg, #eef4fa 0%, #f7f9fc 220px, var(--tk-bg) 220px);
  line-height: 1.5;
}

a {
  color: var(--tk-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 36px;
}

.tk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 0 4px;
}

.tk-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.tk-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tk-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}

.tk-brand {
  min-width: 0;
}

.tk-company {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.tk-tagline {
  margin-top: 4px;
  color: var(--tk-muted);
  font-size: 0.97rem;
}

.tk-header-right {
  text-align: right;
  color: var(--tk-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-shrink: 0;
}

.content {
  display: block;
}

.form-card {
  background: var(--tk-card);
  border: 1px solid var(--tk-border);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow);
  padding: 30px;
}

h1 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.2;
  color: #152238;
}

.form-intro {
  margin: 10px 0 0;
  color: var(--tk-muted);
  font-size: 1rem;
  max-width: 720px;
}

.form-group {
  margin-top: 18px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
  margin-top: 2px;
}

.grid-2-narrow {
  align-items: start;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1d2939;
}

.required::after {
  content: " *";
  color: #c62828;
}

.hint {
  display: block;
  margin-top: 6px;
  color: var(--tk-muted);
  font-size: 0.91rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #bcc7d4;
  border-radius: var(--tk-radius-sm);
  background: #fff;
  color: var(--tk-text);
  font: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

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

input::placeholder,
textarea::placeholder {
  color: #98a2b3;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--tk-blue);
  box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.12);
}

input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 0;
  font: inherit;
  color: var(--tk-text);
}

.file-list {
  display: block;
  margin-top: 8px;
  color: var(--tk-muted);
  font-size: 0.92rem;
}

.form-actions {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}

button[type="submit"] {
  min-height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: var(--tk-blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    transform 0.05s ease;
}

button[type="submit"]:hover {
  background: var(--tk-blue-dark);
}

button[type="submit"]:active {
  transform: translateY(1px);
}

.tk-footer {
  margin-top: 22px;
  padding: 0 4px;
  color: var(--tk-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-sep {
  display: inline-block;
  margin: 0 8px;
  color: #98a2b3;
}

@media (max-width: 860px) {
  .tk-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tk-header-right {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 20px 14px 28px;
  }

  .form-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .tk-header-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tk-logo {
    width: 190px;
  }

  h1 {
    font-size: 1.65rem;
  }
}