.hero {
  margin-top: 0.3rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  line-height: 1.12;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 860px;
  margin: 0.8rem auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.upload-box {
  margin: 1.55rem auto 0;
  width: min(860px, 100%);
  background: var(--surface-soft);
  border: 2px dashed #dec27a;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem 1rem;
  text-align: center;
}

.upload-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.upload-icon svg {
  width: 24px;
  height: 24px;
}

.upload-title {
  margin: 0.1rem 0 0;
  font-weight: 800;
}

.upload-btn {
  margin-top: 0.7rem;
  display: inline-block;
  min-width: 210px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #2f2a1e;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.62rem 0.9rem;
  transition: filter 0.2s ease;
}

.upload-btn:hover {
  filter: brightness(0.95);
}

.upload-note {
  margin: 0.62rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.cloud-actions {
  margin: 0.55rem auto 0;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.cloud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #5f5338;
  border-radius: 8px;
  padding: 0.57rem 0.6rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cloud-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex-shrink: 0;
}

.cloud-icon svg {
  width: 100%;
  height: 100%;
}

.cloud-btn:hover {
  background: #f7edd1;
  border-color: #dfc885;
}

.stats {
  margin: 1.3rem auto 0;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat-item {
  text-align: center;
  background: #f7edd0;
  border: 1px solid #dcbf76;
  border-radius: 11px;
  padding: 0.65rem 0.7rem;
}

.stat-value {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
  color: #5a430f;
}

.stat-label {
  display: block;
  margin-top: 0.1rem;
  color: #7a6f54;
  font-size: 0.8rem;
}

.tools {
  margin: 0 0 1.8rem;
  display: flex;
  flex-direction: column;
}

.tool-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.62rem;
}

.tool-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.62rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  padding: 0.68rem;
  overflow: hidden;
  transform-origin: center;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover .tool-copy strong,
.tool-card:hover .tool-copy small,
.tool-card:focus-visible .tool-copy strong,
.tool-card:focus-visible .tool-copy small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.tool-icon {
  --icon-color: #2f7ae5;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--icon-color);
  border: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(30, 41, 59, 0.2);
}

.tool-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.tool-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 2px solid var(--icon-color);
  top: -6px;
  left: -6px;
  opacity: 0.5;
  background: transparent;
}

.tool-icon.icon-blue {
  --icon-color: #3b82f6;
}

.tool-icon.icon-cobalt {
  --icon-color: #2563eb;
}

.tool-icon.icon-cyan {
  --icon-color: #06b6d4;
}

.tool-icon.icon-green {
  --icon-color: #22c55e;
}

.tool-icon.icon-orange {
  --icon-color: #f97316;
}

.tool-icon.icon-red {
  --icon-color: #ef4444;
}

.tool-icon.icon-violet {
  --icon-color: #8b5cf6;
}

.tool-icon.icon-purple {
  --icon-color: #a855f7;
}

.tool-icon.icon-magenta {
  --icon-color: #d946ef;
}

.tool-icon.icon-slate {
  --icon-color: #64748b;
}

.tool-copy {
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
}

.tool-copy strong {
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-arrow {
  color: #9a8450;
  font-size: 1.25rem;
  margin-left: 0.2rem;
}

@media (max-width: 760px) {
  .cloud-actions {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-copy strong,
  .tool-copy small {
    white-space: normal;
  }

  .tool-copy strong {
    font-size: 0.9rem;
  }

  .tool-copy small {
    font-size: 0.79rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .tool-card:hover {
    transform: translateY(-1px) scale(1.018);
    border-color: #dabc6d;
    box-shadow: 0 10px 22px rgba(112, 89, 35, 0.12);
    z-index: 6;
  }
}

@media (hover: none), (pointer: coarse) {
  .tool-card:active {
    transform: translateY(-1px) scale(1.01);
    border-color: #dabc6d;
    box-shadow: 0 7px 16px rgba(112, 89, 35, 0.1);
  }
}

.module-loading {
  padding: 1.4rem 0.3rem;
  color: var(--muted);
  font-weight: 600;
}

.module-error {
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 1rem;
}

.module-error h1 {
  margin: 0;
  font-size: 1.1rem;
}

.module-error p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.module-contact {
  margin: 0.15rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-card {
  max-width: 680px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
}

.contact-card h1 {
  margin: 0;
  font-size: 1.3rem;
}

.contact-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.contact-card a {
  color: #5f470d;
  font-weight: 700;
}

.contact-card-kvkk {
  max-width: 860px;
}

.contact-card-kvkk h2 {
  margin: 0;
  font-size: 1.06rem;
}

.contact-card-head p {
  margin-top: 0.42rem;
}

.contact-summary-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.55rem;
}

.contact-summary-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0.72rem;
}

.contact-summary-item h3 {
  margin: 0;
  font-size: 0.92rem;
}

.contact-summary-item p {
  margin-top: 0.3rem;
  font-size: 0.83rem;
}

.contact-bullets {
  margin: 0.8rem 0 0;
  padding-left: 1.08rem;
  color: #6f6348;
}

.contact-bullets li + li {
  margin-top: 0.3rem;
}

.contact-mail-note {
  margin-top: 0.7rem;
}

.contact-mail-note a {
  white-space: nowrap;
}

.contact-card-legal-links {
  max-width: 860px;
}

.contact-legal-link-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.contact-legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0.68rem 0.72rem;
  color: #5a4d33;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-legal-link:hover {
  background: #f3e7c4;
  border-color: #dfc885;
  transform: translateY(-1px);
}

.contact-legal-link:focus-visible {
  outline: 2px solid #dcc27d;
  outline-offset: 2px;
}

.module-home {
  margin: 0.15rem 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.home-hero {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.25rem 1rem 1.1rem;
}

.home-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8e7542;
}

.home-hero-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 9px;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-btn-primary {
  background: var(--primary);
  border-color: #b78519;
  color: #2f2a1e;
}

.home-btn-primary:hover {
  background: #d8ab3f;
  border-color: #a9760c;
  transform: translateY(-1px);
}

.home-btn-secondary {
  background: var(--surface-soft);
  color: #5a4d33;
}

.home-btn-secondary:hover {
  background: #f3e7c4;
  border-color: #dfc885;
  transform: translateY(-1px);
}

.home-section {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
}

.home-section h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.home-section p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.home-section-head p {
  margin-top: 0.45rem;
}

.home-audience {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.home-audience-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0.68rem;
}

.home-audience-item h3 {
  margin: 0;
  font-size: 0.95rem;
}

.home-audience-item p {
  margin-top: 0.3rem;
  font-size: 0.84rem;
}

.home-plan-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.home-plan-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0.72rem;
}

.home-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.home-plan-top h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.home-tool-link {
  color: inherit;
  text-decoration: none;
}

.home-tool-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.home-tool-link:focus-visible {
  outline: 2px solid #dcc27d;
  outline-offset: 3px;
  border-radius: 4px;
}

.home-plan-card p {
  margin-top: 0.38rem;
  font-size: 0.84rem;
  line-height: 1.4;
}

.home-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}

