@charset "UTF-8";

/* Tokens loaded via tokens.css — nav uses CSS vars directly */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--surface-page);
    color: var(--text-main);
}

body.menu-open-body {
    overflow: hidden;
}

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        transform 0.4s var(--spring-easing),
        background 0.35s ease,
        border-color 0.35s ease,
        backdrop-filter 0.35s ease;
}

.nav-container.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container.is-hidden {
    transform: translateY(-100%);
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-content {
    width: 100%;
    padding: 16px clamp(28px, 4vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 72px;
    width: auto;
    display: block;
    transition: opacity 0.25s ease;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.menu-item,
.dropdown-group,
.dropdown-subitem {
    position: relative;
}

.dropdown-group::after,
.dropdown-subitem::after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    width: 12px;
    height: 100%;
}

.menu-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.menu-link,
.dropdown-link,
.dropdown-sublink {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.25s var(--spring-easing);
}

.menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 0;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.25s ease;
}

.menu-item:hover > .menu-link {
    color: #C4A77D;
}

.nav-container.is-scrolled .menu-link {
    color: rgba(26, 26, 26, 0.9);
}

.menu-item.active > .menu-link {
    color: #fff;
    font-weight: 600;
}

.nav-container.is-scrolled .menu-item.active > .menu-link {
    color: #1A1A1A;
}

.dropdown-link.active,
.dropdown-sublink.active {
    background: var(--accent-muted, rgba(16, 185, 129, 0.08));
    border-left: 2px solid var(--accent);
}

.dropdown-link.active .dropdown-info b,
.dropdown-sublink.active .dropdown-info b {
    color: var(--accent);
}

.menu-item.active > .menu-link {
    color: #fff;
    font-weight: 600;
}

.nav-container.is-scrolled .menu-item.active > .menu-link {
    color: #1A1A1A;
}

.dropdown-link.active,
.dropdown-sublink.active {
    background: var(--accent-muted, rgba(16, 185, 129, 0.08));
    border-left: 2px solid var(--accent);
}

.dropdown-link.active .dropdown-info b,
.dropdown-sublink.active .dropdown-info b {
    color: var(--accent);
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.96);
    min-width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.35s var(--bounce-easing) 0.15s,
        opacity 0.25s ease 0.15s,
        visibility 0.25s 0.15s;
}