.home-status.status-soon {
  background: #f6e6b9;
  border-color: #e2c779;
  color: #725812;
}

.home-status.status-progress {
  background: #ebd19b;
  border-color: #bf8a1a;
  color: #4d3501;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.home-status.status-progress::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #704b00;
  flex-shrink: 0;
}

.home-status.status-live {
  background: #d7f0e3;
  border-color: #88c4a4;
  color: #195739;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.home-status.status-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1f7a4c;
  flex-shrink: 0;
}

.home-status.status-planned {
  background: #f8efd6;
  border-color: #e0c887;
  color: #776235;
}

.home-principles {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.55rem;
}

.home-principle-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0.72rem;
}

.home-principle-card h3 {
  margin: 0;
  font-size: 0.92rem;
}

.home-principle-card p {
  margin-top: 0.3rem;
  font-size: 0.83rem;
}

.home-trust-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.home-trust-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0.72rem;
}

.home-trust-card h3 {
  margin: 0;
  font-size: 0.92rem;
}

.home-trust-card p {
  margin-top: 0.3rem;
  font-size: 0.83rem;
}

.home-trust-note {
  margin-top: 0.72rem;
  font-size: 0.84rem;
}

.home-inline-link {
  color: #5f470d;
  font-weight: 700;
}

.home-feedback {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
  text-align: center;
}