.nav-container.is-scrolled .dropdown {
    background: #fff;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.menu-item:hover > .dropdown,
.dropdown-group:hover > .dropdown-submenu,
.dropdown-subitem:hover > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.menu-item:hover > .dropdown {
    transform: translateX(-50%) translateY(4px) scale(1);
    transition-delay: 0s;
}

/* 桥接 menu-item 和 dropdown 之间的间隙，防止鼠标移过去时断连 */
.dropdown::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.dropdown-link,
.dropdown-sublink {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #1A1A1A;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dropdown-link:hover,
.dropdown-sublink:hover,
.dropdown-group:hover > .dropdown-link,
.dropdown-subitem:hover > .dropdown-sublink {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(2px);
}

.dropdown-main {
    display: flex;
    gap: 12px;
}

.dropdown-main .icon {
    display: none;
}

.dropdown-info b {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
    color: #1A1A1A;
}

.dropdown-info span {
    display: block;
    font-size: 11px;
    color: #6B7280;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.dropdown-arrow {
    color: #9CA3AF;
    font-size: 11px;
    line-height: 1.6;
    padding-top: 2px;
    flex: 0 0 auto;
    transition: color 0.2s ease, transform 0.2s ease;
}

.dropdown-link:hover .dropdown-arrow,
.dropdown-sublink:hover .dropdown-arrow {
    color: var(--accent);
    transform: translateX(2px);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-sublink {
    cursor: pointer;
}

.dropdown-submenu > .dropdown-sublink::after {
    content: "▸";
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.dropdown-submenu:hover > .dropdown-sublink::after {
    transform: translateX(2px);
}

.dropdown-submenu-items {
    display: none;
    padding-left: 16px;
    margin-top: 4px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-submenu:hover > .dropdown-submenu-items {
    display: block;
}

.dropdown-sublink-item {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #1A1A1A;
    font-size: 13px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dropdown-sublink-item:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(2px);
}

.dropdown-sublink-item span {
    color: #6B7280;
    font-size: 12px;
}

.dropdown-sublink-item.active {
    background: rgba(16, 185, 129, 0.08);
    border-left: 2px solid var(--accent);
}

.dropdown-sublink-item.active span {
    color: var(--accent);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch,
.mobile-lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 26px 6px 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    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 1L5 5L9 1' stroke='rgba(255,255,255,0.7)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.lang-select:hover {
    border-color: #C4A77D;
    color: #C4A77D;
}

.nav-container.is-scrolled .lang-select {
    color: rgba(26, 26, 26, 0.7);
    border-color: rgba(0, 0, 0, 0.15);
    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 1L5 5L9 1' stroke='rgba(26,26,26,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav-container.is-scrolled .lang-select:hover {
    border-color: #C4A77D;
    color: #C4A77D;
    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 1L5 5L9 1' stroke='%23C4A77D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mobile-lang-switch .lang-select {
    color: rgba(26, 26, 26, 0.7);
    border-color: rgba(0, 0, 0, 0.15);
    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 1L5 5L9 1' stroke='rgba(26,26,26,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mobile-lang-switch .lang-select:hover {
    border-color: #C4A77D;
    color: #C4A77D;
    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 1L5 5L9 1' stroke='%23C4A77D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    border-radius: 999px;
    flex: 0 0 32px;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle span {
    position: absolute;
    left: 8px;
    width: 16px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    transition:
        transform 0.28s ease,
        top 0.28s ease,
        opacity 0.2s ease;
}

.nav-container.is-scrolled .menu-toggle span {
    background: #1A1A1A;
}

.menu-toggle span:nth-child(1) {
    top: 11px;
}

.menu-toggle span:nth-child(2) {
    top: 18px;
}

.nav-container.menu-open .menu-toggle span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.nav-container.menu-open .menu-toggle span:nth-child(2) {
    top: 15px;
    transform: rotate(-45deg);
}

/* ===== 非首页默认浅色导航栏 ===== */
/* 非首页默认透明背景 + 黑色文字 */
.nav-container.inner-page {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.nav-container.inner-page .menu-link {
    color: rgba(26, 26, 26, 0.9);
}

.nav-container.inner-page .menu-item:hover > .menu-link {
    color: #C4A77D;
}

.nav-container.inner-page .menu-item.active > .menu-link {
    color: #1A1A1A;
}

.nav-container.inner-page .lang-select {
    color: rgba(26, 26, 26, 0.7);
    border-color: rgba(0, 0, 0, 0.15);
    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 1L5 5L9 1' stroke='rgba(26,26,26,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav-container.inner-page .lang-select:hover {
    border-color: #C4A77D;
    color: #C4A77D;
    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 1L5 5L9 1' stroke='%23C4A77D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav-container.inner-page .menu-toggle span {
    background: #1A1A1A;
}

/* 非首页滚动后加白底 */
.nav-container.inner-page.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Mobile Drawer - Hidden by Default */
.mobile-drawer-overlay,
.mobile-drawer {
    display: none;
}

.hero {
    padding-top: 200px;
    text-align: center;
    background: linear-gradient(to bottom, var(--surface-elevate), var(--surface-page));
    min-height: 600px;
}

h1 {
    font-size: 56px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
}

/* =========================
   Mobile Drawer
========================= */
@media (max-width: 768px) {
    .nav-content {
        width: 92%;
        position: relative;
        z-index: 1002;
    }

    .nav-menu,
    .lang-switch {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Disable desktop hover menu on mobile */
    .dropdown,
    .dropdown-submenu {
        display: none !important;
    }

    .mobile-drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.28);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.28s ease,
            visibility 0.28s ease;
        z-index: 1100;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 380px);
        height: 100dvh;
        background: var(--surface-elevate);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.35s var(--spring-easing);
        z-index: 1101;
        overflow: hidden;
    }

    .nav-container.menu-open .mobile-drawer-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-container.menu-open .mobile-drawer {
        transform: translateX(0);
    }

    .mobile-drawer-header {
        height: 56px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        background: var(--surface-elevate);
    }

    .mobile-drawer-logo {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
    }

    .mobile-drawer-close {
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        border-radius: 999px;
        color: var(--text-main);
    }

    .mobile-drawer-close:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .mobile-drawer-body {
        height: calc(100dvh - 56px);
        overflow-y: auto;
        padding: 8px 16px 24px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-link-direct,
    .mobile-submenu-overview,
    .mobile-level-link {
        display: block;
        text-decoration: none;
        color: var(--text-main);
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 15px;
        line-height: 1.5;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .mobile-nav-link-direct {
        font-size: 17px;
        font-weight: 600;
    }

    .mobile-submenu-overview {
        color: var(--accent);
        font-weight: 600;
    }

    .mobile-level-link:hover {
        color: var(--accent);
        transform: translateX(4px);
    }

    .mobile-nav-group,
    .mobile-subgroup {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-nav-trigger,
    .mobile-subtrigger {
        width: 100%;
        border: none;
        background: transparent;
        padding: 15px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--text-main);
        font: inherit;
        cursor: pointer;
        text-align: left;
        gap: 12px;
        transition: color 0.2s ease;
    }

    .mobile-nav-trigger:hover,
    .mobile-subtrigger:hover {
        color: var(--accent);
    }

    .mobile-nav-trigger {
        font-size: 16px;
        font-weight: 600;
    }

    .mobile-subtrigger {
        font-size: 14px;
        font-weight: 500;
    }

    .mobile-nav-arrow {
        color: var(--text-muted);
        transition: transform 0.24s ease, color 0.2s ease;
        flex: 0 0 auto;
    }

    .mobile-nav-group.is-open > .mobile-nav-trigger .mobile-nav-arrow,
    .mobile-subgroup.is-open > .mobile-subtrigger .mobile-nav-arrow {
        color: var(--accent);
    }

    .mobile-nav-group.is-open > .mobile-nav-trigger .mobile-nav-arrow,
    .mobile-subgroup.is-open > .mobile-subtrigger .mobile-nav-arrow {
        transform: rotate(180deg);
    }

    .mobile-submenu,
    .mobile-submenu-level2,
    .mobile-submenu-items {
        display: none;
        padding-left: 12px;
    }

    .mobile-nav-group.is-open > .mobile-submenu,
    .mobile-subgroup.is-open > .mobile-submenu-level2,
    .mobile-subgroup.is-open > .mobile-submenu-items {
        display: block;
    }

    .mobile-submenu {
        padding-bottom: 8px;
    }

    .mobile-submenu-level2 {
        padding-left: 14px;
        padding-bottom: 6px;
    }

    .mobile-subgroup-level3 {
        padding-left: 8px;
    }

    .mobile-level-link-alone {
        padding-left: 0;
    }

    .mobile-lang-switch {
        margin-top: 16px;
        display: inline-flex;
        gap: 4px;
        padding: 4px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.05);
    }

    .hero {
        padding-top: 120px;
        min-height: 420px;
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 34px;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 15px;
    }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-spring),
    box-shadow var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary */
.btn--primary {
  background: var(--ink);
  color: var(--text-inverse);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--titan-800);
  border-color: var(--titan-800);
}

/* Secondary / Ghost */
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn--secondary:hover {
  background: var(--surface-inset);
  border-color: var(--titan-600);
}

/* Accent / Jewel */
.btn--accent {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Ghost (no border) */
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--surface-inset);
}

/* Large */
.btn--lg {
  font-size: var(--text-body);
  padding: var(--space-4) var(--space-8);
}

/* Small */
.btn--sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
}

/* Disabled */
.btn:disabled,
.btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Backward compat */
.page-cta,
.fairy_style-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  padding: var(--space-4) var(--space-8);
  background: var(--ink);
  color: var(--text-inverse);
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-spring),
    box-shadow var(--duration-fast) var(--ease-out);
}

.page-cta:hover,
.fairy_style-hero-cta:hover {
  background: var(--titan-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===== CARDS ===== */
.card {
  background: var(--surface-elevate);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-quint),
    box-shadow var(--duration-normal) var(--ease-quint);
}

/* Flat card */
.card--flat {
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.card--flat:hover {
  box-shadow: var(--shadow-sm);
}

/* Elevated card */
.card--elevated {
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.card--elevated:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Glass card */
.card--glass {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass), var(--shadow-md);
}

.card__inner {
  padding: var(--space-6);
}

/* ===== FORMS ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field__label {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--surface-elevate);
  border: 1.5px solid var(--border-default);
  border-radius: var(--border-radius-md);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring-focus);
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--text-muted);
}

.field__textarea {
  min-height: 120px;
  resize: vertical;
}

.field__error {
  font-size: var(--text-xs);
  color: #dc2626;
}

.field--error .field__input,
.field--error .field__textarea,
.field--error .field__select {
  border-color: #dc2626;
}