.home-feedback h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.home-feedback p {
  margin: 0.55rem auto 0;
  max-width: 720px;
  color: var(--muted);
}

.home-feedback .home-btn {
  margin-top: 0.8rem;
}

.home-footer {
  margin-top: 0.1rem;
  padding: 0.35rem 0.25rem 0;
  text-align: center;
}

.home-footer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.1rem;
  color: #75694f;
  font-size: 0.78rem;
}

.home-footer-link {
  color: #64563d;
  text-decoration: none;
  font-weight: 500;
}

.home-footer-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.home-footer-link:focus-visible {
  outline: 2px solid #dcc27d;
  outline-offset: 2px;
  border-radius: 4px;
}

.home-footer-link + .home-footer-link::before {
  content: "·";
  margin: 0 0.38rem 0 0.22rem;
  color: #96876a;
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  width: min(980px, calc(100% - 1.2rem));
  margin: 0 auto;
  padding: 0.85rem 0 2rem;
}

.legal-topbar {
  min-height: auto;
  padding: 0.35rem 0 0.8rem;
}

.legal-hero {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.15rem 1rem 1rem;
}

.legal-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8e7542;
}

.legal-hero h1 {
  margin: 0.3rem 0 0;
  line-height: 1.12;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.legal-intro {
  max-width: 760px;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.legal-meta {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0c887;
  border-radius: 999px;
  background: #f8efd6;
  color: #776235;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.62rem;
}

.legal-nav {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 9px;
  padding: 0.5rem 0.82rem;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--surface);
  color: #5a4d33;
  border: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.legal-nav-link:hover {
  background: #f3e7c4;
  border-color: #dfc885;
  transform: translateY(-1px);
}

.legal-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
}

.legal-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.legal-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.legal-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.08rem;
  color: #6f6348;
}

.legal-card li + li {
  margin-top: 0.34rem;
}

.legal-card a {
  color: #5f470d;
  font-weight: 700;
}

.legal-note {
  margin-top: 0.9rem;
  border: 1px solid #e0c887;
  border-radius: 12px;
  background: #f8efd6;
  padding: 0.85rem 0.92rem;
}

.legal-note p {
  margin: 0;
  color: #6a5630;
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .module-home {
    gap: 0.6rem;
  }

  .home-hero {
    padding: 0.85rem 0.72rem 0.82rem;
  }

  .home-hero-actions {
    margin-top: 0.75rem;
    gap: 0.45rem;
  }

  .home-section,
  .home-feedback {
    padding: 0.7rem 0.72rem;
  }

  .home-section p,
  .home-feedback p {
    margin-top: 0.45rem;
  }

  .home-audience,
  .home-plan-grid,
  .home-principles,
  .home-trust-grid,
  .contact-summary-grid,
  .contact-legal-link-grid {
    margin-top: 0.65rem;
    gap: 0.45rem;
  }

  .home-footer {
    padding-top: 0.2rem;
  }

  .home-footer-nav {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .home-plan-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-status {
    margin-top: 0.15rem;
  }

  .legal-shell {
    width: calc(100% - 1rem);
    padding-top: 0.6rem;
  }

  .legal-hero,
  .legal-card,
  .legal-note {
    padding: 0.82rem 0.78rem;
  }

  .legal-meta,
  .legal-nav {
    margin-top: 0.65rem;
  }
}

